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