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§
Source§impl Clone for VarSecInfo
impl Clone for VarSecInfo
Source§fn clone(&self) -> VarSecInfo
fn clone(&self) -> VarSecInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VarSecInfo
impl Debug for VarSecInfo
impl Copy for VarSecInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)