Enum forsyth::Error [−][src]
pub enum Error {
IndicesNotTriples,
IndexToUsizeConversion,
TooManyTrianglesInTotal {
limit: usize,
},
TooManyTrianglesAtVertex {
vertex_idx: usize,
limit: usize,
},
MalformedDrawList,
VertexOutOfBounds,
}
Expand description
An error or invariant violation during an ordering operation
Variants
Provided slice of Index cannot represent one or more index triples.
An Index failed to convert to usize.
There are more than limit
triangles involved.
Fields of TooManyTrianglesInTotal
limit: usize
More than limit
triangles connect to vertex vertex_idx
.
The resulting ordered Index draw list was malformed.
There was an attempt to refer to an invalid vertex index
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more