pub enum FieldValue {
U8(u8),
U16(u16),
U32(u32),
U64(u64),
Nested(Box<BitfieldValue>),
}Expand description
Represents a value stored in a bitfield field.
Variants§
U8(u8)
8-bit unsigned integer value
U16(u16)
16-bit unsigned integer value
U32(u32)
32-bit unsigned integer value
U64(u64)
64-bit unsigned integer value
Nested(Box<BitfieldValue>)
Nested bitfield structure value
Implementations§
Source§impl FieldValue
impl FieldValue
Trait Implementations§
Source§impl Clone for FieldValue
impl Clone for FieldValue
Source§fn clone(&self) -> FieldValue
fn clone(&self) -> FieldValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldValue
impl Debug for FieldValue
Source§impl PartialEq for FieldValue
impl PartialEq for FieldValue
impl StructuralPartialEq for FieldValue
Auto Trait Implementations§
impl Freeze for FieldValue
impl RefUnwindSafe for FieldValue
impl Send for FieldValue
impl Sync for FieldValue
impl Unpin for FieldValue
impl UnwindSafe for FieldValue
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