For the complete documentation index, see llms.txt.
aztec-nr - std::meta::typ

Struct DataType

pub comptime struct DataType
{ /* private fields */ }

A struct or enum type decomposed by Type::as_data_type into its TypeDefinition and its concrete generic arguments.

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.