Struct libbpf_rs::btf::types::StructMember
source · pub struct StructMember<'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
The attributes of this member.
Trait Implementations§
Auto Trait Implementations§
impl<'btf> Freeze for StructMember<'btf>
impl<'btf> RefUnwindSafe for StructMember<'btf>
impl<'btf> Send for StructMember<'btf>
impl<'btf> Sync for StructMember<'btf>
impl<'btf> Unpin for StructMember<'btf>
impl<'btf> UnwindSafe for StructMember<'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