Trait yarpl::Feed[][src]

pub trait Feed {
    fn feed(&mut self, consumer: &mut Consumer) -> Result;
}

Defines how a type may be parsed by mutating self and some Consumer.

Required methods

fn feed(&mut self, consumer: &mut Consumer) -> Result[src]

Loading content...

Implementations on Foreign Types

impl Feed for &str[src]

Loading content...

Implementors

impl<F: Fn(char) -> bool> Feed for Peek<F>[src]

impl<T: Feed + Default + Clone> Feed for Many<T>[src]

impl<T: Feed + Default + Clone> Feed for Maybe<T>[src]

impl<T: Feed + Default> Feed for Must<T>[src]

impl<T: Feed + Default> Feed for Not<T>[src]

Loading content...