Struct Terminated
pub struct Terminated<F, G> { /* private fields */ }
a
Trait Implementations
impl<I, E: ParseError<I>, F: Parser<I, Error = E>, G: Parser<I, Error = E>> Parser<I> for Terminated<F, G>
type Output = <F as Parser<I>>::Output;type Error = E;fn process<OM: OutputMode>(&mut self, i: I) -> PResult<OM, I, Self::Output, Self::Error>
Auto Trait Implementations
impl<F, G> Freeze for Terminated<F, G>
where
F: Freeze,
G: Freeze,
impl<F, G> RefUnwindSafe for Terminated<F, G>
where
F: RefUnwindSafe,
G: RefUnwindSafe,
impl<F, G> Send for Terminated<F, G>
where
F: Send,
G: Send,
impl<F, G> Sync for Terminated<F, G>
where
F: Sync,
G: Sync,
impl<F, G> Unpin for Terminated<F, G>
where
F: Unpin,
G: Unpin,
impl<F, G> UnsafeUnpin for Terminated<F, G>
where
F: UnsafeUnpin,
G: UnsafeUnpin,
impl<F, G> UnwindSafe for Terminated<F, G>
where
F: UnwindSafe,
G: UnwindSafe,
Blanket Implementations
impl<T> Any for Terminated<F, G>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Terminated<F, G>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Terminated<F, G>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Terminated<F, G>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Terminated<F, G>
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 Terminated<F, G>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Terminated<F, G>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>