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