pub type ImageCopyBuffer = ImageCopyBuffer<BufferId>;

Aliased Type§

struct ImageCopyBuffer {
    pub buffer: Id<Buffer<Api>>,
    pub layout: ImageDataLayout,
}

Fields§

§buffer: Id<Buffer<Api>>

The buffer to be copied to/from.

§layout: ImageDataLayout

The layout of the texture data in this buffer.

Trait Implementations

source§

impl<B> Copy for ImageCopyBuffer<B>
where B: Copy,

source§

impl<B> Debug for ImageCopyBuffer<B>
where B: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<B> Clone for ImageCopyBuffer<B>
where B: Clone,

source§

fn clone(&self) -> ImageCopyBuffer<B>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more