Struct ash::vk::ImageToMemoryCopyEXT
source · #[repr(C)]pub struct ImageToMemoryCopyEXT<'a> {
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,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§p_host_pointer: *mut c_void
§memory_row_length: u32
§memory_image_height: u32
§image_subresource: ImageSubresourceLayers
§image_offset: Offset3D
§image_extent: Extent3D
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ImageToMemoryCopyEXT<'a>
impl<'a> ImageToMemoryCopyEXT<'a>
pub fn host_pointer(self, host_pointer: *mut c_void) -> Self
pub fn memory_row_length(self, memory_row_length: u32) -> Self
pub fn memory_image_height(self, memory_image_height: u32) -> Self
pub fn image_subresource( self, image_subresource: ImageSubresourceLayers ) -> Self
pub fn image_offset(self, image_offset: Offset3D) -> Self
pub fn image_extent(self, image_extent: Extent3D) -> Self
Trait Implementations§
source§impl<'a> Clone for ImageToMemoryCopyEXT<'a>
impl<'a> Clone for ImageToMemoryCopyEXT<'a>
source§fn clone(&self) -> ImageToMemoryCopyEXT<'a>
fn clone(&self) -> ImageToMemoryCopyEXT<'a>
Returns a copy 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<'a> Debug for ImageToMemoryCopyEXT<'a>
impl<'a> Debug for ImageToMemoryCopyEXT<'a>
source§impl Default for ImageToMemoryCopyEXT<'_>
impl Default for ImageToMemoryCopyEXT<'_>
source§impl<'a> TaggedStructure for ImageToMemoryCopyEXT<'a>
impl<'a> TaggedStructure for ImageToMemoryCopyEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::IMAGE_TO_MEMORY_COPY_EXT
impl<'a> Copy for ImageToMemoryCopyEXT<'a>
impl Send for ImageToMemoryCopyEXT<'_>
impl Sync for ImageToMemoryCopyEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageToMemoryCopyEXT<'a>
impl<'a> RefUnwindSafe for ImageToMemoryCopyEXT<'a>
impl<'a> Unpin for ImageToMemoryCopyEXT<'a>
impl<'a> UnwindSafe for ImageToMemoryCopyEXT<'a>
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