pub struct ImageCopy {
pub src_subresource: SubresourceLayers,
pub src_offset: Offset,
pub dst_subresource: SubresourceLayers,
pub dst_offset: Offset,
pub extent: Extent,
}
Fields§
§src_subresource: SubresourceLayers
Layers of the source image.
src_offset: Offset
Initial x,y,z texel offsets in the subregion of the source image.
dst_subresource: SubresourceLayers
Layers of the destination image.
dst_offset: Offset
Initial x,y,z texel offsets in the subregion of the destination image.
extent: Extent
Size of texels to copy in the subregion of of the source/destination image.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageCopy
impl RefUnwindSafe for ImageCopy
impl Send for ImageCopy
impl Sync for ImageCopy
impl Unpin for ImageCopy
impl UnwindSafe for ImageCopy
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