pub struct BufferImageCopy {
pub buffer_offset: u64,
pub buffer_layout: MemoryLayout,
pub image_subresource: SubresourceLayers,
pub image_offset: Offset,
pub image_extent: Extent,
}
Fields§
§buffer_offset: u64
Offset in bytes from the start of the source/destination buffer.
buffer_layout: MemoryLayout
Layout of the source/destination buffer.
image_subresource: SubresourceLayers
Layers of the source/destination image.
image_offset: Offset
Initial x,y,z texel offsets in the subregion of the source/destination image.
image_extent: Extent
Size of texels to copy in the subregion of of the source/destination image.
Trait Implementations§
Source§impl Clone for BufferImageCopy
impl Clone for BufferImageCopy
Source§fn clone(&self) -> BufferImageCopy
fn clone(&self) -> BufferImageCopy
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 moreAuto Trait Implementations§
impl Freeze for BufferImageCopy
impl RefUnwindSafe for BufferImageCopy
impl Send for BufferImageCopy
impl Sync for BufferImageCopy
impl Unpin for BufferImageCopy
impl UnwindSafe for BufferImageCopy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more