pub struct Ptr { /* private fields */ }
Expand description
Rust representation for BTF type BTF_KIND_PTR
.
Trait Implementations§
Source§impl BtfType for Ptr
impl BtfType for Ptr
fn get_type_id(&self) -> Result<u32>
fn get_name_offset(&self) -> Result<u32>
Auto Trait Implementations§
impl Freeze for Ptr
impl RefUnwindSafe for Ptr
impl Send for Ptr
impl Sync for Ptr
impl Unpin for Ptr
impl UnwindSafe for Ptr
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