Enum gfx::pso::InitError
[−]
[src]
pub enum InitError<S> { VertexImport(S, Option<Format>), ConstantBuffer(S, Option<ElementError<S>>), GlobalConstant(S, Option<CompatibilityError>), ResourceView(S, Option<()>), UnorderedView(S, Option<()>), Sampler(S, Option<()>), PixelExport(S, Option<Format>), }
Failure to initilize the link between the shader and the data.
Variants
VertexImport(S, Option<Format>)
Vertex attribute mismatch.
ConstantBuffer(S, Option<ElementError<S>>)
Constant buffer mismatch.
GlobalConstant(S, Option<CompatibilityError>)
Global constant mismatch.
ResourceView(S, Option<()>)
Shader resource view mismatch.
UnorderedView(S, Option<()>)
Unordered access view mismatch.
Sampler(S, Option<()>)
Sampler mismatch.
PixelExport(S, Option<Format>)
Pixel target mismatch.
Trait Implementations
impl<S: Clone> Clone for InitError<S>
[src]
fn clone(&self) -> InitError<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: Debug> Debug for InitError<S>
[src]
impl<S: PartialEq> PartialEq for InitError<S>
[src]
fn eq(&self, __arg_0: &InitError<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: &InitError<S>) -> bool
[src]
This method tests for !=
.
impl<'a> From<InitError<&'a str>> for InitError<String>
[src]
impl<S: Debug + Display> Display for InitError<S>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more