Trait Source

Source
pub trait Source: Debug {
    // Required method
    fn source(&mut self) -> Result<Option<Point>, Error>;
}
Expand description

A source of points.

Required Methods§

Source

fn source(&mut self) -> Result<Option<Point>, Error>

Reads one point from the source.

Trait Implementations§

Source§

impl IntoIterator for Box<dyn Source>

Source§

type Item = Point

The type of the elements being iterated over.
Source§

type IntoIter = SourceIterator

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more

Implementors§

Source§

impl Source for CombinedSource

Source§

impl<R: Debug + BufRead> Source for pos::pos::Reader<R>

Source§

impl<R: Debug + Read> Source for pos::sbet::Reader<R>

Source§

impl<R: Debug + Seek + Read> Source for pos::pof::Reader<R>