pub enum TranslationUnitChildren<'tree> {
Show 25 variants
AttributedStatement(Box<AttributedStatement<'tree>>),
BreakStatement(Box<BreakStatement<'tree>>),
CaseStatement(Box<CaseStatement<'tree>>),
CompoundStatement(Box<CompoundStatement<'tree>>),
ContinueStatement(Box<ContinueStatement<'tree>>),
Declaration(Box<Declaration<'tree>>),
DoStatement(Box<DoStatement<'tree>>),
ExpressionStatement(Box<ExpressionStatement<'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>>),
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>>),
SwitchStatement(Box<SwitchStatement<'tree>>),
TypeDefinition(Box<TypeDefinition<'tree>>),
TypeSpecifier(Box<TypeSpecifier<'tree>>),
WhileStatement(Box<WhileStatement<'tree>>),
}Variants§
AttributedStatement(Box<AttributedStatement<'tree>>)
BreakStatement(Box<BreakStatement<'tree>>)
CaseStatement(Box<CaseStatement<'tree>>)
CompoundStatement(Box<CompoundStatement<'tree>>)
ContinueStatement(Box<ContinueStatement<'tree>>)
Declaration(Box<Declaration<'tree>>)
DoStatement(Box<DoStatement<'tree>>)
ExpressionStatement(Box<ExpressionStatement<'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>>)
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>>)
SwitchStatement(Box<SwitchStatement<'tree>>)
TypeDefinition(Box<TypeDefinition<'tree>>)
TypeSpecifier(Box<TypeSpecifier<'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>
Source§impl<'tree> PartialEq for TranslationUnitChildren<'tree>
impl<'tree> PartialEq for TranslationUnitChildren<'tree>
Source§fn eq(&self, other: &TranslationUnitChildren<'tree>) -> bool
fn eq(&self, other: &TranslationUnitChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for TranslationUnitChildren<'_>
impl Spanned for TranslationUnitChildren<'_>
impl<'tree> Eq for TranslationUnitChildren<'tree>
impl<'tree> StructuralPartialEq 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