Enum cpp_demangle::ast::ArrayType
source · 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)
An array with no dimension.
Trait Implementations§
source§impl PartialEq<ArrayType> for ArrayType
impl PartialEq<ArrayType> for ArrayType
impl Eq for ArrayType
impl StructuralEq for ArrayType
impl StructuralPartialEq for ArrayType
Auto Trait Implementations§
impl RefUnwindSafe for ArrayType
impl Send for ArrayType
impl Sync for ArrayType
impl Unpin for ArrayType
impl UnwindSafe for ArrayType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more