#[repr(C)]pub struct ImageCopy2 {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_subresource: ImageSubresourceLayers,
pub src_offset: Offset3D,
pub dst_subresource: ImageSubresourceLayers,
pub dst_offset: Offset3D,
pub extent: Extent3D,
}Expand description
VkImageCopy2
Provided by VK_BASE_VERSION_1_3.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_IMAGE_COPY_2.
p_next: *const c_voidOptional, may be null.
src_subresource: ImageSubresourceLayers§src_offset: Offset3D§dst_subresource: ImageSubresourceLayers§dst_offset: Offset3D§extent: Extent3DImplementations§
Source§impl ImageCopy2
impl ImageCopy2
Sourcepub fn builder<'a>() -> ImageCopy2Builder<'a>
pub fn builder<'a>() -> ImageCopy2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ImageCopy2
impl Clone for ImageCopy2
Source§fn clone(&self) -> ImageCopy2
fn clone(&self) -> ImageCopy2
Returns a duplicate 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 moreSource§impl Debug for ImageCopy2
impl Debug for ImageCopy2
Source§impl Default for ImageCopy2
impl Default for ImageCopy2
impl Copy for ImageCopy2
Auto Trait Implementations§
impl Freeze for ImageCopy2
impl RefUnwindSafe for ImageCopy2
impl !Send for ImageCopy2
impl !Sync for ImageCopy2
impl Unpin for ImageCopy2
impl UnsafeUnpin for ImageCopy2
impl UnwindSafe for ImageCopy2
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