#[repr(C)]pub struct ImageCopy {
pub src_subresource: ImageSubresourceLayers,
pub src_offset: Offset3D,
pub dst_subresource: ImageSubresourceLayers,
pub dst_offset: Offset3D,
pub extent: Extent3D,
}
Expand description
Fields§
§src_subresource: ImageSubresourceLayers
§src_offset: Offset3D
§dst_subresource: ImageSubresourceLayers
§dst_offset: Offset3D
§extent: Extent3D
Implementations§
source§impl ImageCopy
impl ImageCopy
pub fn src_subresource(self, src_subresource: ImageSubresourceLayers) -> Self
pub fn src_offset(self, src_offset: Offset3D) -> Self
pub fn dst_subresource(self, dst_subresource: ImageSubresourceLayers) -> Self
pub fn dst_offset(self, dst_offset: Offset3D) -> Self
pub fn extent(self, extent: Extent3D) -> Self
Trait Implementations§
impl Copy for ImageCopy
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