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