Enum gfx::shade::ProgramError
[−]
[src]
pub enum ProgramError {
Vertex(CreateShaderError),
Pixel(CreateShaderError),
Link(CreateProgramError),
}Program linking error
Variants
Vertex(CreateShaderError)Unable to compile the vertex shader
Pixel(CreateShaderError)Unable to compile the pixel shader
Link(CreateProgramError)Unable to link
Trait Implementations
impl From<ProgramError> for PipelineStateError[src]
fn from(e: ProgramError) -> Self[src]
Performs the conversion.
impl Clone for ProgramError[src]
fn clone(&self) -> ProgramError[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for ProgramError[src]
fn eq(&self, __arg_0: &ProgramError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ProgramError) -> bool[src]
This method tests for !=.
impl Debug for ProgramError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for ProgramError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more