Struct OutputM
pub struct OutputM<M: Mode, EM: Mode, S: IsStreaming> { /* private fields */ }
Holds the parser execution modifiers: output [Mode], error [Mode] and streaming behaviour for input data
Trait Implementations
impl<M: Mode, EM: Mode, S: IsStreaming> OutputMode for OutputM<M, EM, S>
type Output = M;type Error = EM;type Incomplete = S;
Auto Trait Implementations
impl<M, EM, S> Freeze for OutputM<M, EM, S>
where
PhantomData<M>: Freeze,
PhantomData<EM>: Freeze,
PhantomData<S>: Freeze,
impl<M, EM, S> RefUnwindSafe for OutputM<M, EM, S>
where
PhantomData<M>: RefUnwindSafe,
PhantomData<EM>: RefUnwindSafe,
PhantomData<S>: RefUnwindSafe,
impl<M, EM, S> Send for OutputM<M, EM, S>
where
PhantomData<M>: Send,
PhantomData<EM>: Send,
PhantomData<S>: Send,
impl<M, EM, S> Sync for OutputM<M, EM, S>
where
PhantomData<M>: Sync,
PhantomData<EM>: Sync,
PhantomData<S>: Sync,
impl<M, EM, S> Unpin for OutputM<M, EM, S>
where
PhantomData<M>: Unpin,
PhantomData<EM>: Unpin,
PhantomData<S>: Unpin,
impl<M, EM, S> UnsafeUnpin for OutputM<M, EM, S>
where
PhantomData<M>: UnsafeUnpin,
PhantomData<EM>: UnsafeUnpin,
PhantomData<S>: UnsafeUnpin,
impl<M, EM, S> UnwindSafe for OutputM<M, EM, S>
where
PhantomData<M>: UnwindSafe,
PhantomData<EM>: UnwindSafe,
PhantomData<S>: UnwindSafe,
Blanket Implementations
impl<T> Any for OutputM<M, EM, S>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for OutputM<M, EM, S>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for OutputM<M, EM, S>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for OutputM<M, EM, S>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for OutputM<M, EM, S>
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 OutputM<M, EM, S>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for OutputM<M, EM, S>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>