Enum luminance::shader::StageError [−][src]
#[non_exhaustive] pub enum StageError { CompilationFailed(StageType, String), UnsupportedType(StageType), }
Expand description
Errors that shader stages can emit.
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.
Occurs when a shader fails to compile.
UnsupportedType(StageType)
Occurs when you try to create a shader which type is not supported on the current hardware.
Implementations
Occurs when a shader fails to compile.
Occurs when you try to create a shader which type is not supported on the current hardware.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StageError
impl Send for StageError
impl Sync for StageError
impl Unpin for StageError
impl UnwindSafe for StageError
Blanket Implementations
Mutably borrows from an owned value. Read more