#[repr(u8)]pub enum PatOp {
Show 27 variants
End = 0,
ExcSync = 1,
ExcEnd = 2,
Back = 3,
Exactly = 4,
Nothing = 5,
OneHash = 6,
TwoHash = 7,
GFlags = 8,
IsStart = 9,
IsEnd = 10,
CountStart = 11,
Count = 12,
Branch = 32,
WBranch = 33,
Exclude = 48,
ExcludP = 49,
Any = 64,
AnyOf = 65,
AnyBut = 66,
Star = 67,
NumRng = 68,
NumFrom = 69,
NumTo = 70,
NumAny = 71,
Open = 128,
Close = 144,
}Expand description
Pattern opcodes - matching zsh’s P_* constants
Variants§
End = 0
ExcSync = 1
ExcEnd = 2
Back = 3
Exactly = 4
Nothing = 5
OneHash = 6
TwoHash = 7
GFlags = 8
IsStart = 9
IsEnd = 10
CountStart = 11
Count = 12
Branch = 32
WBranch = 33
Exclude = 48
ExcludP = 49
Any = 64
AnyOf = 65
AnyBut = 66
Star = 67
NumRng = 68
NumFrom = 69
NumTo = 70
NumAny = 71
Open = 128
Close = 144
Trait Implementations§
impl Copy for PatOp
impl Eq for PatOp
impl StructuralPartialEq for PatOp
Auto Trait Implementations§
impl Freeze for PatOp
impl RefUnwindSafe for PatOp
impl Send for PatOp
impl Sync for PatOp
impl Unpin for PatOp
impl UnsafeUnpin for PatOp
impl UnwindSafe for PatOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more