pub enum DeclarationsChildren<'tree> {
Declaration(Box<Declaration<'tree>>),
Import(Box<Import<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for DeclarationsChildren<'tree>
impl<'tree> Clone for DeclarationsChildren<'tree>
Source§fn clone(&self) -> DeclarationsChildren<'tree>
fn clone(&self) -> DeclarationsChildren<'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 DeclarationsChildren<'tree>
impl<'tree> Debug for DeclarationsChildren<'tree>
impl<'tree> Eq for DeclarationsChildren<'tree>
Source§impl<'tree> FromNode<'tree> for DeclarationsChildren<'tree>
impl<'tree> FromNode<'tree> for DeclarationsChildren<'tree>
Source§impl<'tree> PartialEq for DeclarationsChildren<'tree>
impl<'tree> PartialEq for DeclarationsChildren<'tree>
Source§impl Spanned for DeclarationsChildren<'_>
impl Spanned for DeclarationsChildren<'_>
impl<'tree> StructuralPartialEq for DeclarationsChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for DeclarationsChildren<'tree>
impl<'tree> RefUnwindSafe for DeclarationsChildren<'tree>
impl<'tree> Send for DeclarationsChildren<'tree>
impl<'tree> Sync for DeclarationsChildren<'tree>
impl<'tree> Unpin for DeclarationsChildren<'tree>
impl<'tree> UnsafeUnpin for DeclarationsChildren<'tree>
impl<'tree> UnwindSafe for DeclarationsChildren<'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