Enum cpp_demangle::ast::ArrayType [−][src]
pub enum ArrayType {
DimensionNumber(usize, TypeHandle),
DimensionExpression(Expression, TypeHandle),
NoDimension(TypeHandle),
}
Expand description
The <array-type>
production.
<array-type> ::= A <positive dimension number> _ <element type>
::= A [<dimension expression>] _ <element type>
Variants
DimensionNumber(usize, TypeHandle)
An array with a number-literal dimension.
DimensionExpression(Expression, TypeHandle)
An array with an expression for its dimension.
NoDimension(TypeHandle)
Tuple Fields
0: TypeHandle
An array with no dimension.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ArrayType
impl UnwindSafe for ArrayType
Blanket Implementations
Mutably borrows from an owned value. Read more