Struct ash::vk::definitions::ImageCopy2
source · #[repr(C)]pub struct ImageCopy2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_subresource: ImageSubresourceLayers,
pub src_offset: Offset3D,
pub dst_subresource: ImageSubresourceLayers,
pub dst_offset: Offset3D,
pub extent: Extent3D,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§src_subresource: ImageSubresourceLayers
§src_offset: Offset3D
§dst_subresource: ImageSubresourceLayers
§dst_offset: Offset3D
§extent: Extent3D
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ImageCopy2<'a>
impl<'a> ImageCopy2<'a>
pub fn src_subresource(self, src_subresource: ImageSubresourceLayers) -> Self
pub fn src_offset(self, src_offset: Offset3D) -> Self
pub fn dst_subresource(self, dst_subresource: ImageSubresourceLayers) -> Self
pub fn dst_offset(self, dst_offset: Offset3D) -> Self
pub fn extent(self, extent: Extent3D) -> Self
Trait Implementations§
source§impl<'a> Clone for ImageCopy2<'a>
impl<'a> Clone for ImageCopy2<'a>
source§fn clone(&self) -> ImageCopy2<'a>
fn clone(&self) -> ImageCopy2<'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 ImageCopy2<'a>
impl<'a> Debug for ImageCopy2<'a>
source§impl Default for ImageCopy2<'_>
impl Default for ImageCopy2<'_>
source§impl<'a> TaggedStructure for ImageCopy2<'a>
impl<'a> TaggedStructure for ImageCopy2<'a>
const STRUCTURE_TYPE: StructureType = StructureType::IMAGE_COPY_2
impl<'a> Copy for ImageCopy2<'a>
impl Send for ImageCopy2<'_>
impl Sync for ImageCopy2<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageCopy2<'a>
impl<'a> RefUnwindSafe for ImageCopy2<'a>
impl<'a> Unpin for ImageCopy2<'a>
impl<'a> UnwindSafe for ImageCopy2<'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