Struct DataType
pub comptime struct DataType
{ /* private fields */ }
Implementations
impl DataType
pub comptime fn definition(self) -> TypeDefinition
The TypeDefinition for this type.
pub comptime fn generics(self) -> [Type]
The concrete generic arguments applied to the definition, in source order.
A struct or enum type decomposed by
Type::as_data_typeinto itsTypeDefinitionand its concrete generic arguments.