pub enum DestructorName {
Unresolved(UnresolvedTypeHandle),
Name(SimpleId),
}
Expand description
The <destructor-name>
production.
<destructor-name> ::= <unresolved-type> # e.g., ~T or ~decltype(f())
::= <simple-id> # e.g., ~A<2*N>
Variants§
Unresolved(UnresolvedTypeHandle)
A destructor for an unresolved type.
Name(SimpleId)
A destructor for a resolved type name.
Trait Implementations§
Source§impl Clone for DestructorName
impl Clone for DestructorName
Source§fn clone(&self) -> DestructorName
fn clone(&self) -> DestructorName
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 DestructorName
impl Debug for DestructorName
Source§impl PartialEq for DestructorName
impl PartialEq for DestructorName
impl Eq for DestructorName
impl StructuralPartialEq for DestructorName
Auto Trait Implementations§
impl Freeze for DestructorName
impl RefUnwindSafe for DestructorName
impl Send for DestructorName
impl Sync for DestructorName
impl Unpin for DestructorName
impl UnwindSafe for DestructorName
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