pub enum PatternElement {
Variable(VariableRef),
VariableWithFieldIndex(VariableRef, usize),
Wildcard(Node),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PatternElement
impl !RefUnwindSafe for PatternElement
impl !Send for PatternElement
impl !Sync for PatternElement
impl Unpin for PatternElement
impl !UnwindSafe for PatternElement
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