pub trait PointCollection<'a, Coord> {
type Borrow: Borrow<Coord>;
type IntoIter: IntoIterator<Item = Self::Borrow>;
// Required method
fn point_iter(self) -> Self::IntoIter;
}
Expand description
A type which is logically a collection of points, under any given coordinate system
Required Associated Types§
Sourcetype IntoIter: IntoIterator<Item = Self::Borrow>
type IntoIter: IntoIterator<Item = Self::Borrow>
The point iterator
Required Methods§
Sourcefn point_iter(self) -> Self::IntoIter
fn point_iter(self) -> Self::IntoIter
framework to do the coordinate mapping