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
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