Enum lyon_tessellation::InternalError
source · 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 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 InternalError
impl Debug for InternalError
source§impl From<InternalError> for TessellationError
impl From<InternalError> for TessellationError
source§fn from(e: InternalError) -> Self
fn from(e: 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
source§fn eq(&self, other: &InternalError) -> bool
fn eq(&self, other: &InternalError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InternalError
impl Eq for InternalError
impl StructuralEq for InternalError
impl StructuralPartialEq for InternalError
Auto Trait Implementations§
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