[][src]Enum cpp_demangle::ast::ArrayType

pub enum ArrayType {
    DimensionNumber(usizeTypeHandle),
    DimensionExpression(ExpressionTypeHandle),
    NoDimension(TypeHandle),
}

The <array-type> production.

<array-type> ::= A <positive dimension number> _ <element type>
             ::= A [<dimension expression>] _ <element type>

Variants

DimensionNumber(usizeTypeHandle)

An array with a number-literal dimension.

DimensionExpression(ExpressionTypeHandle)

An array with an expression for its dimension.

NoDimension(TypeHandle)

An array with no dimension.

Trait Implementations

impl Clone for ArrayType[src]

impl Debug for ArrayType[src]

impl Eq for ArrayType[src]

impl PartialEq<ArrayType> for ArrayType[src]

impl StructuralEq for ArrayType[src]

impl StructuralPartialEq for ArrayType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.