#[repr(C)]pub struct CopyMemoryToImageInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: HostImageCopyFlags,
pub dst_image: Image,
pub dst_image_layout: ImageLayout,
pub region_count: u32,
pub p_regions: *const MemoryToImageCopy<'a>,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§flags: HostImageCopyFlags§dst_image: Image§dst_image_layout: ImageLayout§region_count: u32§p_regions: *const MemoryToImageCopy<'a>§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> CopyMemoryToImageInfo<'a>
impl<'a> CopyMemoryToImageInfo<'a>
pub fn flags(self, flags: HostImageCopyFlags) -> Self
pub fn dst_image(self, dst_image: Image) -> Self
pub fn dst_image_layout(self, dst_image_layout: ImageLayout) -> Self
pub fn regions(self, regions: &'a [MemoryToImageCopy<'a>]) -> Self
Trait Implementations§
Source§impl<'a> Clone for CopyMemoryToImageInfo<'a>
impl<'a> Clone for CopyMemoryToImageInfo<'a>
Source§fn clone(&self) -> CopyMemoryToImageInfo<'a>
fn clone(&self) -> CopyMemoryToImageInfo<'a>
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<'a> Debug for CopyMemoryToImageInfo<'a>
impl<'a> Debug for CopyMemoryToImageInfo<'a>
Source§impl Default for CopyMemoryToImageInfo<'_>
impl Default for CopyMemoryToImageInfo<'_>
Source§impl<'a> TaggedStructure for CopyMemoryToImageInfo<'a>
impl<'a> TaggedStructure for CopyMemoryToImageInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COPY_MEMORY_TO_IMAGE_INFO
impl<'a> Copy for CopyMemoryToImageInfo<'a>
impl Send for CopyMemoryToImageInfo<'_>
impl Sync for CopyMemoryToImageInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for CopyMemoryToImageInfo<'a>
impl<'a> RefUnwindSafe for CopyMemoryToImageInfo<'a>
impl<'a> Unpin for CopyMemoryToImageInfo<'a>
impl<'a> UnwindSafe for CopyMemoryToImageInfo<'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