pub struct RawMultiLine<O, C>(/* private fields */);Trait Implementations§
Source§impl<O: Clone, C: Clone> Clone for RawMultiLine<O, C>
impl<O: Clone, C: Clone> Clone for RawMultiLine<O, C>
Source§fn clone(&self) -> RawMultiLine<O, C>
fn clone(&self) -> RawMultiLine<O, C>
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<O: Copy, C: Copy> Copy for RawMultiLine<O, C>
Source§impl<'input, O, C, B> Tokenizer<'input, B> for RawMultiLine<O, C>
impl<'input, O, C, B> Tokenizer<'input, B> for RawMultiLine<O, C>
type Token = Item<<<B as Buffer<'input>>::Source as AsSlice<'input>>::Slice>
fn to_token<'a>( &self, reader: &mut Reader<'_, 'input, B>, ) -> Result<Self::Token, Error>
fn peek<'a>(&self, reader: &mut Reader<'_, 'input, B>) -> bool
fn eat(&self, reader: &mut Reader<'_, 'input, B>) -> Result<(), Error>
Auto Trait Implementations§
impl<O, C> Freeze for RawMultiLine<O, C>
impl<O, C> RefUnwindSafe for RawMultiLine<O, C>where
O: RefUnwindSafe,
C: RefUnwindSafe,
impl<O, C> Send for RawMultiLine<O, C>
impl<O, C> Sync for RawMultiLine<O, C>
impl<O, C> Unpin for RawMultiLine<O, C>
impl<O, C> UnsafeUnpin for RawMultiLine<O, C>where
O: UnsafeUnpin,
C: UnsafeUnpin,
impl<O, C> UnwindSafe for RawMultiLine<O, C>where
O: UnwindSafe,
C: UnwindSafe,
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