Struct bpf_script::Enum
source · Expand description
Represents the physical properties of an enum type.
Fields
bits: u32
The number of bits representing each value.
values: Vec<(String, i64)>
An array holding a type of (name, value) for each enum value.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Enum
impl Send for Enum
impl Sync for Enum
impl Unpin for Enum
impl UnwindSafe for Enum
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more