pub struct ModuleDeclaration<'tree> {
pub span: Span,
pub body: ModuleBody<'tree>,
pub name: ModuleDeclarationName<'tree>,
pub children: Vec<ModuleDeclarationChildren<'tree>>,
}Fields§
§span: Span§body: ModuleBody<'tree>§name: ModuleDeclarationName<'tree>§children: Vec<ModuleDeclarationChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for ModuleDeclaration<'tree>
impl<'tree> Clone for ModuleDeclaration<'tree>
Source§fn clone(&self) -> ModuleDeclaration<'tree>
fn clone(&self) -> ModuleDeclaration<'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 ModuleDeclaration<'tree>
impl<'tree> Debug for ModuleDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for ModuleDeclaration<'tree>
impl<'tree> FromNode<'tree> for ModuleDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ModuleDeclaration<'tree>
impl<'tree> RefUnwindSafe for ModuleDeclaration<'tree>
impl<'tree> Send for ModuleDeclaration<'tree>
impl<'tree> Sync for ModuleDeclaration<'tree>
impl<'tree> Unpin for ModuleDeclaration<'tree>
impl<'tree> UnsafeUnpin for ModuleDeclaration<'tree>
impl<'tree> UnwindSafe for ModuleDeclaration<'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