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§
source§impl Clone for UnresolvedType
impl Clone for UnresolvedType
source§fn clone(&self) -> UnresolvedType
fn clone(&self) -> UnresolvedType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnresolvedType
impl Debug for UnresolvedType
source§impl PartialEq for UnresolvedType
impl PartialEq for UnresolvedType
source§fn 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 ==
.impl Eq for UnresolvedType
impl StructuralPartialEq for UnresolvedType
Auto Trait Implementations§
impl Freeze for UnresolvedType
impl RefUnwindSafe for UnresolvedType
impl Send for UnresolvedType
impl Sync for UnresolvedType
impl Unpin for UnresolvedType
impl UnwindSafe for UnresolvedType
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
)