pub struct BitField {
pub name: String,
pub bits: usize,
pub field_type: FieldType,
}Expand description
Represents a field in a bitfield structure.
Fields§
§name: StringThe name of the field.
bits: usizeThe number of bits for this field.
field_type: FieldTypeThe type of the field.
Implementations§
Trait Implementations§
impl Eq for BitField
impl StructuralPartialEq for BitField
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