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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more