Enum gfx::CopyError
[−]
[src]
pub enum CopyError<S, D> {
OutOfSrcBounds {
size: S,
copy_end: S,
},
OutOfDstBounds {
size: D,
copy_end: D,
},
Overlap {
src_offset: usize,
dst_offset: usize,
size: usize,
},
NoSrcBindFlag,
NoDstBindFlag,
}An error occuring in memory copies.
Variants
OutOfSrcBoundsFields of OutOfSrcBounds
size: S | |
copy_end: S |
OutOfDstBoundsFields of OutOfDstBounds
size: D | |
copy_end: D |
OverlapFields of Overlap
src_offset: usize | |
dst_offset: usize | |
size: usize |
NoSrcBindFlagNoDstBindFlag
Trait Implementations
impl<S: Clone, D: Clone> Clone for CopyError<S, D>[src]
fn clone(&self) -> CopyError<S, D>[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<S: Debug, D: Debug> Debug for CopyError<S, D>[src]
impl<S: PartialEq, D: PartialEq> PartialEq for CopyError<S, D>[src]
fn eq(&self, __arg_0: &CopyError<S, D>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CopyError<S, D>) -> bool[src]
This method tests for !=.
impl<S, D> Display for CopyError<S, D> where
S: Debug + Display,
D: Debug + Display, [src]
S: Debug + Display,
D: Debug + Display,
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<S, D> Error for CopyError<S, D> where
S: Debug + Display,
D: Debug + Display, [src]
S: Debug + Display,
D: Debug + Display,