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 for ArrayType
impl PartialEq for ArrayType
impl Eq for ArrayType
impl StructuralPartialEq for ArrayType
Auto Trait Implementations§
impl Freeze for ArrayType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)