Struct ash::vk::MemoryToImageCopyEXT
source · #[repr(C)]pub struct MemoryToImageCopyEXT<'a> {
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,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§p_host_pointer: *const 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> MemoryToImageCopyEXT<'a>
impl<'a> MemoryToImageCopyEXT<'a>
pub fn host_pointer(self, host_pointer: *const 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 MemoryToImageCopyEXT<'a>
impl<'a> Clone for MemoryToImageCopyEXT<'a>
source§fn clone(&self) -> MemoryToImageCopyEXT<'a>
fn clone(&self) -> MemoryToImageCopyEXT<'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 MemoryToImageCopyEXT<'a>
impl<'a> Debug for MemoryToImageCopyEXT<'a>
source§impl Default for MemoryToImageCopyEXT<'_>
impl Default for MemoryToImageCopyEXT<'_>
source§impl<'a> TaggedStructure for MemoryToImageCopyEXT<'a>
impl<'a> TaggedStructure for MemoryToImageCopyEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_TO_IMAGE_COPY_EXT
impl<'a> Copy for MemoryToImageCopyEXT<'a>
impl Send for MemoryToImageCopyEXT<'_>
impl Sync for MemoryToImageCopyEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryToImageCopyEXT<'a>
impl<'a> RefUnwindSafe for MemoryToImageCopyEXT<'a>
impl<'a> Unpin for MemoryToImageCopyEXT<'a>
impl<'a> UnwindSafe for MemoryToImageCopyEXT<'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