Trait cogset::ListPoints [-] [+] [src]

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

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

Collections of points that can list everything they contain.

Associated Types

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

An iterator over all the points in an instance of Self

Required Methods

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