pub struct Member {
pub name: Option<String>,
pub ty: usize,
pub at: u64,
pub bits: Option<Bits>,
}Expand description
One member of a record.
Fields§
§name: Option<String>Its name, absent for an anonymous struct or union member and for an unnamed bit-field.
ty: usizeWhich of the unit’s types it is.
at: u64How far into the record it starts, in bytes. Meaningless for a bit-field, which says where
it is in Member::bits instead.
bits: Option<Bits>Which bits it is, for a bit-field, and None for an ordinary member.
Trait Implementations§
impl Eq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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.