Struct ArrayType
pub comptime struct ArrayType
{ /* private fields */ }
Implementations
impl ArrayType
pub comptime fn element_type(self) -> Type
The type of each element the array holds.
pub comptime fn length_type(self) -> Type
The type describing the array's length (a numeric-constant type).
An array type decomposed by
Type::as_arrayinto its element and length components.