pub struct Enum {
pub members: Vec<EnumMember>,
/* private fields */
}
Expand description
Rust representation for BTF type BTF_KIND_ENUM
.
Fields§
§members: Vec<EnumMember>
Implementations§
Trait Implementations§
Source§impl BtfType for Enum
impl BtfType for Enum
fn get_name_offset(&self) -> Result<u32>
fn get_type_id(&self) -> Result<u32>
Auto Trait Implementations§
impl Freeze for Enum
impl RefUnwindSafe for Enum
impl Send for Enum
impl Sync for Enum
impl Unpin for Enum
impl UnwindSafe for Enum
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