Re-exported from core::cursor.
Text cursors for incremental parsing.
Types
Cursor | A position in text, for reading it from front to back. |
Functions
skip_while_go | The first position from p on in v whose byte pred rejects, or the end. |
Function declarations
fn skip_while_gosource
forall 'k, C where ReadBytes[C, Str['k]].
fn skip_while_go(&cx: C, v: Str['k], p: usize, pred: fn(u8) -> bool) -> usize { ... }
The first position from p on in v whose byte pred rejects, or the end. Used by Cursor::skip_while and take_while; not meant for direct use.