Expand description
The option of Parser::take_while.
Variants
One
Match once.
Range(usize, usize)
Match in range. Same as regex {a,b}.
Range(0, 1) is same as regex ?.
More(usize)
Match until mismatched.
More(0) is same as regex *, and More(1) is same as regex +.
Auto Trait Implementations
impl RefUnwindSafe for TakeOpt
impl Send for TakeOpt
impl Sync for TakeOpt
impl Unpin for TakeOpt
impl UnwindSafe for TakeOpt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more