pub struct BitField {
pub offset: u32,
pub size: u32,
}
Expand description
Represents a single field of bits within a u32 word.
Fields§
§offset: u32
Number of bits into the word that the field starts.
size: u32
Length in bits of the field.
Implementations§
Auto Trait Implementations§
impl Freeze for BitField
impl RefUnwindSafe for BitField
impl Send for BitField
impl Sync for BitField
impl Unpin for BitField
impl UnwindSafe for BitField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more