Struct ash::vk::BufferImageCopy
source · #[repr(C)]pub struct BufferImageCopy {
pub buffer_offset: DeviceSize,
pub buffer_row_length: u32,
pub buffer_image_height: u32,
pub image_subresource: ImageSubresourceLayers,
pub image_offset: Offset3D,
pub image_extent: Extent3D,
}
Expand description
Fields§
§buffer_offset: DeviceSize
§buffer_row_length: u32
§buffer_image_height: u32
§image_subresource: ImageSubresourceLayers
§image_offset: Offset3D
§image_extent: Extent3D
Implementations§
source§impl BufferImageCopy
impl BufferImageCopy
pub fn buffer_offset(self, buffer_offset: DeviceSize) -> Self
pub fn buffer_row_length(self, buffer_row_length: u32) -> Self
pub fn buffer_image_height(self, buffer_image_height: u32) -> Self
pub fn image_subresource( self, image_subresource: ImageSubresourceLayers, ) -> Self
pub fn image_offset(self, image_offset: Offset3D) -> Self
pub fn image_extent(self, image_extent: Extent3D) -> Self
Trait Implementations§
source§impl Clone for BufferImageCopy
impl Clone for BufferImageCopy
source§fn clone(&self) -> BufferImageCopy
fn clone(&self) -> BufferImageCopy
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 Debug for BufferImageCopy
impl Debug for BufferImageCopy
source§impl Default for BufferImageCopy
impl Default for BufferImageCopy
source§fn default() -> BufferImageCopy
fn default() -> BufferImageCopy
Returns the “default value” for a type. Read more
impl Copy for BufferImageCopy
Auto Trait Implementations§
impl Freeze for BufferImageCopy
impl RefUnwindSafe for BufferImageCopy
impl Send for BufferImageCopy
impl Sync for BufferImageCopy
impl Unpin for BufferImageCopy
impl UnwindSafe for BufferImageCopy
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
)