pub struct Datasec {
pub variables: Vec<VarSecinfo>,
/* private fields */
}Expand description
Rust representation for BTF type BTF_KIND_DATASEC.
Fields§
§variables: Vec<VarSecinfo>Implementations§
Trait Implementations§
Source§impl BtfType for Datasec
impl BtfType for Datasec
Source§fn get_name_offset(&self) -> Option<u32>
fn get_name_offset(&self) -> Option<u32>
Returns the offset of the string associated with the type, if any.
Source§fn get_type_id(&self) -> Option<u32>
fn get_type_id(&self) -> Option<u32>
Returns the type id associated with the current type, if any.
impl Eq for Datasec
impl StructuralPartialEq for Datasec
Auto Trait Implementations§
impl Freeze for Datasec
impl RefUnwindSafe for Datasec
impl Send for Datasec
impl Sync for Datasec
impl Unpin for Datasec
impl UnsafeUnpin for Datasec
impl UnwindSafe for Datasec
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