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

OutOfSrcBounds

Fields of OutOfSrcBounds

size: Scopy_end: S
OutOfDstBounds

Fields of OutOfDstBounds

size: Dcopy_end: D
Overlap

Fields of Overlap

src_offset: usizedst_offset: usizesize: usize
NoSrcBindFlag
NoDstBindFlag

Trait Implementations

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

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

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

impl<S, D> Error for CopyError<S, D> where
    S: Debug + Display,
    D: Debug + Display
[src]

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

impl<S, D> StructuralPartialEq for CopyError<S, D>[src]

Auto Trait Implementations

impl<S, D> RefUnwindSafe for CopyError<S, D> where
    D: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, D> Send for CopyError<S, D> where
    D: Send,
    S: Send

impl<S, D> Sync for CopyError<S, D> where
    D: Sync,
    S: Sync

impl<S, D> Unpin for CopyError<S, D> where
    D: Unpin,
    S: Unpin

impl<S, D> UnwindSafe for CopyError<S, D> where
    D: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.