pub enum PolygonSlice<'a, V, R> {
Piece(PolygonPiece<'a, V, R>),
Run(FillRun),
}Expand description
One slice of a polygon.
Variants§
Piece(PolygonPiece<'a, V, R>)
One polygon’s piece in one tile.
Run(FillRun)
Tiles a polygon covers entirely, whose content is PolygonSlices::fill_ring in each.
Trait Implementations§
Auto Trait Implementations§
impl<'a, V, R> Freeze for PolygonSlice<'a, V, R>where
PolygonPiece<'a, V, R>: Freeze,
impl<'a, V, R> RefUnwindSafe for PolygonSlice<'a, V, R>where
PolygonPiece<'a, V, R>: RefUnwindSafe,
impl<'a, V, R> Send for PolygonSlice<'a, V, R>where
PolygonPiece<'a, V, R>: Send,
impl<'a, V, R> Sync for PolygonSlice<'a, V, R>where
PolygonPiece<'a, V, R>: Sync,
impl<'a, V, R> Unpin for PolygonSlice<'a, V, R>where
PolygonPiece<'a, V, R>: Unpin,
impl<'a, V, R> UnsafeUnpin for PolygonSlice<'a, V, R>where
PolygonPiece<'a, V, R>: UnsafeUnpin,
impl<'a, V, R> UnwindSafe for PolygonSlice<'a, V, R>where
PolygonPiece<'a, V, R>: UnwindSafe,
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