#[repr(C)]pub struct ImageBlit2 {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_subresource: ImageSubresourceLayers,
pub src_offsets: [Offset3D; 2],
pub dst_subresource: ImageSubresourceLayers,
pub dst_offsets: [Offset3D; 2],
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_IMAGE_BLIT_2.
p_next: *const c_voidOptional, may be null.
src_subresource: ImageSubresourceLayers§src_offsets: [Offset3D; 2]§dst_subresource: ImageSubresourceLayers§dst_offsets: [Offset3D; 2]Implementations§
Source§impl ImageBlit2
impl ImageBlit2
Sourcepub fn builder<'a>() -> ImageBlit2Builder<'a>
pub fn builder<'a>() -> ImageBlit2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ImageBlit2
impl Clone for ImageBlit2
Source§fn clone(&self) -> ImageBlit2
fn clone(&self) -> ImageBlit2
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 ImageBlit2
impl Debug for ImageBlit2
Source§impl Default for ImageBlit2
impl Default for ImageBlit2
Source§fn default() -> ImageBlit2
fn default() -> ImageBlit2
Returns the “default value” for a type. Read more
impl Copy for ImageBlit2
Auto Trait Implementations§
impl Freeze for ImageBlit2
impl RefUnwindSafe for ImageBlit2
impl !Send for ImageBlit2
impl !Sync for ImageBlit2
impl Unpin for ImageBlit2
impl UnsafeUnpin for ImageBlit2
impl UnwindSafe for ImageBlit2
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