#[non_exhaustive]pub struct OffsetResult {
pub polygons: Vec<Polygon>,
pub evidence: OffsetEvidence,
}Expand description
Result of an offset.
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.polygons: Vec<Polygon>Offset region, canonicalised exactly as overlay output is.
evidence: OffsetEvidenceWhat the operation did.
Trait Implementations§
Source§impl Clone for OffsetResult
impl Clone for OffsetResult
Source§fn clone(&self) -> OffsetResult
fn clone(&self) -> OffsetResult
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 OffsetResult
impl Debug for OffsetResult
Source§impl PartialEq for OffsetResult
impl PartialEq for OffsetResult
impl StructuralPartialEq for OffsetResult
Auto Trait Implementations§
impl Freeze for OffsetResult
impl RefUnwindSafe for OffsetResult
impl Send for OffsetResult
impl Sync for OffsetResult
impl Unpin for OffsetResult
impl UnwindSafe for OffsetResult
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