pub struct BitfieldDescriptor {
pub name: String,
pub offset: u32,
pub width: u32,
}Expand description
A descriptor for a bit-field: its name, offset and width within a word.
Fields§
§name: StringName of the bit-field.
offset: u32Bit offset within the containing word.
width: u32Width in bits.
Implementations§
Auto Trait Implementations§
impl Freeze for BitfieldDescriptor
impl RefUnwindSafe for BitfieldDescriptor
impl Send for BitfieldDescriptor
impl Sync for BitfieldDescriptor
impl Unpin for BitfieldDescriptor
impl UnsafeUnpin for BitfieldDescriptor
impl UnwindSafe for BitfieldDescriptor
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