Enum gfx::shade::core::CompatibilityError [] [src]

pub enum CompatibilityError {
    ErrorArraySize,
    ErrorBaseType,
    ErrorContainer,
}

Error type for trying to store a UniformValue in a ConstVar.

Variants

Array sizes differ between the value and the var (trying to upload a vec2 as a vec4, etc)

Base types differ between the value and the var (trying to upload a f32 as a u16, etc)

Container-ness differs between the value and the var (trying to upload a scalar as a vec4, etc)

Trait Implementations

impl Copy for CompatibilityError
[src]

impl Clone for CompatibilityError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<CompatibilityError> for CompatibilityError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for CompatibilityError
[src]

[src]

Formats the value using the given formatter.

impl Error for CompatibilityError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Eq for CompatibilityError
[src]

impl Display for CompatibilityError
[src]

[src]

Formats the value using the given formatter. Read more