pub enum TypeKind<'input> {
Void,
Base(BaseType<'input>),
Def(TypeDef<'input>),
Struct(StructType<'input>),
Union(UnionType<'input>),
Enumeration(EnumerationType<'input>),
Array(ArrayType<'input>),
Function(FunctionType<'input>),
Unspecified(UnspecifiedType<'input>),
PointerToMember(PointerToMemberType),
Modifier(TypeModifier<'input>),
Subrange(SubrangeType<'input>),
}
Expand description
The kind of a type.
Variants§
Void
The void type.
Base(BaseType<'input>)
A base type.
Def(TypeDef<'input>)
A type alias definition.
Struct(StructType<'input>)
A struct type.
Union(UnionType<'input>)
A union type.
Enumeration(EnumerationType<'input>)
An enumeration type.
Array(ArrayType<'input>)
A type for an array of elements.
Function(FunctionType<'input>)
A function type.
Unspecified(UnspecifiedType<'input>)
An unspecified type.
PointerToMember(PointerToMemberType)
The type of a pointer to a member.
Modifier(TypeModifier<'input>)
A type that is obtained by adding a modifier to another type.
Subrange(SubrangeType<'input>)
A subrange of another type.
Trait Implementations§
Auto Trait Implementations§
impl<'input> Freeze for TypeKind<'input>
impl<'input> RefUnwindSafe for TypeKind<'input>
impl<'input> Send for TypeKind<'input>
impl<'input> Sync for TypeKind<'input>
impl<'input> Unpin for TypeKind<'input>
impl<'input> UnwindSafe for TypeKind<'input>
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