Enum gfx::UpdateError [] [src]

pub enum UpdateError<T> {
    OutOfBounds {
        target: T,
        source: T,
    },
    UnitCountMismatch {
        target: usize,
        slice: usize,
    },
    InvalidUsage(Usage),
}

An error occuring in buffer/texture updates.

Variants

Fields of OutOfBounds

Fields of UnitCountMismatch

Trait Implementations

impl<T: Clone> Clone for UpdateError<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for UpdateError<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for UpdateError<T>
[src]

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

This method tests for !=.

impl<T: Any + Debug + Display> Display for UpdateError<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Any + Debug + Display> Error for UpdateError<T>
[src]

A short description of the error. Read more

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