pub struct Enum { /* private fields */ }Expand description
Represents a Enum type.
Implementations§
Source§impl Enum
impl Enum
Sourcepub fn new(
reader: &mut Reader<'_>,
file_header: &FileHeader,
type_header: Header,
) -> BTFResult<Self>
pub fn new( reader: &mut Reader<'_>, file_header: &FileHeader, type_header: Header, ) -> BTFResult<Self>
Creates a new $name object
Sourcepub fn named_value_list(&self) -> &NamedValue32List
pub fn named_value_list(&self) -> &NamedValue32List
Returns the $data_name field of the type
Trait Implementations§
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