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: TypeId
The type id of the var
offset: u32
The offset in the section
size: usize
The size of the type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VarSecInfo
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