#[repr(C)]pub struct ImageBlit {
pub src_subresource: ImageSubresourceLayers,
pub src_offsets: [Offset3D; 2],
pub dst_subresource: ImageSubresourceLayers,
pub dst_offsets: [Offset3D; 2],
}Expand description
Native structure VkImageBlit.
Fields§
§src_subresource: ImageSubresourceLayersNative field srcSubresource.
src_offsets: [Offset3D; 2]Native field srcOffsets.
dst_subresource: ImageSubresourceLayersNative field dstSubresource.
dst_offsets: [Offset3D; 2]Native field dstOffsets.
Implementations§
Source§impl ImageBlit
impl ImageBlit
Sourcepub fn set_src_subresource(self, value: ImageSubresourceLayers) -> Self
pub fn set_src_subresource(self, value: ImageSubresourceLayers) -> Self
Set native field srcSubresource without native effects.
Sourcepub fn set_src_offsets(self, value: [Offset3D; 2]) -> Self
pub fn set_src_offsets(self, value: [Offset3D; 2]) -> Self
Set native field srcOffsets without native effects.
Sourcepub fn set_dst_subresource(self, value: ImageSubresourceLayers) -> Self
pub fn set_dst_subresource(self, value: ImageSubresourceLayers) -> Self
Set native field dstSubresource without native effects.
Sourcepub fn set_dst_offsets(self, value: [Offset3D; 2]) -> Self
pub fn set_dst_offsets(self, value: [Offset3D; 2]) -> Self
Set native field dstOffsets without native effects.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ImageBlit
impl Freeze for ImageBlit
impl Move for ImageBlit
impl RefUnwindSafe for ImageBlit
impl Send for ImageBlit
impl Sync for ImageBlit
impl Unpin for ImageBlit
impl UnsafeUnpin for ImageBlit
impl UnwindSafe for ImageBlit
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