Struct ash::vk::definitions::CopyBufferInfo2
source · #[repr(C)]pub struct CopyBufferInfo2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_buffer: Buffer,
pub dst_buffer: Buffer,
pub region_count: u32,
pub p_regions: *const BufferCopy2<'a>,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§src_buffer: Buffer
§dst_buffer: Buffer
§region_count: u32
§p_regions: *const BufferCopy2<'a>
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CopyBufferInfo2<'a>
impl<'a> CopyBufferInfo2<'a>
pub fn src_buffer(self, src_buffer: Buffer) -> Self
pub fn dst_buffer(self, dst_buffer: Buffer) -> Self
pub fn regions(self, regions: &'a [BufferCopy2<'a>]) -> Self
Trait Implementations§
source§impl<'a> Clone for CopyBufferInfo2<'a>
impl<'a> Clone for CopyBufferInfo2<'a>
source§fn clone(&self) -> CopyBufferInfo2<'a>
fn clone(&self) -> CopyBufferInfo2<'a>
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<'a> Debug for CopyBufferInfo2<'a>
impl<'a> Debug for CopyBufferInfo2<'a>
source§impl Default for CopyBufferInfo2<'_>
impl Default for CopyBufferInfo2<'_>
source§impl<'a> TaggedStructure for CopyBufferInfo2<'a>
impl<'a> TaggedStructure for CopyBufferInfo2<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COPY_BUFFER_INFO_2
impl<'a> Copy for CopyBufferInfo2<'a>
impl Send for CopyBufferInfo2<'_>
impl Sync for CopyBufferInfo2<'_>
Auto Trait Implementations§
impl<'a> Freeze for CopyBufferInfo2<'a>
impl<'a> RefUnwindSafe for CopyBufferInfo2<'a>
impl<'a> Unpin for CopyBufferInfo2<'a>
impl<'a> UnwindSafe for CopyBufferInfo2<'a>
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