Enum gfx::shade::core::CompatibilityError
[−]
[src]
pub enum CompatibilityError {
ErrorArraySize,
ErrorBaseType,
ErrorContainer,
}Error type for trying to store a UniformValue in a ConstVar.
Variants
ErrorArraySizeArray sizes differ between the value and the var (trying to upload a vec2 as a vec4, etc)
ErrorBaseTypeBase types differ between the value and the var (trying to upload a f32 as a u16, etc)
ErrorContainerContainer-ness differs between the value and the var (trying to upload a scalar as a vec4, etc)
Trait Implementations
impl Debug for CompatibilityError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Copy for CompatibilityError
impl Clone for CompatibilityError
fn clone(&self) -> CompatibilityError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more