Struct libbpf_rs::btf::types::Enum64Member
source · pub struct Enum64Member<'btf> {
pub name: Option<&'btf CStr>,
pub value: u64,
}
Expand description
A member of an Enum64.
Fields§
§name: Option<&'btf CStr>
The name of this enum variant.
value: u64
The numeric value of this enum variant.
Trait Implementations§
Auto Trait Implementations§
impl<'btf> Freeze for Enum64Member<'btf>
impl<'btf> RefUnwindSafe for Enum64Member<'btf>
impl<'btf> Send for Enum64Member<'btf>
impl<'btf> Sync for Enum64Member<'btf>
impl<'btf> Unpin for Enum64Member<'btf>
impl<'btf> UnwindSafe for Enum64Member<'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