Struct TakeUntil
pub struct TakeUntil<T, E> { /* private fields */ }
Parser implementation for [take_until]
Trait Implementations
impl<I, T, Error: ParseError<I>> Parser<I> for TakeUntil<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 TakeUntil<T, E>
where
T: Freeze,
PhantomData<E>: Freeze,
impl<T, E> RefUnwindSafe for TakeUntil<T, E>
where
T: RefUnwindSafe,
PhantomData<E>: RefUnwindSafe,
impl<T, E> Send for TakeUntil<T, E>
where
T: Send,
PhantomData<E>: Send,
impl<T, E> Sync for TakeUntil<T, E>
where
T: Sync,
PhantomData<E>: Sync,
impl<T, E> Unpin for TakeUntil<T, E>
where
T: Unpin,
PhantomData<E>: Unpin,
impl<T, E> UnsafeUnpin for TakeUntil<T, E>
where
T: UnsafeUnpin,
PhantomData<E>: UnsafeUnpin,
impl<T, E> UnwindSafe for TakeUntil<T, E>
where
T: UnwindSafe,
PhantomData<E>: UnwindSafe,
Blanket Implementations
impl<T> Any for TakeUntil<T, E>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for TakeUntil<T, E>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for TakeUntil<T, E>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for TakeUntil<T, E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for TakeUntil<T, E>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for TakeUntil<T, E>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for TakeUntil<T, E>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>