Trait game_of_life_parsers::Parser [] [src]

pub trait Parser {
    fn parse<'a>(
        &mut self,
        input: Box<Read + 'a>
    ) -> Result<Box<GameDescriptor>>; }

Specifies a common interface for all game of life parser implementations.

Required Methods

Parse the given input, which can be any implementor of std::io::Read, e.g. std::fs::File.

Implementors