Enum cpp_demangle::ast::ArrayType
[−]
[src]
pub enum ArrayType { DimensionNumber(usize, TypeHandle), DimensionExpression(Expression, TypeHandle), NoDimension(TypeHandle), }
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)
An array with no dimension.
Trait Implementations
impl Clone for ArrayType
[src]
fn clone(&self) -> ArrayType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ArrayType
[src]
impl PartialEq for ArrayType
[src]
fn eq(&self, __arg_0: &ArrayType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ArrayType) -> bool
This method tests for !=
.