#[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
Native structure VkImageCopy.
Fields§
§src_subresource: ImageSubresourceLayersNative field srcSubresource.
src_offset: Offset3DNative field srcOffset.
dst_subresource: ImageSubresourceLayersNative field dstSubresource.
dst_offset: Offset3DNative field dstOffset.
extent: Extent3DNative field extent.
Implementations§
Source§impl ImageCopy
impl ImageCopy
Sourcepub fn set_src_subresource(self, value: ImageSubresourceLayers) -> Self
pub fn set_src_subresource(self, value: ImageSubresourceLayers) -> Self
Set native field srcSubresource without native effects.
Sourcepub fn set_src_offset(self, value: Offset3D) -> Self
pub fn set_src_offset(self, value: Offset3D) -> Self
Set native field srcOffset without native effects.
Sourcepub fn set_dst_subresource(self, value: ImageSubresourceLayers) -> Self
pub fn set_dst_subresource(self, value: ImageSubresourceLayers) -> Self
Set native field dstSubresource without native effects.
Sourcepub fn set_dst_offset(self, value: Offset3D) -> Self
pub fn set_dst_offset(self, value: Offset3D) -> Self
Set native field dstOffset without native effects.
Sourcepub fn set_extent(self, value: Extent3D) -> Self
pub fn set_extent(self, value: Extent3D) -> Self
Set native field extent without native effects.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ImageCopy
impl Freeze for ImageCopy
impl Move for ImageCopy
impl RefUnwindSafe for ImageCopy
impl Send for ImageCopy
impl Sync for ImageCopy
impl Unpin for ImageCopy
impl UnsafeUnpin 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