RawMultiLine

Struct RawMultiLine 

Source
pub struct RawMultiLine<O, C>(/* private fields */);

Trait Implementations§

Source§

impl<O: Clone, C: Clone> Clone for RawMultiLine<O, C>

Source§

fn clone(&self) -> RawMultiLine<O, C>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<O: Debug, C: Debug> Debug for RawMultiLine<O, C>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'input, O, C, B> Tokenizer<'input, B> for RawMultiLine<O, C>
where O: Tokenizer<'input, B>, C: Tokenizer<'input, B>, B: Buffer<'input>, B::Source: AsSlice<'input>, B::Item: AsChar,

Source§

type Token = Item<<<B as Buffer<'input>>::Source as AsSlice<'input>>::Slice>

Source§

fn to_token<'a>( &self, reader: &mut Reader<'_, 'input, B>, ) -> Result<Self::Token, Error>

Source§

fn peek<'a>(&self, reader: &mut Reader<'_, 'input, B>) -> bool

Source§

fn eat(&self, reader: &mut Reader<'_, 'input, B>) -> Result<(), Error>

Source§

impl<O: Copy, C: Copy> Copy for RawMultiLine<O, C>

Auto Trait Implementations§

§

impl<O, C> Freeze for RawMultiLine<O, C>
where O: Freeze, C: Freeze,

§

impl<O, C> RefUnwindSafe for RawMultiLine<O, C>

§

impl<O, C> Send for RawMultiLine<O, C>
where O: Send, C: Send,

§

impl<O, C> Sync for RawMultiLine<O, C>
where O: Sync, C: Sync,

§

impl<O, C> Unpin for RawMultiLine<O, C>
where O: Unpin, C: Unpin,

§

impl<O, C> UnwindSafe for RawMultiLine<O, C>
where O: UnwindSafe, C: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<'input, T, B> TokenizerExt<'input, B> for T
where B: Buffer<'input>, T: Tokenizer<'input, B>,

Source§

fn map_ok<F, U>(self, func: F) -> MapOk<Self, F, B>
where F: Fn(Self::Token) -> U, Self: Sized,

Source§

fn map_err<F, U>(self, func: F) -> MapErr<Self, F, B>
where F: Fn(usize, &B) -> U, U: Into<Box<dyn Error + Sync + Send>>, Self: Sized,

Source§

fn repeat(self, count: i32) -> Repeat<Self, B>
where Self: Sized,

Source§

fn many(self) -> Many<Self, B>
where Self: Sized,

Source§

fn until<U>(self, until: U) -> Until<Self, U, B>
where Self: Sized, U: Tokenizer<'input, B>,

Source§

fn or<T>(self, other: T) -> Or<Self, T, B>
where Self: Sized, T: Tokenizer<'input, B>,

Source§

fn optional(self) -> Opt<Self, B>
where Self: Sized,

Source§

fn spanned(self) -> Spanned<Self, B>
where Self: Sized,

Source§

fn into_integer(self, base: u32) -> IntoInteger<Self, B>
where Self: Sized, Self::Token: AsDigits,

Source§

fn punctuated<P>(self, punct: P) -> Puntuated<Self, P>
where Self: Sized, P: Tokenizer<'input, B>,

Source§

fn slice(self) -> Sliced<Self, B>
where Self: Sized, B: Buffer<'input>, <B as Buffer<'input>>::Source: AsSlice<'input>,

Source§

fn parse( &self, reader: &mut Reader<'_, 'input, B>, ) -> Result<Self::Token, Error>
where Self: Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.