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> Forget for PolygonSlice<'a, V, R>
impl<'a, V, R> Freeze for PolygonSlice<'a, V, R>
impl<'a, V, R> Move for PolygonSlice<'a, V, R>
impl<'a, V, R> RefUnwindSafe for PolygonSlice<'a, V, R>where
V: RefUnwindSafe,
R: RefUnwindSafe,
impl<'a, V, R> Send for PolygonSlice<'a, V, R>
impl<'a, V, R> Sync for PolygonSlice<'a, V, R>
impl<'a, V, R> Unpin for PolygonSlice<'a, V, R>
impl<'a, V, R> UnsafeUnpin for PolygonSlice<'a, V, R>where
&'a [V]: UnsafeUnpin,
&'a [u32]: UnsafeUnpin,
&'a [RingInfo]: UnsafeUnpin,
&'a [R]: UnsafeUnpin,
impl<'a, V, R> UnwindSafe for PolygonSlice<'a, V, R>
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