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 ArrayType
fn clone(&self) -> ArrayType
[src]
fn clone(&self) -> ArrayType
Returns 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 ArrayType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ArrayType
[src]
impl PartialEq for ArrayType
fn eq(&self, other: &ArrayType) -> bool
[src]
fn eq(&self, other: &ArrayType) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for ArrayType
[src]
impl Eq for ArrayType