[][src]Struct moore::grind::Lookahead

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

Implementations

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

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

pub fn lookahead(&mut self, offset: usize) -> &<T as Grinder>::Item[src]

pub fn undo(&mut self, item: <T as Grinder>::Item)[src]

Trait Implementations

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

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

type Item = <T as Grinder>::Item

type Error = <T as Grinder>::Error

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for Lookahead<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.