Enum luminance::tess::TessError [−][src]
#[non_exhaustive] pub enum TessError { CannotCreate(String), AttributelessError(String), LengthIncoherency(usize), InternalBufferError(BufferError), ForbiddenPrimitiveMode(Mode), NoData, }
Expand description
Possible errors that might occur when dealing with Tess
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CannotCreate(String)
Cannot create a tessellation.
AttributelessError(String)
Error related to attributeless tessellation and/or render.
LengthIncoherency(usize)
Length incoherency in vertex, index or instance buffers.
InternalBufferError(BufferError)
Internal error ocurring with a buffer.
ForbiddenPrimitiveMode(Mode)
Forbidden primitive mode by hardware.
No data provided and empty tessellation.
Implementations
Cannot create a tessellation.
Error related to attributeless tessellation and/or render.
Length incoherency in vertex, index or instance buffers.
Internal error ocurring with a buffer.
Forbidden primitive mode by hardware.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TessError
impl UnwindSafe for TessError