Enum gfx::shade::ProgramError
source · pub enum ProgramError {
Vertex(CreateShaderError),
Hull(CreateShaderError),
Domain(CreateShaderError),
Geometry(CreateShaderError),
Pixel(CreateShaderError),
Link(CreateProgramError),
}
Expand description
Program linking error
Variants§
Vertex(CreateShaderError)
Unable to compile the vertex shader
Hull(CreateShaderError)
Unable to compile the hull shader
Domain(CreateShaderError)
Unable to compile the domain shader
Geometry(CreateShaderError)
Unable to compile the geometry shader
Pixel(CreateShaderError)
Unable to compile the pixel shader
Link(CreateProgramError)
Unable to link
Trait Implementations§
source§impl Clone for ProgramError
impl Clone for ProgramError
source§fn clone(&self) -> ProgramError
fn clone(&self) -> ProgramError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProgramError
impl Debug for ProgramError
source§impl Display for ProgramError
impl Display for ProgramError
source§impl Error for ProgramError
impl Error for ProgramError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl<S> From<ProgramError> for PipelineStateError<S>
impl<S> From<ProgramError> for PipelineStateError<S>
source§fn from(e: ProgramError) -> Self
fn from(e: ProgramError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ProgramError> for ProgramError
impl PartialEq<ProgramError> for ProgramError
source§fn eq(&self, other: &ProgramError) -> bool
fn eq(&self, other: &ProgramError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.