pub enum Pattern<'a> {
Show 13 variants
Record(&'a PRecord, Row, Col),
Tuple(&'a PTuple<'a>, Row, Col),
List(&'a PList<'a>, Row, Col),
Start(Row, Col),
Char(Char, Row, Col),
String(StringError, Row, Col),
Number(Number, Row, Col),
Float(u16, Row, Col),
Alias(Row, Col),
WildcardNotVar(&'a str, i32, Row, Col),
Space(Space, Row, Col),
IndentStart(Row, Col),
IndentAlias(Row, Col),
}Variants§
Record(&'a PRecord, Row, Col)
Tuple(&'a PTuple<'a>, Row, Col)
List(&'a PList<'a>, Row, Col)
Start(Row, Col)
Char(Char, Row, Col)
String(StringError, Row, Col)
Number(Number, Row, Col)
Float(u16, Row, Col)
Alias(Row, Col)
WildcardNotVar(&'a str, i32, Row, Col)
Space(Space, Row, Col)
IndentStart(Row, Col)
IndentAlias(Row, Col)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Pattern<'a>
impl<'a> RefUnwindSafe for Pattern<'a>
impl<'a> Send for Pattern<'a>
impl<'a> Sync for Pattern<'a>
impl<'a> Unpin for Pattern<'a>
impl<'a> UnsafeUnpin for Pattern<'a>
impl<'a> UnwindSafe for Pattern<'a>
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