Struct TakeUntil1

pub struct TakeUntil1<T, E> { /* private fields */ }

Parser implementation for take_until1

Trait Implementations

impl<I, T, Error: ParseError<I>> Parser<I> for TakeUntil1<T, Error> where I: Input + FindSubstring<T>, T: Clone,

type Output = I;
type Error = Error;
fn process<OM: OutputMode>(&mut self, i: I) -> PResult<OM, I, Self::Output, Self::Error>

Auto Trait Implementations

impl<T, E> Freeze for TakeUntil1<T, E> where T: Freeze, PhantomData<E>: Freeze,

impl<T, E> RefUnwindSafe for TakeUntil1<T, E> where T: RefUnwindSafe, PhantomData<E>: RefUnwindSafe,

impl<T, E> Send for TakeUntil1<T, E> where T: Send, PhantomData<E>: Send,

impl<T, E> Sync for TakeUntil1<T, E> where T: Sync, PhantomData<E>: Sync,

impl<T, E> Unpin for TakeUntil1<T, E> where T: Unpin, PhantomData<E>: Unpin,

impl<T, E> UnsafeUnpin for TakeUntil1<T, E> where T: UnsafeUnpin, PhantomData<E>: UnsafeUnpin,

impl<T, E> UnwindSafe for TakeUntil1<T, E> where T: UnwindSafe, PhantomData<E>: UnwindSafe,

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> From<T> for TakeUntil1<T, E>

fn from(t: T) -> T

Returns the argument unchanged.

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

fn into(self) -> U

Calls U::from(self).

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

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

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

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