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]
impl Clone for ArrayTypefn clone(&self) -> ArrayType[src]
fn clone(&self) -> ArrayTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ArrayType[src]
impl Debug for ArrayTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ArrayType[src]
impl PartialEq for ArrayTypefn eq(&self, other: &ArrayType) -> bool[src]
fn eq(&self, other: &ArrayType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ArrayType) -> bool[src]
fn ne(&self, other: &ArrayType) -> boolThis method tests for !=.
impl Eq for ArrayType[src]
impl Eq for ArrayType