pub enum PatternCell {
El(Expr),
Dots,
}Expand description
One cell of a pattern matrix: a concrete element, or an ellipsis (its direction is inferred from the neighbours when writing back).
Variants§
Trait Implementations§
Source§impl Clone for PatternCell
impl Clone for PatternCell
Source§impl Debug for PatternCell
impl Debug for PatternCell
Source§impl PartialEq for PatternCell
impl PartialEq for PatternCell
impl StructuralPartialEq for PatternCell
Auto Trait Implementations§
impl Forget for PatternCell
impl Freeze for PatternCell
impl Move for PatternCell
impl RefUnwindSafe for PatternCell
impl Send for PatternCell
impl Sync for PatternCell
impl Unpin for PatternCell
impl UnsafeUnpin for PatternCell
impl UnwindSafe for PatternCell
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