Enum gfx::PipelineStateError
[−]
[src]
pub enum PipelineStateError { Program(ProgramError), DescriptorInit(InitError), DeviceCreate(CreationError), }
Error creating a PipelineState
Variants
Program(ProgramError)
Shader program failed to link.
DescriptorInit(InitError)
Unable to create PSO descriptor due to mismatched formats.
DeviceCreate(CreationError)
Device failed to create the handle give the descriptor.
Trait Implementations
impl Clone for PipelineStateError
[src]
fn clone(&self) -> PipelineStateError
[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 PipelineStateError
[src]
fn eq(&self, __arg_0: &PipelineStateError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PipelineStateError) -> bool
[src]
This method tests for !=
.
impl Debug for PipelineStateError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for PipelineStateError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for PipelineStateError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<ProgramError> for PipelineStateError
[src]
fn from(e: ProgramError) -> Self
[src]
Performs the conversion.
impl From<InitError> for PipelineStateError
[src]
impl From<CreationError> for PipelineStateError
[src]
fn from(e: CreationError) -> Self
[src]
Performs the conversion.