#[non_exhaustive]pub struct FillRun {
pub y: i32,
pub x: Range<i32>,
/* private fields */
}Expand description
A horizontal run of tiles lying entirely inside the polygon: row y, columns x.start..x.end.
No ring edge touches these tiles’ buffered boxes, so each is uniformly covered: in each of them,
Slicer::tile_polygon yields this polygon as a single
all-synthetic box ring around the buffered box, which PolygonSlices::fill_ring (or
Slicer::fill_ring) returns — the same tile-local ring for every tile
of the run. Runs are maximal, and never overlap the polygon’s edge tiles.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.y: i32The tile row.
x: Range<i32>The tile columns, end-exclusive.
Trait Implementations§
impl Eq for FillRun
impl StructuralPartialEq for FillRun
Auto Trait Implementations§
impl Freeze for FillRun
impl RefUnwindSafe for FillRun
impl Send for FillRun
impl Sync for FillRun
impl Unpin for FillRun
impl UnsafeUnpin for FillRun
impl UnwindSafe for FillRun
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