pub struct Bool;Expand description
Match ‘true’ or ‘false’
Trait Implementations§
impl Copy for Bool
Auto Trait Implementations§
impl Freeze for Bool
impl RefUnwindSafe for Bool
impl Send for Bool
impl Sync for Bool
impl Unpin for Bool
impl UnsafeUnpin for Bool
impl UnwindSafe for Bool
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