Enum gfx::UpdateError [] [src]

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

An error occuring in buffer/texture updates.

Variants

OutOfBounds

Fields

target
source
UnitCountMismatch

Fields

target
slice

Trait Implementations

Derived Implementations

impl<T: PartialEq> PartialEq for UpdateError<T>

fn eq(&self, __arg_0: &UpdateError<T>) -> bool

fn ne(&self, __arg_0: &UpdateError<T>) -> bool

impl<T: Debug> Debug for UpdateError<T>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<T: Clone> Clone for UpdateError<T>

fn clone(&self) -> UpdateError<T>

1.0.0fn clone_from(&mut self, source: &Self)