pub enum AbstractTypeTrait<'tree> {
BoundedType(Box<BoundedType<'tree>>),
FunctionType(Box<FunctionType<'tree>>),
GenericType(Box<GenericType<'tree>>),
RemovedTraitBound(Box<RemovedTraitBound<'tree>>),
ScopedTypeIdentifier(Box<ScopedTypeIdentifier<'tree>>),
TupleType(Box<TupleType<'tree>>),
TypeIdentifier(Box<TypeIdentifier<'tree>>),
}Variants§
BoundedType(Box<BoundedType<'tree>>)
FunctionType(Box<FunctionType<'tree>>)
GenericType(Box<GenericType<'tree>>)
RemovedTraitBound(Box<RemovedTraitBound<'tree>>)
ScopedTypeIdentifier(Box<ScopedTypeIdentifier<'tree>>)
TupleType(Box<TupleType<'tree>>)
TypeIdentifier(Box<TypeIdentifier<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for AbstractTypeTrait<'tree>
impl<'tree> Clone for AbstractTypeTrait<'tree>
Source§fn clone(&self) -> AbstractTypeTrait<'tree>
fn clone(&self) -> AbstractTypeTrait<'tree>
Returns a duplicate 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<'tree> Debug for AbstractTypeTrait<'tree>
impl<'tree> Debug for AbstractTypeTrait<'tree>
Source§impl<'tree> FromNode<'tree> for AbstractTypeTrait<'tree>
impl<'tree> FromNode<'tree> for AbstractTypeTrait<'tree>
Source§impl<'tree> PartialEq for AbstractTypeTrait<'tree>
impl<'tree> PartialEq for AbstractTypeTrait<'tree>
Source§impl Spanned for AbstractTypeTrait<'_>
impl Spanned for AbstractTypeTrait<'_>
impl<'tree> Eq for AbstractTypeTrait<'tree>
impl<'tree> StructuralPartialEq for AbstractTypeTrait<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for AbstractTypeTrait<'tree>
impl<'tree> RefUnwindSafe for AbstractTypeTrait<'tree>
impl<'tree> Send for AbstractTypeTrait<'tree>
impl<'tree> Sync for AbstractTypeTrait<'tree>
impl<'tree> Unpin for AbstractTypeTrait<'tree>
impl<'tree> UnsafeUnpin for AbstractTypeTrait<'tree>
impl<'tree> UnwindSafe for AbstractTypeTrait<'tree>
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