#[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
Fields§
§src_subresource: ImageSubresourceLayers
§src_offsets: [Offset3D; 2]
§dst_subresource: ImageSubresourceLayers
§dst_offsets: [Offset3D; 2]
Implementations§
source§impl ImageBlit
impl ImageBlit
pub fn src_subresource(self, src_subresource: ImageSubresourceLayers) -> Self
pub fn src_offsets(self, src_offsets: [Offset3D; 2]) -> Self
pub fn dst_subresource(self, dst_subresource: ImageSubresourceLayers) -> Self
pub fn dst_offsets(self, dst_offsets: [Offset3D; 2]) -> Self
Trait Implementations§
impl Copy for ImageBlit
Auto Trait Implementations§
impl Freeze for ImageBlit
impl RefUnwindSafe for ImageBlit
impl Send for ImageBlit
impl Sync for ImageBlit
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)