pub enum TypeParametersChildren<'tree> {
AttributeItem(Box<AttributeItem<'tree>>),
ConstParameter(Box<ConstParameter<'tree>>),
LifetimeParameter(Box<LifetimeParameter<'tree>>),
Metavariable(Box<Metavariable<'tree>>),
TypeParameter(Box<TypeParameter<'tree>>),
}Variants§
AttributeItem(Box<AttributeItem<'tree>>)
ConstParameter(Box<ConstParameter<'tree>>)
LifetimeParameter(Box<LifetimeParameter<'tree>>)
Metavariable(Box<Metavariable<'tree>>)
TypeParameter(Box<TypeParameter<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for TypeParametersChildren<'tree>
impl<'tree> Clone for TypeParametersChildren<'tree>
Source§fn clone(&self) -> TypeParametersChildren<'tree>
fn clone(&self) -> TypeParametersChildren<'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 TypeParametersChildren<'tree>
impl<'tree> Debug for TypeParametersChildren<'tree>
Source§impl<'tree> FromNode<'tree> for TypeParametersChildren<'tree>
impl<'tree> FromNode<'tree> for TypeParametersChildren<'tree>
Source§impl<'tree> PartialEq for TypeParametersChildren<'tree>
impl<'tree> PartialEq for TypeParametersChildren<'tree>
Source§fn eq(&self, other: &TypeParametersChildren<'tree>) -> bool
fn eq(&self, other: &TypeParametersChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for TypeParametersChildren<'_>
impl Spanned for TypeParametersChildren<'_>
impl<'tree> Eq for TypeParametersChildren<'tree>
impl<'tree> StructuralPartialEq for TypeParametersChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TypeParametersChildren<'tree>
impl<'tree> RefUnwindSafe for TypeParametersChildren<'tree>
impl<'tree> Send for TypeParametersChildren<'tree>
impl<'tree> Sync for TypeParametersChildren<'tree>
impl<'tree> Unpin for TypeParametersChildren<'tree>
impl<'tree> UnsafeUnpin for TypeParametersChildren<'tree>
impl<'tree> UnwindSafe for TypeParametersChildren<'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