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
OutOfBounds
Fields of OutOfBounds
target: T | |
source: T |
UnitCountMismatch
Fields of UnitCountMismatch
target: usize | |
slice: usize |
InvalidUsage(Usage)
Trait Implementations
impl<T: Clone> Clone for UpdateError<T>
[src]
fn clone(&self) -> UpdateError<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for UpdateError<T>
[src]
impl<T: PartialEq> PartialEq for UpdateError<T>
[src]
fn eq(&self, __arg_0: &UpdateError<T>) -> bool
[src]
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
[src]
This method tests for !=
.
impl<T: Any + Debug + Display> Display for UpdateError<T>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more