pub enum TranslationUnitChildren<'tree> {
Show 38 variants
AliasDeclaration(Box<AliasDeclaration<'tree>>),
AttributedStatement(Box<AttributedStatement<'tree>>),
BreakStatement(Box<BreakStatement<'tree>>),
CaseStatement(Box<CaseStatement<'tree>>),
CoReturnStatement(Box<CoReturnStatement<'tree>>),
CoYieldStatement(Box<CoYieldStatement<'tree>>),
CompoundStatement(Box<CompoundStatement<'tree>>),
ConceptDefinition(Box<ConceptDefinition<'tree>>),
ContinueStatement(Box<ContinueStatement<'tree>>),
Declaration(Box<Declaration<'tree>>),
DoStatement(Box<DoStatement<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'tree>>),
ForRangeLoop(Box<ForRangeLoop<'tree>>),
ForStatement(Box<ForStatement<'tree>>),
FunctionDefinition(Box<FunctionDefinition<'tree>>),
GotoStatement(Box<GotoStatement<'tree>>),
IfStatement(Box<IfStatement<'tree>>),
LabeledStatement(Box<LabeledStatement<'tree>>),
LinkageSpecification(Box<LinkageSpecification<'tree>>),
NamespaceAliasDefinition(Box<NamespaceAliasDefinition<'tree>>),
NamespaceDefinition(Box<NamespaceDefinition<'tree>>),
PreprocCall(Box<PreprocCall<'tree>>),
PreprocDef(Box<PreprocDef<'tree>>),
PreprocFunctionDef(Box<PreprocFunctionDef<'tree>>),
PreprocIf(Box<PreprocIf<'tree>>),
PreprocIfdef(Box<PreprocIfdef<'tree>>),
PreprocInclude(Box<PreprocInclude<'tree>>),
ReturnStatement(Box<ReturnStatement<'tree>>),
StaticAssertDeclaration(Box<StaticAssertDeclaration<'tree>>),
SwitchStatement(Box<SwitchStatement<'tree>>),
TemplateDeclaration(Box<TemplateDeclaration<'tree>>),
TemplateInstantiation(Box<TemplateInstantiation<'tree>>),
ThrowStatement(Box<ThrowStatement<'tree>>),
TryStatement(Box<TryStatement<'tree>>),
TypeDefinition(Box<TypeDefinition<'tree>>),
TypeSpecifier(Box<TypeSpecifier<'tree>>),
UsingDeclaration(Box<UsingDeclaration<'tree>>),
WhileStatement(Box<WhileStatement<'tree>>),
}Variants§
AliasDeclaration(Box<AliasDeclaration<'tree>>)
AttributedStatement(Box<AttributedStatement<'tree>>)
BreakStatement(Box<BreakStatement<'tree>>)
CaseStatement(Box<CaseStatement<'tree>>)
CoReturnStatement(Box<CoReturnStatement<'tree>>)
CoYieldStatement(Box<CoYieldStatement<'tree>>)
CompoundStatement(Box<CompoundStatement<'tree>>)
ConceptDefinition(Box<ConceptDefinition<'tree>>)
ContinueStatement(Box<ContinueStatement<'tree>>)
Declaration(Box<Declaration<'tree>>)
DoStatement(Box<DoStatement<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'tree>>)
ForRangeLoop(Box<ForRangeLoop<'tree>>)
ForStatement(Box<ForStatement<'tree>>)
FunctionDefinition(Box<FunctionDefinition<'tree>>)
GotoStatement(Box<GotoStatement<'tree>>)
IfStatement(Box<IfStatement<'tree>>)
LabeledStatement(Box<LabeledStatement<'tree>>)
LinkageSpecification(Box<LinkageSpecification<'tree>>)
NamespaceAliasDefinition(Box<NamespaceAliasDefinition<'tree>>)
NamespaceDefinition(Box<NamespaceDefinition<'tree>>)
PreprocCall(Box<PreprocCall<'tree>>)
PreprocDef(Box<PreprocDef<'tree>>)
PreprocFunctionDef(Box<PreprocFunctionDef<'tree>>)
PreprocIf(Box<PreprocIf<'tree>>)
PreprocIfdef(Box<PreprocIfdef<'tree>>)
PreprocInclude(Box<PreprocInclude<'tree>>)
ReturnStatement(Box<ReturnStatement<'tree>>)
StaticAssertDeclaration(Box<StaticAssertDeclaration<'tree>>)
SwitchStatement(Box<SwitchStatement<'tree>>)
TemplateDeclaration(Box<TemplateDeclaration<'tree>>)
TemplateInstantiation(Box<TemplateInstantiation<'tree>>)
ThrowStatement(Box<ThrowStatement<'tree>>)
TryStatement(Box<TryStatement<'tree>>)
TypeDefinition(Box<TypeDefinition<'tree>>)
TypeSpecifier(Box<TypeSpecifier<'tree>>)
UsingDeclaration(Box<UsingDeclaration<'tree>>)
WhileStatement(Box<WhileStatement<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for TranslationUnitChildren<'tree>
impl<'tree> Clone for TranslationUnitChildren<'tree>
Source§fn clone(&self) -> TranslationUnitChildren<'tree>
fn clone(&self) -> TranslationUnitChildren<'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 TranslationUnitChildren<'tree>
impl<'tree> Debug for TranslationUnitChildren<'tree>
Source§impl<'tree> FromNode<'tree> for TranslationUnitChildren<'tree>
impl<'tree> FromNode<'tree> for TranslationUnitChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TranslationUnitChildren<'tree>
impl<'tree> RefUnwindSafe for TranslationUnitChildren<'tree>
impl<'tree> Send for TranslationUnitChildren<'tree>
impl<'tree> Sync for TranslationUnitChildren<'tree>
impl<'tree> Unpin for TranslationUnitChildren<'tree>
impl<'tree> UnsafeUnpin for TranslationUnitChildren<'tree>
impl<'tree> UnwindSafe for TranslationUnitChildren<'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