pub enum Type {
Container(Box<ContainerType>),
Enum(EnumType),
Bitfield(BitfieldType),
Scalar(ScalarType),
Array(Box<ArrayType>),
Foreign(Arc<ForeignType>),
F32,
F64,
Bool,
Ref(TypeRef),
}
Variants§
Container(Box<ContainerType>)
Enum(EnumType)
Bitfield(BitfieldType)
Scalar(ScalarType)
Array(Box<ArrayType>)
Foreign(Arc<ForeignType>)
F32
F64
Bool
Ref(TypeRef)
Implementations§
Trait Implementations§
Source§impl Into<PartialType> for Type
impl Into<PartialType> for Type
Source§fn into(self) -> PartialType
fn into(self) -> PartialType
Converts this type into the (usually inferred) input type.
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