pub struct Int { /* private fields */ }Expand description
Rust representation for BTF type BTF_KIND_INT.
Implementations§
Trait Implementations§
Source§impl BtfType for Int
impl BtfType for Int
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 Int
impl StructuralPartialEq for Int
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnsafeUnpin for Int
impl UnwindSafe for Int
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