#[repr(C)]pub struct BufferImageCopy2 {
pub s_type: StructureType,
pub p_next: *const c_void,
pub buffer_offset: u64,
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§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2.
p_next: *const c_voidOptional, may be null.
buffer_offset: u64§buffer_row_length: u32§buffer_image_height: u32§image_subresource: ImageSubresourceLayers§image_offset: Offset3D§image_extent: Extent3DImplementations§
Source§impl BufferImageCopy2
impl BufferImageCopy2
Sourcepub fn builder<'a>() -> BufferImageCopy2Builder<'a>
pub fn builder<'a>() -> BufferImageCopy2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for BufferImageCopy2
impl Clone for BufferImageCopy2
Source§fn clone(&self) -> BufferImageCopy2
fn clone(&self) -> BufferImageCopy2
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 BufferImageCopy2
impl Debug for BufferImageCopy2
Source§impl Default for BufferImageCopy2
impl Default for BufferImageCopy2
Source§fn default() -> BufferImageCopy2
fn default() -> BufferImageCopy2
Returns the “default value” for a type. Read more
impl Copy for BufferImageCopy2
Auto Trait Implementations§
impl Freeze for BufferImageCopy2
impl RefUnwindSafe for BufferImageCopy2
impl !Send for BufferImageCopy2
impl !Sync for BufferImageCopy2
impl Unpin for BufferImageCopy2
impl UnsafeUnpin for BufferImageCopy2
impl UnwindSafe for BufferImageCopy2
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