pub enum GenericPatternChildren<'tree> {
Identifier(Box<Identifier<'tree>>),
ScopedIdentifier(Box<ScopedIdentifier<'tree>>),
}Variants§
Identifier(Box<Identifier<'tree>>)
ScopedIdentifier(Box<ScopedIdentifier<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for GenericPatternChildren<'tree>
impl<'tree> Clone for GenericPatternChildren<'tree>
Source§fn clone(&self) -> GenericPatternChildren<'tree>
fn clone(&self) -> GenericPatternChildren<'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 GenericPatternChildren<'tree>
impl<'tree> Debug for GenericPatternChildren<'tree>
Source§impl<'tree> FromNode<'tree> for GenericPatternChildren<'tree>
impl<'tree> FromNode<'tree> for GenericPatternChildren<'tree>
Source§impl<'tree> PartialEq for GenericPatternChildren<'tree>
impl<'tree> PartialEq for GenericPatternChildren<'tree>
Source§fn eq(&self, other: &GenericPatternChildren<'tree>) -> bool
fn eq(&self, other: &GenericPatternChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for GenericPatternChildren<'_>
impl Spanned for GenericPatternChildren<'_>
impl<'tree> Eq for GenericPatternChildren<'tree>
impl<'tree> StructuralPartialEq for GenericPatternChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for GenericPatternChildren<'tree>
impl<'tree> RefUnwindSafe for GenericPatternChildren<'tree>
impl<'tree> Send for GenericPatternChildren<'tree>
impl<'tree> Sync for GenericPatternChildren<'tree>
impl<'tree> Unpin for GenericPatternChildren<'tree>
impl<'tree> UnsafeUnpin for GenericPatternChildren<'tree>
impl<'tree> UnwindSafe for GenericPatternChildren<'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