Enum gfx_core::shade::CompatibilityError
[−]
[src]
pub enum CompatibilityError { ErrorArraySize, ErrorBaseType, ErrorContainer, }
Error type for trying to store a UniformValue in a ConstVar.
Variants
ErrorArraySize
Array sizes differ between the value and the var (trying to upload a vec2 as a vec4, etc)
ErrorBaseType
Base types differ between the value and the var (trying to upload a f32 as a u16, etc)
ErrorContainer
Container-ness differs between the value and the var (trying to upload a scalar as a vec4, etc)
Trait Implementations
impl Clone for CompatibilityError
[src]
fn clone(&self) -> CompatibilityError
[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 Copy for CompatibilityError
[src]
impl Debug for CompatibilityError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for CompatibilityError
[src]
impl PartialEq for CompatibilityError
[src]
fn eq(&self, __arg_0: &CompatibilityError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Display for CompatibilityError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more