pub enum Kind {
Show 19 variants
Int = 1,
Ptr = 2,
Array = 3,
Struct = 4,
Union = 5,
Enum = 6,
Fwd = 7,
Typedef = 8,
Volatile = 9,
Const = 10,
Restrict = 11,
Func = 12,
FuncProto = 13,
Var = 14,
DataSec = 15,
Float = 16,
DeclTag = 17,
TypeTag = 18,
Enum64 = 19,
}Expand description
A BTF type kind
Variants§
Int = 1
Integer
Ptr = 2
Pointer
Array = 3
Array
Struct = 4
Struct
Union = 5
Union
Enum = 6
Enumeration up to 32-bit values
Fwd = 7
Forward
Typedef = 8
Typedef
Volatile = 9
Volatile
Const = 10
Const
Restrict = 11
Restrict
Func = 12
Function
FuncProto = 13
Function Prototype
Var = 14
Variable
DataSec = 15
Section
Float = 16
Floating point
DeclTag = 17
Decl Tag
TypeTag = 18
Type Tag
Enum64 = 19
Enumeration up to 64-bit values
Implementations§
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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