pub struct Whitespace;Trait Implementations§
Source§impl Clone for Whitespace
impl Clone for Whitespace
Source§fn clone(&self) -> Whitespace
fn clone(&self) -> Whitespace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Whitespace
Source§impl Debug for Whitespace
impl Debug for Whitespace
Source§impl<'input, T> Tokenizer<'input, T> for Whitespace
impl<'input, T> Tokenizer<'input, T> for Whitespace
Auto Trait Implementations§
impl Freeze for Whitespace
impl RefUnwindSafe for Whitespace
impl Send for Whitespace
impl Sync for Whitespace
impl Unpin for Whitespace
impl UnsafeUnpin for Whitespace
impl UnwindSafe for Whitespace
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<'input, T, B> TokenizerExt<'input, B> for T
impl<'input, T, B> TokenizerExt<'input, B> for T
Source§fn map_ok<F, U>(self, func: F) -> MapOk<Self, F, B>
fn map_ok<F, U>(self, func: F) -> MapOk<Self, F, B>
Transform the successful token produced by this tokenizer using
func. Read moreSource§fn map_err<F, U>(self, func: F) -> MapErr<Self, F, B>
fn map_err<F, U>(self, func: F) -> MapErr<Self, F, B>
Replace errors produced by this tokenizer using
func. Read moreSource§fn repeat(self, count: i32) -> Repeat<Self, B>where
Self: Sized,
fn repeat(self, count: i32) -> Repeat<Self, B>where
Self: Sized,
Repeat this tokenizer
count times and collect the results. Read moreSource§fn many(self) -> Many<Self, B>where
Self: Sized,
fn many(self) -> Many<Self, B>where
Self: Sized,
Apply the
Many combinator: parse the inner tokenizer zero or more times. Read moreSource§fn spanned(self) -> Spanned<Self, B>where
Self: Sized,
fn spanned(self) -> Spanned<Self, B>where
Self: Sized,
Wrap this tokenizer so it returns the matched span along with the token. Read more
Source§fn into_integer(self, base: u32) -> IntoInteger<Self, B>
fn into_integer(self, base: u32) -> IntoInteger<Self, B>
Convert a token containing digits into an integer using the given
base. Read moreSource§fn punctuated<P>(self, punct: P) -> Punctuated<Self, P>
fn punctuated<P>(self, punct: P) -> Punctuated<Self, P>
Parse a punctuated sequence: token, (punct, token)* Read more