pub enum TemplateDeclarationChildren<'tree> {
AliasDeclaration(Box<AliasDeclaration<'tree>>),
ConceptDefinition(Box<ConceptDefinition<'tree>>),
Declaration(Box<Declaration<'tree>>),
FriendDeclaration(Box<FriendDeclaration<'tree>>),
FunctionDefinition(Box<FunctionDefinition<'tree>>),
RequiresClause(Box<RequiresClause<'tree>>),
TemplateDeclaration(Box<TemplateDeclaration<'tree>>),
TypeSpecifier(Box<TypeSpecifier<'tree>>),
}Variants§
AliasDeclaration(Box<AliasDeclaration<'tree>>)
ConceptDefinition(Box<ConceptDefinition<'tree>>)
Declaration(Box<Declaration<'tree>>)
FriendDeclaration(Box<FriendDeclaration<'tree>>)
FunctionDefinition(Box<FunctionDefinition<'tree>>)
RequiresClause(Box<RequiresClause<'tree>>)
TemplateDeclaration(Box<TemplateDeclaration<'tree>>)
TypeSpecifier(Box<TypeSpecifier<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for TemplateDeclarationChildren<'tree>
impl<'tree> Clone for TemplateDeclarationChildren<'tree>
Source§fn clone(&self) -> TemplateDeclarationChildren<'tree>
fn clone(&self) -> TemplateDeclarationChildren<'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 TemplateDeclarationChildren<'tree>
impl<'tree> Debug for TemplateDeclarationChildren<'tree>
Source§impl<'tree> FromNode<'tree> for TemplateDeclarationChildren<'tree>
impl<'tree> FromNode<'tree> for TemplateDeclarationChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TemplateDeclarationChildren<'tree>
impl<'tree> RefUnwindSafe for TemplateDeclarationChildren<'tree>
impl<'tree> Send for TemplateDeclarationChildren<'tree>
impl<'tree> Sync for TemplateDeclarationChildren<'tree>
impl<'tree> Unpin for TemplateDeclarationChildren<'tree>
impl<'tree> UnsafeUnpin for TemplateDeclarationChildren<'tree>
impl<'tree> UnwindSafe for TemplateDeclarationChildren<'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