pub struct NamespaceDeclaration<'tree> {
pub span: Span,
pub body: DeclarationList<'tree>,
pub name: NamespaceDeclarationName<'tree>,
}Fields§
§span: Span§body: DeclarationList<'tree>§name: NamespaceDeclarationName<'tree>Trait Implementations§
Source§impl<'tree> Clone for NamespaceDeclaration<'tree>
impl<'tree> Clone for NamespaceDeclaration<'tree>
Source§fn clone(&self) -> NamespaceDeclaration<'tree>
fn clone(&self) -> NamespaceDeclaration<'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 NamespaceDeclaration<'tree>
impl<'tree> Debug for NamespaceDeclaration<'tree>
impl<'tree> Eq for NamespaceDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for NamespaceDeclaration<'tree>
impl<'tree> FromNode<'tree> for NamespaceDeclaration<'tree>
Source§impl<'tree> PartialEq for NamespaceDeclaration<'tree>
impl<'tree> PartialEq for NamespaceDeclaration<'tree>
Source§impl Spanned for NamespaceDeclaration<'_>
impl Spanned for NamespaceDeclaration<'_>
impl<'tree> StructuralPartialEq for NamespaceDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for NamespaceDeclaration<'tree>
impl<'tree> RefUnwindSafe for NamespaceDeclaration<'tree>
impl<'tree> Send for NamespaceDeclaration<'tree>
impl<'tree> Sync for NamespaceDeclaration<'tree>
impl<'tree> Unpin for NamespaceDeclaration<'tree>
impl<'tree> UnsafeUnpin for NamespaceDeclaration<'tree>
impl<'tree> UnwindSafe for NamespaceDeclaration<'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