Enum cpp_demangle::ast::VectorType
source · pub enum VectorType {
DimensionNumber(usize, TypeHandle),
DimensionExpression(Expression, TypeHandle),
}
Expand description
The <vector-type>
production.
<vector-type> ::= Dv <number> _ <type>
::= Dv <expression> _ <type>
Variants§
DimensionNumber(usize, TypeHandle)
An vector with a number-literal dimension.
DimensionExpression(Expression, TypeHandle)
An vector with an expression for its dimension.
Trait Implementations§
source§impl Clone for VectorType
impl Clone for VectorType
source§fn clone(&self) -> VectorType
fn clone(&self) -> VectorType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more