Enum alacritty::renderer::shader::ShaderError
source · pub enum ShaderError {
Compile(String),
Link(String),
Uniform(&'static CStr),
}
Variants§
Compile(String)
Error compiling shader.
Link(String)
Error linking shader.
Uniform(&'static CStr)
Error getting uniform location.
Trait Implementations§
source§impl Debug for ShaderError
impl Debug for ShaderError
source§impl Display for ShaderError
impl Display for ShaderError
source§impl Error for ShaderError
impl Error for ShaderError
1.30.0 · 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<ShaderError> for Error
impl From<ShaderError> for Error
source§fn from(val: ShaderError) -> Self
fn from(val: ShaderError) -> Self
Converts to this type from the input type.