#[repr(C)]pub struct MemoryToImageCopy {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_host_pointer: *const c_void,
pub memory_row_length: u32,
pub memory_image_height: u32,
pub image_subresource: ImageSubresourceLayers,
pub image_offset: Offset3D,
pub image_extent: Extent3D,
}Expand description
VkMemoryToImageCopy
Provided by VK_BASE_VERSION_1_4.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_MEMORY_TO_IMAGE_COPY.
p_next: *const c_voidOptional, may be null.
p_host_pointer: *const c_void§memory_row_length: u32§memory_image_height: u32§image_subresource: ImageSubresourceLayers§image_offset: Offset3D§image_extent: Extent3DImplementations§
Source§impl MemoryToImageCopy
impl MemoryToImageCopy
Sourcepub fn builder<'a>() -> MemoryToImageCopyBuilder<'a>
pub fn builder<'a>() -> MemoryToImageCopyBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for MemoryToImageCopy
impl Clone for MemoryToImageCopy
Source§fn clone(&self) -> MemoryToImageCopy
fn clone(&self) -> MemoryToImageCopy
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 MemoryToImageCopy
impl Debug for MemoryToImageCopy
Source§impl Default for MemoryToImageCopy
impl Default for MemoryToImageCopy
impl Copy for MemoryToImageCopy
Auto Trait Implementations§
impl Freeze for MemoryToImageCopy
impl RefUnwindSafe for MemoryToImageCopy
impl !Send for MemoryToImageCopy
impl !Sync for MemoryToImageCopy
impl Unpin for MemoryToImageCopy
impl UnsafeUnpin for MemoryToImageCopy
impl UnwindSafe for MemoryToImageCopy
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