Struct libbpf_rs::btf::types::VarSecInfo
source · pub struct VarSecInfo {
pub ty: TypeId,
pub offset: u32,
pub size: usize,
}Expand description
Describes the btf var in a section.
See DataSec.
Fields§
§ty: TypeIdThe type id of the var
offset: u32The offset in the section
size: usizeThe size of the type.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VarSecInfo
impl Send for VarSecInfo
impl Sync for VarSecInfo
impl Unpin for VarSecInfo
impl UnwindSafe for VarSecInfo
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