Struct libbpf_rs::btf::types::UnionMember
source · pub struct UnionMember<'btf> {
pub name: Option<&'btf CStr>,
pub ty: TypeId,
pub attr: MemberAttr,
}
Expand description
A member of an Union
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 UnionMember<'btf>
impl<'btf> RefUnwindSafe for UnionMember<'btf>
impl<'btf> Send for UnionMember<'btf>
impl<'btf> Sync for UnionMember<'btf>
impl<'btf> Unpin for UnionMember<'btf>
impl<'btf> UnwindSafe for UnionMember<'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