pub enum DeclarationListChildren<'tree> {
ConstDeclaration(Box<ConstDeclaration<'tree>>),
MethodDeclaration(Box<MethodDeclaration<'tree>>),
PropertyDeclaration(Box<PropertyDeclaration<'tree>>),
UseDeclaration(Box<UseDeclaration<'tree>>),
}Variants§
ConstDeclaration(Box<ConstDeclaration<'tree>>)
MethodDeclaration(Box<MethodDeclaration<'tree>>)
PropertyDeclaration(Box<PropertyDeclaration<'tree>>)
UseDeclaration(Box<UseDeclaration<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for DeclarationListChildren<'tree>
impl<'tree> Clone for DeclarationListChildren<'tree>
Source§fn clone(&self) -> DeclarationListChildren<'tree>
fn clone(&self) -> DeclarationListChildren<'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 DeclarationListChildren<'tree>
impl<'tree> Debug for DeclarationListChildren<'tree>
Source§impl<'tree> FromNode<'tree> for DeclarationListChildren<'tree>
impl<'tree> FromNode<'tree> for DeclarationListChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for DeclarationListChildren<'tree>
impl<'tree> RefUnwindSafe for DeclarationListChildren<'tree>
impl<'tree> Send for DeclarationListChildren<'tree>
impl<'tree> Sync for DeclarationListChildren<'tree>
impl<'tree> Unpin for DeclarationListChildren<'tree>
impl<'tree> UnsafeUnpin for DeclarationListChildren<'tree>
impl<'tree> UnwindSafe for DeclarationListChildren<'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