[][src]Struct gfx_hal::command::ImageCopy

pub struct ImageCopy {
    pub src_subresource: SubresourceLayers,
    pub src_offset: Offset,
    pub dst_subresource: SubresourceLayers,
    pub dst_offset: Offset,
    pub extent: Extent,
}

Bundles together all the parameters needed to copy data from one Image to another.

Fields

src_subresource: SubresourceLayers

The image subresource to copy from.

src_offset: Offset

The source offset.

dst_subresource: SubresourceLayers

The image subresource to copy to.

dst_offset: Offset

The destination offset.

extent: Extent

The extent of the region to copy.

Trait Implementations

impl Clone for ImageCopy[src]

impl Debug for ImageCopy[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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