Type Alias wgpu_core::command::ImageCopyBuffer
source · 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
impl<B> Copy for ImageCopyBuffer<B>where
B: Copy,
source§impl<B> Debug for ImageCopyBuffer<B>where
B: Debug,
impl<B> Debug for ImageCopyBuffer<B>where
B: Debug,
source§impl<B> Clone for ImageCopyBuffer<B>where
B: Clone,
impl<B> Clone for ImageCopyBuffer<B>where
B: Clone,
source§fn clone(&self) -> ImageCopyBuffer<B>
fn clone(&self) -> ImageCopyBuffer<B>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more