Struct Emit
pub struct Emit;
Produces a value. This is the default behaviour for parsers
Trait Implementations
impl Mode for Emit
type Output<T> = T;fn bind<T, F: FnOnce() -> T>(f: F) -> Self::Output<T>fn map<T, U, F: FnOnce(T) -> U>(x: Self::Output<T>, f: F) -> Self::Output<U>fn combine<T, U, V, F: FnOnce(T, U) -> V>(x: Self::Output<T>, y: Self::Output<U>, f: F) -> Self::Output<V>
Auto Trait Implementations
impl Freeze for Emit
impl RefUnwindSafe for Emit
impl Send for Emit
impl Sync for Emit
impl Unpin for Emit
impl UnsafeUnpin for Emit
impl UnwindSafe for Emit
Blanket Implementations
impl<T> Any for Emit
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Emit
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Emit
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Emit
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Emit
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 Emit
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Emit
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>