Struct Peek

struct Peek<F> { ... }

Parsr implementation for [peek]

Implementations

impl<F> Freeze for Peek<F>

impl<F> RefUnwindSafe for Peek<F>

impl<F> Send for Peek<F>

impl<F> Sync for Peek<F>

impl<F> Unpin for Peek<F>

impl<F> UnwindSafe for Peek<F>

impl<I, F> Parser for Peek<F>

fn process<OM: OutputMode>(self: &mut Self, input: I) -> PResult<OM, I, <Self as >::Output, <Self as >::Error>

impl<T> Any for Peek<F>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Peek<F>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Peek<F>

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

impl<T> From for Peek<F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Peek<F>

fn into(self: 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 for Peek<F>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Peek<F>

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