Enum gfx::pso::ElementError [] [src]

pub enum ElementError<S> {
    NotFound(S),
    Offset(S, ElemOffset),
    Format(S, ConstFormat),
}

Error matching an element inside the constant buffer.

Variants

Element not found.

Element offset mismatch.

Element format mismatch.

Trait Implementations

impl<S: Clone> Clone for ElementError<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Debug> Debug for ElementError<S>
[src]

Formats the value using the given formatter.

impl<S: PartialEq> PartialEq for ElementError<S>
[src]

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

This method tests for !=.

impl<S: Debug + Display> Display for ElementError<S>
[src]

Formats the value using the given formatter.

impl<S: Debug + Display> Error for ElementError<S>
[src]

A short description of the error. Read more

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

impl<'a> From<ElementError<&'a str>> for ElementError<String>
[src]

Performs the conversion.