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
OutOfBoundsFields
target: T | |
source: T |
UnitCountMismatchFields
target: usize | |
slice: usize |
Trait Implementations
impl<T: PartialEq> PartialEq for UpdateError<T>[src]
fn eq(&self, __arg_0: &UpdateError<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &UpdateError<T>) -> bool
This method tests for !=.
impl<T: Debug> Debug for UpdateError<T>[src]
impl<T: Clone> Clone for UpdateError<T>[src]
fn clone(&self) -> UpdateError<T>
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