Expand description
Define an alias for an existing type.
The syntax is type Name = ExistingType;.
§Examples
type does not create a new type:
A type can be generic:
In traits, type is used to declare an associated type:
Define an alias for an existing type.
The syntax is type Name = ExistingType;.
type does not create a new type:
A type can be generic:
In traits, type is used to declare an associated type: