#[repr(C)]pub struct CopyImageInfo2 {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_image: Image,
pub src_image_layout: ImageLayout,
pub dst_image: Image,
pub dst_image_layout: ImageLayout,
pub region_count: u32,
pub p_regions: *const ImageCopy2,
}Expand description
VkCopyImageInfo2
Provided by VK_BASE_VERSION_1_3.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2.
p_next: *const c_voidOptional, may be null.
src_image: Image§src_image_layout: ImageLayout§dst_image: Image§dst_image_layout: ImageLayout§region_count: u32Length of p_regions.
p_regions: *const ImageCopy2Implementations§
Source§impl CopyImageInfo2
impl CopyImageInfo2
Sourcepub fn builder<'a>() -> CopyImageInfo2Builder<'a>
pub fn builder<'a>() -> CopyImageInfo2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for CopyImageInfo2
impl Clone for CopyImageInfo2
Source§fn clone(&self) -> CopyImageInfo2
fn clone(&self) -> CopyImageInfo2
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 CopyImageInfo2
impl Debug for CopyImageInfo2
Source§impl Default for CopyImageInfo2
impl Default for CopyImageInfo2
Source§fn default() -> CopyImageInfo2
fn default() -> CopyImageInfo2
Returns the “default value” for a type. Read more
impl Copy for CopyImageInfo2
Auto Trait Implementations§
impl Freeze for CopyImageInfo2
impl RefUnwindSafe for CopyImageInfo2
impl !Send for CopyImageInfo2
impl !Sync for CopyImageInfo2
impl Unpin for CopyImageInfo2
impl UnsafeUnpin for CopyImageInfo2
impl UnwindSafe for CopyImageInfo2
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