Enum luminance::tess::TessError [−][src]
#[non_exhaustive]
pub enum TessError {
CannotCreate(String),
AttributelessError(String),
LengthIncoherency(usize),
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)
Tuple Fields
0: String
Cannot create a tessellation.
AttributelessError(String)
Tuple Fields
0: String
Error related to attributeless tessellation and/or render.
LengthIncoherency(usize)
Tuple Fields
0: usize
Length incoherency in vertex, index or instance buffers.
ForbiddenPrimitiveMode(Mode)
Tuple Fields
0: Mode
Forbidden primitive mode by hardware.
NoData
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.
Forbidden primitive mode by hardware.