pub enum OverlayError {
InvalidFrame,
NonFinitePoint,
RingTooShort,
RepeatedVertex,
ZeroArea,
SelfIntersection,
HoleOutsideOuter,
InvalidOffsetDistance,
InvalidOffsetStyle,
ZeroRadiusArc,
}Variants§
InvalidFrame
NonFinitePoint
RingTooShort
RepeatedVertex
ZeroArea
SelfIntersection
Non-adjacent boundary segments meet or cross.
HoleOutsideOuter
InvalidOffsetDistance
An offset distance or stroke width was not finite, or a width was not positive. A non-finite distance cannot produce a bounded region.
InvalidOffsetStyle
A join or cap parameter was not a finite positive value.
Separate from OverlayError::InvalidOffsetDistance because the fix is
different: the caller passed a malformed style, not a malformed measure.
ZeroRadiusArc
An arc edge’s implied radius was not above tolerance.
Distinct from OverlayError::RepeatedVertex: the chord can be long
enough while the bulge still implies a radius too small to be a real
boundary. Such an edge is a point, not an arc.
Trait Implementations§
Source§impl Clone for OverlayError
impl Clone for OverlayError
Source§fn clone(&self) -> OverlayError
fn clone(&self) -> OverlayError
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 OverlayError
impl Debug for OverlayError
Source§impl From<OverlayError> for MinkowskiError
impl From<OverlayError> for MinkowskiError
Source§fn from(error: OverlayError) -> MinkowskiError
fn from(error: OverlayError) -> MinkowskiError
Converts to this type from the input type.
Source§impl From<OverlayError> for ProjectionError
impl From<OverlayError> for ProjectionError
Source§fn from(error: OverlayError) -> ProjectionError
fn from(error: OverlayError) -> ProjectionError
Converts to this type from the input type.
Source§impl From<OverlayError> for VisibilityError
impl From<OverlayError> for VisibilityError
Source§fn from(error: OverlayError) -> VisibilityError
fn from(error: OverlayError) -> VisibilityError
Converts to this type from the input type.
Source§impl PartialEq for OverlayError
impl PartialEq for OverlayError
impl Eq for OverlayError
impl StructuralPartialEq for OverlayError
Auto Trait Implementations§
impl Freeze for OverlayError
impl RefUnwindSafe for OverlayError
impl Send for OverlayError
impl Sync for OverlayError
impl Unpin for OverlayError
impl UnwindSafe for OverlayError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more