pub struct CleanStats {
pub dups: u32,
pub spikes: u32,
pub collinear: u32,
pub rings_dropped: u32,
pub polys_dropped: u32,
pub arcs_dropped: u32,
}Fields§
§dups: u32The number of consecutive duplicate vertices removed.
spikes: u32The number of zero-area spur vertices removed (the path reverses along the same line).
collinear: u32The number of collinear pass-through vertices removed (no geometry change).
rings_dropped: u32The number of degenerate rings dropped (fewer than 3 distinct vertices, or area 0).
polys_dropped: u32The number of polygons dropped because their exterior ring degenerated.
arcs_dropped: u32The number of arcs left unreferenced by ring drops; they are removed and the ids compacted.
Trait Implementations§
Source§impl Clone for CleanStats
impl Clone for CleanStats
Source§fn clone(&self) -> CleanStats
fn clone(&self) -> CleanStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CleanStats
Source§impl Debug for CleanStats
impl Debug for CleanStats
Source§impl Default for CleanStats
impl Default for CleanStats
Source§fn default() -> CleanStats
fn default() -> CleanStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CleanStats
impl RefUnwindSafe for CleanStats
impl Send for CleanStats
impl Sync for CleanStats
impl Unpin for CleanStats
impl UnsafeUnpin for CleanStats
impl UnwindSafe for CleanStats
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