enum Prematch {
Glyphs(Lookahead),
TryAll,
End {
unsafe_to: usize,
},
Rejected,
}Expand description
What the pre-match found after the current glyph.
Variants§
Glyphs(Lookahead)
The rules are matched against these glyphs.
TryAll
A skippable glyph follows, so every rule must be tried in full.
End
Nothing follows; unsafe_to ends the range a match would depend on.
Rejected
The rule set digest rules out every rule.
Auto Trait Implementations§
impl Freeze for Prematch
impl RefUnwindSafe for Prematch
impl Send for Prematch
impl Sync for Prematch
impl Unpin for Prematch
impl UnsafeUnpin for Prematch
impl UnwindSafe for Prematch
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