pub struct Member { /* private fields */ }Expand description
Represents a Struct member.
Implementations§
Source§impl Member
impl Member
pub fn bit_offset(&self) -> u32
pub fn bitfield_size(&self) -> Option<u32>
Trait Implementations§
Source§impl BtfType for Member
impl BtfType for Member
Source§fn get_name_offset(&self) -> Option<u32>
fn get_name_offset(&self) -> Option<u32>
Returns the offset of the string associated with the type, if any.
Source§fn get_type_id(&self) -> Option<u32>
fn get_type_id(&self) -> Option<u32>
Returns the type id associated with the current type, if any.
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