Trait game_of_life_parsers::Parser [] [src]

pub trait Parser {
    fn parse<T: Read>(&mut self, input: T) -> 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