pub enum InternalError {
IncorrectActiveEdgeOrder(i16),
InsufficientNumberOfSpans,
InsufficientNumberOfEdges,
MergeVertexOutside,
InvalidNumberOfEdgesBelowVertex,
ErrorCode(i16),
}Expand description
Describes an unexpected error happening during tessellation.
If you run into one of these, please consider filing an issue.
Variants§
IncorrectActiveEdgeOrder(i16)
InsufficientNumberOfSpans
InsufficientNumberOfEdges
MergeVertexOutside
InvalidNumberOfEdgesBelowVertex
ErrorCode(i16)
Trait Implementations§
Source§impl Clone for InternalError
impl Clone for InternalError
Source§fn clone(&self) -> InternalError
fn clone(&self) -> InternalError
Returns a duplicate 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 InternalError
impl Debug for InternalError
Source§impl Display for InternalError
Available on crate feature std only.
impl Display for InternalError
Available on crate feature
std only.Source§impl Error for InternalError
Available on crate feature std only.
impl Error for InternalError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<InternalError> for TessellationError
impl From<InternalError> for TessellationError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl Hash for InternalError
impl Hash for InternalError
Source§impl PartialEq for InternalError
impl PartialEq for InternalError
impl Copy for InternalError
impl Eq for InternalError
impl StructuralPartialEq for InternalError
Auto Trait Implementations§
impl Freeze for InternalError
impl RefUnwindSafe for InternalError
impl Send for InternalError
impl Sync for InternalError
impl Unpin for InternalError
impl UnwindSafe for InternalError
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