pub type CopyBufferInfo2KHR<'a> = CopyBufferInfo2<'a>;
Aliased Type§
struct CopyBufferInfo2KHR<'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 ()>,
}
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 more