Enum cpp_demangle::ast::UnresolvedType
source · [−]pub enum UnresolvedType {
Template(TemplateParam, Option<TemplateArgs>),
Decltype(Decltype),
}
Expand description
The <unresolved-type>
production.
<unresolved-type> ::= <template-param> [ <template-args> ] # T:: or T<X,Y>::
::= <decltype> # decltype(p)::
::= <substitution>
Variants
Template(TemplateParam, Option<TemplateArgs>)
An unresolved template type.
Decltype(Decltype)
An unresolved decltype
.
Trait Implementations
sourceimpl Clone for UnresolvedType
impl Clone for UnresolvedType
sourcefn clone(&self) -> UnresolvedType
fn clone(&self) -> UnresolvedType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnresolvedType
impl Debug for UnresolvedType
sourceimpl PartialEq<UnresolvedType> for UnresolvedType
impl PartialEq<UnresolvedType> for UnresolvedType
sourcefn eq(&self, other: &UnresolvedType) -> bool
fn eq(&self, other: &UnresolvedType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UnresolvedType) -> bool
fn ne(&self, other: &UnresolvedType) -> bool
This method tests for !=
.
impl Eq for UnresolvedType
impl StructuralEq for UnresolvedType
impl StructuralPartialEq for UnresolvedType
Auto Trait Implementations
impl RefUnwindSafe for UnresolvedType
impl Send for UnresolvedType
impl Sync for UnresolvedType
impl Unpin for UnresolvedType
impl UnwindSafe for UnresolvedType
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