ListPoints

Trait ListPoints 

Source
pub trait ListPoints: Points {
    type AllPoints: Iterator<Item = Self::Point>;

    // Required method
    fn all_points(&self) -> Self::AllPoints;
}
Expand description

Collections of points that can list everything they contain.

Required Associated Types§

Source

type AllPoints: Iterator<Item = Self::Point>

An iterator over all the points in an instance of Self

Required Methods§

Source

fn all_points(&self) -> Self::AllPoints

Return an iterator over all points in self.

It is expected that this iterator isn’t invalidated by calling other methods like RegionQuery::neighbours (if the type also implements that).

Implementors§