Skip to main content

PullSource

Trait PullSource 

Source
pub trait PullSource: Send {
    // Required method
    fn pull(&mut self) -> Option<Vec<Coord>>;
}
Expand description

Least-capable decorator: yield the next batch of coordinates without feedback. The default lexicographic stream and discrete reorderings are pull sources.

Required Methods§

Source

fn pull(&mut self) -> Option<Vec<Coord>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§