struct Lookahead {
first: usize,
unsafe_to1: usize,
second: Option<usize>,
unsafe_to2: usize,
}Expand description
The glyphs after the current one that rules are pre-matched against.
Fields§
§first: usizeThe glyph after the current one, and the end of the range a failed match on it makes unsafe to concatenate.
unsafe_to1: usize§second: Option<usize>The glyph after that, if there is one.
unsafe_to2: usizeAuto Trait Implementations§
impl Freeze for Lookahead
impl RefUnwindSafe for Lookahead
impl Send for Lookahead
impl Sync for Lookahead
impl Unpin for Lookahead
impl UnsafeUnpin for Lookahead
impl UnwindSafe for Lookahead
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