pub enum VariablePattern {
Binary(Pattern<2>),
Ternary(Pattern<3>),
Quaternary(Pattern<4>),
Quinary(Pattern<5>),
Senary(Pattern<6>),
}Expand description
Represents a pattern with a variable number of chunks.
Variants§
Binary(Pattern<2>)
Pattern with 2 chunks.
Ternary(Pattern<3>)
Pattern with 3 chunks.
Quaternary(Pattern<4>)
Pattern with 4 chunks.
Quinary(Pattern<5>)
Pattern with 5 chunks.
Senary(Pattern<6>)
Pattern with 6 chunks.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VariablePattern
impl RefUnwindSafe for VariablePattern
impl Send for VariablePattern
impl Sync for VariablePattern
impl Unpin for VariablePattern
impl UnwindSafe for VariablePattern
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