#[non_exhaustive]
pub enum TypeData<'t> {
Show 22 variants
Primitive(PrimitiveType),
Class(ClassType<'t>),
Member(MemberType<'t>),
MemberFunction(MemberFunctionType),
OverloadedMethod(OverloadedMethodType<'t>),
Method(MethodType<'t>),
StaticMember(StaticMemberType<'t>),
Nested(NestedType<'t>),
BaseClass(BaseClassType),
VirtualBaseClass(VirtualBaseClassType),
VirtualFunctionTablePointer(VirtualFunctionTablePointerType),
Procedure(ProcedureType),
Pointer(PointerType),
Modifier(ModifierType),
Enumeration(EnumerationType<'t>),
Enumerate(EnumerateType<'t>),
Array(ArrayType),
Union(UnionType<'t>),
Bitfield(BitfieldType),
FieldList(FieldList<'t>),
ArgumentList(ArgumentList),
MethodList(MethodList),
}
Expand description
Encapsulates parsed data about a Type
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Primitive(PrimitiveType)
Class(ClassType<'t>)
Member(MemberType<'t>)
MemberFunction(MemberFunctionType)
OverloadedMethod(OverloadedMethodType<'t>)
Method(MethodType<'t>)
StaticMember(StaticMemberType<'t>)
Nested(NestedType<'t>)
BaseClass(BaseClassType)
VirtualBaseClass(VirtualBaseClassType)
VirtualFunctionTablePointer(VirtualFunctionTablePointerType)
Procedure(ProcedureType)
Pointer(PointerType)
Modifier(ModifierType)
Enumeration(EnumerationType<'t>)
Enumerate(EnumerateType<'t>)
Array(ArrayType)
Union(UnionType<'t>)
Bitfield(BitfieldType)
FieldList(FieldList<'t>)
ArgumentList(ArgumentList)
MethodList(MethodList)
Implementations
Trait Implementations
impl<'t> Eq for TypeData<'t>
impl<'t> StructuralEq for TypeData<'t>
impl<'t> StructuralPartialEq for TypeData<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for TypeData<'t>
impl<'t> Send for TypeData<'t>
impl<'t> Sync for TypeData<'t>
impl<'t> Unpin for TypeData<'t>
impl<'t> UnwindSafe for TypeData<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more