#[repr(C)]pub struct BufferCopy2 {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_offset: u64,
pub dst_offset: u64,
pub size: u64,
}Expand description
VkBufferCopy2
Provided by VK_BASE_VERSION_1_3.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_BUFFER_COPY_2.
p_next: *const c_voidOptional, may be null.
src_offset: u64§dst_offset: u64§size: u64Implementations§
Source§impl BufferCopy2
impl BufferCopy2
Sourcepub fn builder<'a>() -> BufferCopy2Builder<'a>
pub fn builder<'a>() -> BufferCopy2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for BufferCopy2
impl Clone for BufferCopy2
Source§fn clone(&self) -> BufferCopy2
fn clone(&self) -> BufferCopy2
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 BufferCopy2
impl Debug for BufferCopy2
Source§impl Default for BufferCopy2
impl Default for BufferCopy2
Source§fn default() -> BufferCopy2
fn default() -> BufferCopy2
Returns the “default value” for a type. Read more
impl Copy for BufferCopy2
Auto Trait Implementations§
impl Freeze for BufferCopy2
impl RefUnwindSafe for BufferCopy2
impl !Send for BufferCopy2
impl !Sync for BufferCopy2
impl Unpin for BufferCopy2
impl UnsafeUnpin for BufferCopy2
impl UnwindSafe for BufferCopy2
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