pub enum DecompError {
TooFewVertices,
NotSimple,
TooManyParts,
Failed(String),
}Expand description
Decomposition error.
Variants§
TooFewVertices
Input ring has fewer than 3 vertices.
NotSimple
Input ring is not simple (self-intersecting).
TooManyParts
Could not decompose within MAX_PARTS limit.
Failed(String)
All strategies failed.
Trait Implementations§
Source§impl Clone for DecompError
impl Clone for DecompError
Source§fn clone(&self) -> DecompError
fn clone(&self) -> DecompError
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 moreSource§impl Debug for DecompError
impl Debug for DecompError
Source§impl Display for DecompError
impl Display for DecompError
Source§impl PartialEq for DecompError
impl PartialEq for DecompError
Source§fn eq(&self, other: &DecompError) -> bool
fn eq(&self, other: &DecompError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DecompError
impl StructuralPartialEq for DecompError
Auto Trait Implementations§
impl Freeze for DecompError
impl RefUnwindSafe for DecompError
impl Send for DecompError
impl Sync for DecompError
impl Unpin for DecompError
impl UnsafeUnpin for DecompError
impl UnwindSafe for DecompError
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