pub struct PolygonTileView<'a, V: PolyVertex, A = ()> { /* private fields */ }Expand description
A borrowed view of one feature’s pieces in one edge tile.
Implementations§
Source§impl<'a, V: PolyVertex, A> PolygonTileView<'a, V, A>
impl<'a, V: PolyVertex, A> PolygonTileView<'a, V, A>
Sourcepub fn iter_polygons(
&self,
) -> impl Iterator<Item = PolygonView<'a, V, A>> + use<'a, V, A>
pub fn iter_polygons( &self, ) -> impl Iterator<Item = PolygonView<'a, V, A>> + use<'a, V, A>
Iterate the clipped polygons in this tile, in input-polygon order (at most one per input polygon), each carrying the feature’s attribute.
Trait Implementations§
Source§impl<V: PolyVertex, A> Clone for PolygonTileView<'_, V, A>
impl<V: PolyVertex, A> Clone for PolygonTileView<'_, V, A>
impl<V: PolyVertex, A> Copy for PolygonTileView<'_, V, A>
Auto Trait Implementations§
impl<'a, V, A> Freeze for PolygonTileView<'a, V, A>
impl<'a, V, A> RefUnwindSafe for PolygonTileView<'a, V, A>
impl<'a, V, A> Send for PolygonTileView<'a, V, A>
impl<'a, V, A> Sync for PolygonTileView<'a, V, A>
impl<'a, V, A> Unpin for PolygonTileView<'a, V, A>
impl<'a, V, A> UnsafeUnpin for PolygonTileView<'a, V, A>
impl<'a, V, A> UnwindSafe for PolygonTileView<'a, V, A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more