pub enum CompilationUnitChildren<'tree> {
ExternAliasDirective(Box<ExternAliasDirective<'tree>>),
FileScopedNamespaceDeclaration(Box<FileScopedNamespaceDeclaration<'tree>>),
GlobalAttribute(Box<GlobalAttribute<'tree>>),
GlobalStatement(Box<GlobalStatement<'tree>>),
NamespaceDeclaration(Box<NamespaceDeclaration<'tree>>),
PreprocIf(Box<PreprocIf<'tree>>),
ShebangDirective(Box<ShebangDirective<'tree>>),
TypeDeclaration(Box<TypeDeclaration<'tree>>),
UsingDirective(Box<UsingDirective<'tree>>),
}Variants§
ExternAliasDirective(Box<ExternAliasDirective<'tree>>)
FileScopedNamespaceDeclaration(Box<FileScopedNamespaceDeclaration<'tree>>)
GlobalAttribute(Box<GlobalAttribute<'tree>>)
GlobalStatement(Box<GlobalStatement<'tree>>)
NamespaceDeclaration(Box<NamespaceDeclaration<'tree>>)
PreprocIf(Box<PreprocIf<'tree>>)
ShebangDirective(Box<ShebangDirective<'tree>>)
TypeDeclaration(Box<TypeDeclaration<'tree>>)
UsingDirective(Box<UsingDirective<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for CompilationUnitChildren<'tree>
impl<'tree> Clone for CompilationUnitChildren<'tree>
Source§fn clone(&self) -> CompilationUnitChildren<'tree>
fn clone(&self) -> CompilationUnitChildren<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompilationUnitChildren<'tree>
impl<'tree> Debug for CompilationUnitChildren<'tree>
impl<'tree> Eq for CompilationUnitChildren<'tree>
Source§impl<'tree> FromNode<'tree> for CompilationUnitChildren<'tree>
impl<'tree> FromNode<'tree> for CompilationUnitChildren<'tree>
Source§impl<'tree> PartialEq for CompilationUnitChildren<'tree>
impl<'tree> PartialEq for CompilationUnitChildren<'tree>
Source§impl Spanned for CompilationUnitChildren<'_>
impl Spanned for CompilationUnitChildren<'_>
impl<'tree> StructuralPartialEq for CompilationUnitChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for CompilationUnitChildren<'tree>
impl<'tree> RefUnwindSafe for CompilationUnitChildren<'tree>
impl<'tree> Send for CompilationUnitChildren<'tree>
impl<'tree> Sync for CompilationUnitChildren<'tree>
impl<'tree> Unpin for CompilationUnitChildren<'tree>
impl<'tree> UnsafeUnpin for CompilationUnitChildren<'tree>
impl<'tree> UnwindSafe for CompilationUnitChildren<'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