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]

Creates a new reader with a custom Visitor.

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

Skip the next game without calling methods of the visitor.

Reads all games.

Important traits for &'a [u8]

Returns a slice containing the not yet fully parsed games.

Trait Implementations

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

Formats the value using the given formatter. Read more

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?

Creates an iterator from a value. Read more

Auto Trait Implementations

impl<'a, 'pgn, V> Send for Reader<'a, 'pgn, V> where
    V: Send

impl<'a, 'pgn, V> Sync for Reader<'a, 'pgn, V> where
    V: Sync