#[repr(C)]pub struct ImageCopy {
pub srcSubresource: ImageSubresourceLayers,
pub srcOffset: Offset3D,
pub dstSubresource: ImageSubresourceLayers,
pub dstOffset: Offset3D,
pub extent: Extent3D,
}Fields§
§srcSubresource: ImageSubresourceLayers§srcOffset: Offset3D§dstSubresource: ImageSubresourceLayers§dstOffset: Offset3D§extent: Extent3DImplementations§
Source§impl ImageCopy
impl ImageCopy
pub fn new() -> Self
pub fn srcSubresource(self, srcSubresource: ImageSubresourceLayers) -> Self
pub fn srcOffset(self, srcOffset: Offset3D) -> Self
pub fn dstSubresource(self, dstSubresource: ImageSubresourceLayers) -> Self
pub fn dstOffset(self, dstOffset: 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