pub enum Type {
Show 20 variants
Void,
Int(Int),
Ptr(Ptr),
Array(Array),
Struct(Struct),
Union(Union),
Enum(Enum),
Fwd(Fwd),
Typedef(Typedef),
Volatile(Volatile),
Const(Const),
Restrict(Restrict),
Func(Func),
FuncProto(FuncProto),
Var(Var),
Datasec(Datasec),
Float(Float),
DeclTag(DeclTag),
TypeTag(TypeTag),
Enum64(Enum64),
}
Expand description
Rust representation of BTF types. Each type then contains its own specific data and provides helpers to access it.
Variants§
Void
Int(Int)
Ptr(Ptr)
Array(Array)
Struct(Struct)
Union(Union)
Enum(Enum)
Fwd(Fwd)
Typedef(Typedef)
Volatile(Volatile)
Const(Const)
Restrict(Restrict)
Func(Func)
FuncProto(FuncProto)
Var(Var)
Datasec(Datasec)
Float(Float)
DeclTag(DeclTag)
TypeTag(TypeTag)
Enum64(Enum64)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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