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
sourceimpl Clone for InternalError
impl Clone for InternalError
sourcefn clone(&self) -> InternalError
fn clone(&self) -> InternalError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InternalError
impl Debug for InternalError
sourceimpl Display for InternalError
impl Display for InternalError
sourceimpl Error for InternalError
impl Error for InternalError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<InternalError> for TessellationError
impl From<InternalError> for TessellationError
sourcefn from(e: InternalError) -> Self
fn from(e: InternalError) -> Self
Converts to this type from the input type.
sourceimpl Hash for InternalError
impl Hash for InternalError
sourceimpl PartialEq<InternalError> for InternalError
impl PartialEq<InternalError> for InternalError
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &InternalError) -> bool
fn ne(&self, other: &InternalError) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more