Struct pgn_reader::Reader [] [src]

pub struct Reader<'a, 'pgn, V: Visitor<'pgn>> where
    V: 'a, 
{ /* fields omitted */ }

Reads a PGN.

Methods

impl<'a, 'pgn, V: Visitor<'pgn>> Reader<'a, 'pgn, V>
[src]

[src]

Creates a new reader with a custom Visitor.

[src]

Read the next game, returning the result from the visitor, or None if there was no further game.

[src]

Reads all games.

Trait Implementations

impl<'a, 'pgn, V: Visitor<'pgn>> Debug for Reader<'a, 'pgn, V>
[src]

[src]

Formats the value using the given formatter.

impl<'a, 'pgn, V: Visitor<'pgn>> IntoIterator for Reader<'a, 'pgn, V>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more