pub enum BitFieldOffset {
Absolute(i64),
Multiplied(i64),
}Expand description
Offset format used by BITFIELD subcommands.
Variants§
Absolute(i64)
Absolute bit offset (e.g. 0).
Multiplied(i64)
Type-scaled offset (e.g. #2 multiplies by type width).
Trait Implementations§
Source§impl Clone for BitFieldOffset
impl Clone for BitFieldOffset
Source§fn clone(&self) -> BitFieldOffset
fn clone(&self) -> BitFieldOffset
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 BitFieldOffset
impl Debug for BitFieldOffset
Source§impl PartialEq for BitFieldOffset
impl PartialEq for BitFieldOffset
impl Copy for BitFieldOffset
impl Eq for BitFieldOffset
impl StructuralPartialEq for BitFieldOffset
Auto Trait Implementations§
impl Freeze for BitFieldOffset
impl RefUnwindSafe for BitFieldOffset
impl Send for BitFieldOffset
impl Sync for BitFieldOffset
impl Unpin for BitFieldOffset
impl UnsafeUnpin for BitFieldOffset
impl UnwindSafe for BitFieldOffset
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