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