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§
source§impl Clone for AssignmentPattern
impl Clone for AssignmentPattern
source§fn clone(&self) -> AssignmentPattern
fn clone(&self) -> AssignmentPattern
Returns a copy 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 Debug for AssignmentPattern
impl Debug for AssignmentPattern
source§impl<'a> From<&'a AssignmentPattern> for RefNode<'a>
impl<'a> From<&'a AssignmentPattern> for RefNode<'a>
source§fn from(x: &'a AssignmentPattern) -> Self
fn from(x: &'a AssignmentPattern) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a AssignmentPattern> for RefNodes<'a>
impl<'a> From<&'a AssignmentPattern> for RefNodes<'a>
source§fn from(x: &'a AssignmentPattern) -> Self
fn from(x: &'a AssignmentPattern) -> Self
Converts to this type from the input type.
source§impl From<AssignmentPattern> for AnyNode
impl From<AssignmentPattern> for AnyNode
source§fn from(x: AssignmentPattern) -> Self
fn from(x: AssignmentPattern) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a AssignmentPattern
impl<'a> IntoIterator for &'a AssignmentPattern
source§impl PartialEq for AssignmentPattern
impl PartialEq for AssignmentPattern
source§fn 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 ==
.source§impl<'a> TryFrom<&'a AssignmentPattern> for Locate
impl<'a> TryFrom<&'a AssignmentPattern> for Locate
source§impl TryFrom<AnyNode> for AssignmentPattern
impl TryFrom<AnyNode> for AssignmentPattern
source§impl 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§
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