pub enum Pattern {
Variable(Box<PatternVariable>),
Asterisk(Box<Symbol>),
ConstantExpression(Box<ConstantExpression>),
Tagged(Box<PatternTagged>),
List(Box<PatternList>),
IdentifierList(Box<PatternIdentifierList>),
}Variants
Variable(Box<PatternVariable>)
Asterisk(Box<Symbol>)
ConstantExpression(Box<ConstantExpression>)
Tagged(Box<PatternTagged>)
List(Box<PatternList>)
IdentifierList(Box<PatternIdentifierList>)
Trait Implementations
sourceimpl<'a> IntoIterator for &'a Pattern
impl<'a> IntoIterator for &'a Pattern
impl StructuralPartialEq for Pattern
Auto Trait Implementations
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnwindSafe for Pattern
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