Enum cpp_demangle::ast::Decltype
source · pub enum Decltype {
IdExpression(Expression),
Expression(Expression),
}
Expand description
The <decltype>
production.
<decltype> ::= Dt <expression> E
::= DT <expression> E
Variants§
IdExpression(Expression)
A decltype
of an id-expression or class member access (C++0x).
Expression(Expression)
A decltype
of an expression (C++0x).
Trait Implementations§
source§impl PartialEq<Decltype> for Decltype
impl PartialEq<Decltype> for Decltype
impl Eq for Decltype
impl StructuralEq for Decltype
impl StructuralPartialEq for Decltype
Auto Trait Implementations§
impl RefUnwindSafe for Decltype
impl Send for Decltype
impl Sync for Decltype
impl Unpin for Decltype
impl UnwindSafe for Decltype
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