Enum cpp_demangle::ast::ExprPrimary [−][src]
The <expr-primary> production.
<expr-primary> ::= L <type> <value number> E # integer literal
::= L <type> <value float> E # floating literal
::= L <string type> E # string literal
::= L <nullptr type> E # nullptr literal (i.e., "LDnE")
::= L <pointer type> 0 E # null pointer template argument
::= L <type> <real-part float> _ <imag-part float> E # complex floating point literal (C 2000)
::= L <mangled-name> E # external name
Variants
Literal(TypeHandle, usize, usize)A type literal.
External(MangledName)An external name.
Trait Implementations
impl Clone for ExprPrimary[src]
fn clone(&self) -> ExprPrimary[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ExprPrimary[src]
impl Eq for ExprPrimary[src]
impl PartialEq<ExprPrimary> for ExprPrimary[src]
fn eq(&self, other: &ExprPrimary) -> bool[src]
fn ne(&self, other: &ExprPrimary) -> bool[src]
impl StructuralEq for ExprPrimary[src]
impl StructuralPartialEq for ExprPrimary[src]
Auto Trait Implementations
impl RefUnwindSafe for ExprPrimary
impl Send for ExprPrimary
impl Sync for ExprPrimary
impl Unpin for ExprPrimary
impl UnwindSafe for ExprPrimary
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,