pub enum DynamicTypeTrait<'tree> {
FunctionType(Box<FunctionType<'tree>>),
GenericType(Box<GenericType<'tree>>),
HigherRankedTraitBound(Box<HigherRankedTraitBound<'tree>>),
ScopedTypeIdentifier(Box<ScopedTypeIdentifier<'tree>>),
TupleType(Box<TupleType<'tree>>),
TypeIdentifier(Box<TypeIdentifier<'tree>>),
}Variants§
FunctionType(Box<FunctionType<'tree>>)
GenericType(Box<GenericType<'tree>>)
HigherRankedTraitBound(Box<HigherRankedTraitBound<'tree>>)
ScopedTypeIdentifier(Box<ScopedTypeIdentifier<'tree>>)
TupleType(Box<TupleType<'tree>>)
TypeIdentifier(Box<TypeIdentifier<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for DynamicTypeTrait<'tree>
impl<'tree> Clone for DynamicTypeTrait<'tree>
Source§fn clone(&self) -> DynamicTypeTrait<'tree>
fn clone(&self) -> DynamicTypeTrait<'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 DynamicTypeTrait<'tree>
impl<'tree> Debug for DynamicTypeTrait<'tree>
Source§impl<'tree> FromNode<'tree> for DynamicTypeTrait<'tree>
impl<'tree> FromNode<'tree> for DynamicTypeTrait<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for DynamicTypeTrait<'tree>
impl<'tree> RefUnwindSafe for DynamicTypeTrait<'tree>
impl<'tree> Send for DynamicTypeTrait<'tree>
impl<'tree> Sync for DynamicTypeTrait<'tree>
impl<'tree> Unpin for DynamicTypeTrait<'tree>
impl<'tree> UnsafeUnpin for DynamicTypeTrait<'tree>
impl<'tree> UnwindSafe for DynamicTypeTrait<'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