#[non_exhaustive]pub struct OffsetEvidence {
pub input_rings: usize,
pub output_polygons: usize,
pub output_holes: usize,
pub collapsed: bool,
}Expand description
What an offset actually did.
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.input_rings: usizeRings supplied by the caller.
output_polygons: usizePolygons in the result.
output_holes: usizeInner boundary components across all result polygons.
collapsed: boolThe input was non-empty but the result is empty.
Distinguishes a region inset out of existence from an empty input, which a bare empty vector cannot express.
Trait Implementations§
Source§impl Clone for OffsetEvidence
impl Clone for OffsetEvidence
Source§fn clone(&self) -> OffsetEvidence
fn clone(&self) -> OffsetEvidence
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OffsetEvidence
impl Debug for OffsetEvidence
Source§impl PartialEq for OffsetEvidence
impl PartialEq for OffsetEvidence
impl Copy for OffsetEvidence
impl Eq for OffsetEvidence
impl StructuralPartialEq for OffsetEvidence
Auto Trait Implementations§
impl Freeze for OffsetEvidence
impl RefUnwindSafe for OffsetEvidence
impl Send for OffsetEvidence
impl Sync for OffsetEvidence
impl Unpin for OffsetEvidence
impl UnwindSafe for OffsetEvidence
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