Struct TypeGeneric
pub comptime struct TypeGeneric
{ /* private fields */ }
Implementations
impl TypeGeneric
pub comptime fn typ(self) -> Type
The generic's type variable.
pub comptime fn numeric_type(self) -> Option<Type>
If this generic is numeric, the numeric type; otherwise None.
A generic parameter of a
TypeDefinition, returned fromTypeDefinition::generics.