Struct libbpf_rs::btf::types::CompositeMember
source · pub struct CompositeMember<'btf> {
pub name: Option<&'btf CStr>,
pub ty: TypeId,
pub attr: MemberAttr,
}
Expand description
A member of a Struct
Fields§
§name: Option<&'btf CStr>
The member’s name
ty: TypeId
The member’s type
attr: MemberAttr
If this member is a bifield, these are it’s attributes.
Trait Implementations§
Auto Trait Implementations§
impl<'btf> Freeze for CompositeMember<'btf>
impl<'btf> RefUnwindSafe for CompositeMember<'btf>
impl<'btf> Send for CompositeMember<'btf>
impl<'btf> Sync for CompositeMember<'btf>
impl<'btf> Unpin for CompositeMember<'btf>
impl<'btf> UnwindSafe for CompositeMember<'btf>
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