#[repr(C)]pub struct ImageToMemoryCopy {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_host_pointer: *mut 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
VkImageToMemoryCopy
Provided by VK_BASE_VERSION_1_4.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_IMAGE_TO_MEMORY_COPY.
p_next: *const c_voidOptional, may be null.
p_host_pointer: *mut c_void§memory_row_length: u32§memory_image_height: u32§image_subresource: ImageSubresourceLayers§image_offset: Offset3D§image_extent: Extent3DImplementations§
Source§impl ImageToMemoryCopy
impl ImageToMemoryCopy
Sourcepub fn builder<'a>() -> ImageToMemoryCopyBuilder<'a>
pub fn builder<'a>() -> ImageToMemoryCopyBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for ImageToMemoryCopy
impl Clone for ImageToMemoryCopy
Source§fn clone(&self) -> ImageToMemoryCopy
fn clone(&self) -> ImageToMemoryCopy
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 ImageToMemoryCopy
impl Debug for ImageToMemoryCopy
Source§impl Default for ImageToMemoryCopy
impl Default for ImageToMemoryCopy
impl Copy for ImageToMemoryCopy
Auto Trait Implementations§
impl Freeze for ImageToMemoryCopy
impl RefUnwindSafe for ImageToMemoryCopy
impl !Send for ImageToMemoryCopy
impl !Sync for ImageToMemoryCopy
impl Unpin for ImageToMemoryCopy
impl UnsafeUnpin for ImageToMemoryCopy
impl UnwindSafe for ImageToMemoryCopy
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