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 Hash for ArrayType
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
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 !=
.