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

Fields of OutOfSrcBounds

Fields of OutOfDstBounds

Fields of Overlap

Trait Implementations

impl<S: Clone, D: Clone> Clone for CopyError<S, D>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Debug, D: Debug> Debug for CopyError<S, D>
[src]

Formats the value using the given formatter.

impl<S: PartialEq, D: PartialEq> PartialEq for CopyError<S, D>
[src]

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

This method tests for !=.

impl<S, D> Display for CopyError<S, D> where
    S: Debug + Display,
    D: Debug + Display
[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]

A short description of the error. Read more

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