[][src]Struct moore::grind::Peekable

pub struct Peekable<T> where
    T: Grinder
{ /* fields omitted */ }

Implementations

impl<T> Peekable<T> where
    T: Grinder
[src]

pub fn new(inner: T) -> Peekable<T>[src]

pub fn peek(&self) -> &<T as Grinder>::Item[src]

Trait Implementations

impl<T> From<T> for Peekable<T> where
    T: Grinder
[src]

impl<T> Grinder for Peekable<T> where
    T: Grinder
[src]

type Item = <T as Grinder>::Item

type Error = <T as Grinder>::Error

Auto Trait Implementations

impl<T> RefUnwindSafe for Peekable<T> where
    T: RefUnwindSafe,
    <T as Grinder>::Item: RefUnwindSafe
[src]

impl<T> Send for Peekable<T> where
    T: Send,
    <T as Grinder>::Item: Send
[src]

impl<T> Sync for Peekable<T> where
    T: Sync,
    <T as Grinder>::Item: Sync
[src]

impl<T> Unpin for Peekable<T> where
    T: Unpin,
    <T as Grinder>::Item: Unpin
[src]

impl<T> UnwindSafe for Peekable<T> where
    T: UnwindSafe,
    <T as Grinder>::Item: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.