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