Enum sierra::CreateShaderModuleError
source · pub enum CreateShaderModuleError {
OutOfMemoryError {
source: OutOfMemory,
},
InvalidShader {
source: InvalidShader,
},
UnsupportedShaderLanguage {
language: ShaderLanguage,
},
SourceNotUtf8 {
source: Utf8Error,
},
}
Variants§
OutOfMemoryError
Fields
§
source: OutOfMemory
InvalidShader
Fields
§
source: InvalidShader
UnsupportedShaderLanguage
Fields
§
language: ShaderLanguage
SourceNotUtf8
Trait Implementations§
source§impl Debug for CreateShaderModuleError
impl Debug for CreateShaderModuleError
source§impl Display for CreateShaderModuleError
impl Display for CreateShaderModuleError
source§impl Error for CreateShaderModuleError
impl Error for CreateShaderModuleError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<InvalidShader> for CreateShaderModuleError
impl From<InvalidShader> for CreateShaderModuleError
source§fn from(source: InvalidShader) -> Self
fn from(source: InvalidShader) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for CreateShaderModuleError
impl From<OutOfMemory> for CreateShaderModuleError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.