pub struct Bits {
pub at: u64,
pub width: u64,
}Expand description
Which bits of a record a bit-field member is.
Fields§
§at: u64How far into the record the first bit is, in bits from the start of it.
Bits from the start of the whole record and not from the start of some storage unit, which
is what DW_AT_data_bit_offset means and is the one of DWARF’s two spellings that does not
depend on the reader working out which unit was meant or which way round the target is.
width: u64How many bits it is, which is the width the program wrote.
Trait Implementations§
impl Copy for Bits
impl Eq for Bits
impl StructuralPartialEq for Bits
Auto Trait Implementations§
impl Freeze for Bits
impl RefUnwindSafe for Bits
impl Send for Bits
impl Sync for Bits
impl Unpin for Bits
impl UnsafeUnpin for Bits
impl UnwindSafe for Bits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.