[−][src]Trait ingrid::GridIterator
An interface to implement grid iterators
This trait allows to implement an iterator for a grid. A grid iterator has
the particularity of providing additional adaptors through its provided
methods (for now, only enumerate_coordinate()
). It must also be able to
return the current coordinate.
Note that a grid iterator implements the standard iterator interface.
Required methods
fn coordinate(&self) -> Coordinate
Provided methods
ⓘImportant traits for EnumerateCoordinate<I>fn enumerate_coordinate(self) -> EnumerateCoordinate<Self> where
Self: Sized,
ⓘImportant traits for EnumerateCoordinate<I>
Self: Sized,