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 for Decltype
impl PartialEq for Decltype
impl Eq for Decltype
impl StructuralPartialEq for Decltype
Auto Trait Implementations§
impl Freeze for Decltype
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
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
)