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