pub enum Problem {
NotFinite,
TooFewPoints,
IdenticalCoords,
CollinearCoords,
SelfIntersection,
IntersectingRingsOnALine,
IntersectingRingsOnAnArea,
InteriorRingNotContainedInExteriorRing,
ElementsOverlaps,
ElementsTouchOnALine,
ElementsAreIdentical,
}
Expand description
The type of problem encountered.
Variants§
NotFinite
A coordinate is not finite (NaN or infinite)
TooFewPoints
A LineString or a Polygon ring has too few points
IdenticalCoords
Identical coords
CollinearCoords
Collinear coords
SelfIntersection
A ring has a self-intersection
IntersectingRingsOnALine
Two interior rings of a Polygon share a common line
IntersectingRingsOnAnArea
Two interior rings of a Polygon share a common area
InteriorRingNotContainedInExteriorRing
The interior ring of a Polygon is not contained in the exterior ring
ElementsOverlaps
Two Polygons of MultiPolygons overlap partially
ElementsTouchOnALine
Two Polygons of MultiPolygons touch on a line
ElementsAreIdentical
Two Polygons of MultiPolygons are identical
Trait Implementations§
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Freeze for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnwindSafe for Problem
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