Enum gfx::PipelineStateError
[−]
[src]
pub enum PipelineStateError<S> { Program(ProgramError), DescriptorInit(InitError<S>), DeviceCreate(CreationError), }
Error creating a PipelineState
Variants
Program(ProgramError)
Shader program failed to link.
DescriptorInit(InitError<S>)
Unable to create PSO descriptor due to mismatched formats.
DeviceCreate(CreationError)
Device failed to create the handle give the descriptor.
Trait Implementations
impl<S: Clone> Clone for PipelineStateError<S>
[src]
fn clone(&self) -> PipelineStateError<S>
[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<S: PartialEq> PartialEq for PipelineStateError<S>
[src]
fn eq(&self, __arg_0: &PipelineStateError<S>) -> 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<S>) -> bool
[src]
This method tests for !=
.
impl<S: Debug> Debug for PipelineStateError<S>
[src]
impl<'a> From<PipelineStateError<&'a str>> for PipelineStateError<String>
[src]
fn from(pse: PipelineStateError<&'a str>) -> PipelineStateError<String>
[src]
Performs the conversion.
impl<S: Debug + Display> Display for PipelineStateError<S>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<S: Debug + Display> Error for PipelineStateError<S>
[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<S> From<ProgramError> for PipelineStateError<S>
[src]
fn from(e: ProgramError) -> Self
[src]
Performs the conversion.
impl<S> From<InitError<S>> for PipelineStateError<S>
[src]
impl<S> From<CreationError> for PipelineStateError<S>
[src]
fn from(e: CreationError) -> Self
[src]
Performs the conversion.