Struct pos::pos::Reader [] [src]

pub struct Reader<R: BufRead> { /* fields omitted */ }

A pos reader.

Methods

impl Reader<BufReader<File>>
[src]

Creates a new reader from a path.

Examples

use pos::pos::Reader;
let reader = Reader::from_path("data/0916_2014_ie.pos").unwrap();

impl<R: BufRead> Reader<R>
[src]

Reads a point from the file.

Examples

use pos::pos::Reader;
let mut reader = Reader::from_path("data/0916_2014_ie.pos").unwrap();
let point = reader.read_point().unwrap();

Trait Implementations

impl<R: Debug + BufRead> Debug for Reader<R>
[src]

Formats the value using the given formatter.

impl<R: BufRead> IntoIterator for Reader<R>
[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

impl<R: Debug + BufRead> Source for Reader<R>
[src]

Reads one point from the source.