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