pub enum AssignmentPattern {
List(Box<AssignmentPatternList>),
Structure(Box<AssignmentPatternStructure>),
Array(Box<AssignmentPatternArray>),
Repeat(Box<AssignmentPatternRepeat>),
}Variants
List(Box<AssignmentPatternList>)
Structure(Box<AssignmentPatternStructure>)
Array(Box<AssignmentPatternArray>)
Repeat(Box<AssignmentPatternRepeat>)
Trait Implementations
sourceimpl Clone for AssignmentPattern
impl Clone for AssignmentPattern
sourcefn clone(&self) -> AssignmentPattern
fn clone(&self) -> AssignmentPattern
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AssignmentPattern
impl Debug for AssignmentPattern
sourceimpl<'a> From<&'a AssignmentPattern> for RefNodes<'a>
impl<'a> From<&'a AssignmentPattern> for RefNodes<'a>
sourcefn from(x: &'a AssignmentPattern) -> Self
fn from(x: &'a AssignmentPattern) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a AssignmentPattern> for RefNode<'a>
impl<'a> From<&'a AssignmentPattern> for RefNode<'a>
sourcefn from(x: &'a AssignmentPattern) -> Self
fn from(x: &'a AssignmentPattern) -> Self
Converts to this type from the input type.
sourceimpl From<AssignmentPattern> for AnyNode
impl From<AssignmentPattern> for AnyNode
sourcefn from(x: AssignmentPattern) -> Self
fn from(x: AssignmentPattern) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a AssignmentPattern
impl<'a> IntoIterator for &'a AssignmentPattern
sourceimpl PartialEq<AssignmentPattern> for AssignmentPattern
impl PartialEq<AssignmentPattern> for AssignmentPattern
sourcefn eq(&self, other: &AssignmentPattern) -> bool
fn eq(&self, other: &AssignmentPattern) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AssignmentPattern) -> bool
fn ne(&self, other: &AssignmentPattern) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a AssignmentPattern> for Locate
impl<'a> TryFrom<&'a AssignmentPattern> for Locate
sourceimpl TryFrom<AnyNode> for AssignmentPattern
impl TryFrom<AnyNode> for AssignmentPattern
sourceimpl TryFrom<AssignmentPattern> for Locate
impl TryFrom<AssignmentPattern> for Locate
impl StructuralPartialEq for AssignmentPattern
Auto Trait Implementations
impl RefUnwindSafe for AssignmentPattern
impl Send for AssignmentPattern
impl Sync for AssignmentPattern
impl Unpin for AssignmentPattern
impl UnwindSafe for AssignmentPattern
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more