pub struct DeclTag { /* private fields */ }Expand description
Rust representation for BTF type BTF_KIND_DECL_TAG.
Implementations§
Source§impl DeclTag
impl DeclTag
pub fn component_index(&self) -> Option<u32>
pub fn is_attribute(&self) -> bool
Trait Implementations§
Source§impl BtfType for DeclTag
impl BtfType for DeclTag
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 DeclTag
impl StructuralPartialEq for DeclTag
Auto Trait Implementations§
impl Freeze for DeclTag
impl RefUnwindSafe for DeclTag
impl Send for DeclTag
impl Sync for DeclTag
impl Unpin for DeclTag
impl UnsafeUnpin for DeclTag
impl UnwindSafe for DeclTag
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