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