Struct vulkano::command_buffer::CopyBufferInfoTyped
source · [−]pub struct CopyBufferInfoTyped<S, D, T>where
S: TypedBufferAccess<Content = [T]>,
D: TypedBufferAccess<Content = [T]>,{
pub src_buffer: Arc<S>,
pub dst_buffer: Arc<D>,
pub regions: SmallVec<[BufferCopy; 1]>,
pub _ne: NonExhaustive,
}
Expand description
Parameters to copy data from a buffer to another buffer, with type information.
The fields of regions
represent elements of T
.
Fields
src_buffer: Arc<S>
The buffer to copy from.
There is no default value.
dst_buffer: Arc<D>
The buffer to copy to.
There is no default value.
regions: SmallVec<[BufferCopy; 1]>
The regions of both buffers to copy between, specified in elements of T
.
The default value is a single region, with zero offsets and a size
equal to the smallest
of the two buffers.
_ne: NonExhaustive
Implementations
sourceimpl<S, D, T> CopyBufferInfoTyped<S, D, T>where
S: TypedBufferAccess<Content = [T]>,
D: TypedBufferAccess<Content = [T]>,
impl<S, D, T> CopyBufferInfoTyped<S, D, T>where
S: TypedBufferAccess<Content = [T]>,
D: TypedBufferAccess<Content = [T]>,
Trait Implementations
sourceimpl<S: Clone, D: Clone, T: Clone> Clone for CopyBufferInfoTyped<S, D, T>where
S: TypedBufferAccess<Content = [T]>,
D: TypedBufferAccess<Content = [T]>,
impl<S: Clone, D: Clone, T: Clone> Clone for CopyBufferInfoTyped<S, D, T>where
S: TypedBufferAccess<Content = [T]>,
D: TypedBufferAccess<Content = [T]>,
sourcefn clone(&self) -> CopyBufferInfoTyped<S, D, T>
fn clone(&self) -> CopyBufferInfoTyped<S, D, T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<S: Debug, D: Debug, T: Debug> Debug for CopyBufferInfoTyped<S, D, T>where
S: TypedBufferAccess<Content = [T]>,
D: TypedBufferAccess<Content = [T]>,
impl<S: Debug, D: Debug, T: Debug> Debug for CopyBufferInfoTyped<S, D, T>where
S: TypedBufferAccess<Content = [T]>,
D: TypedBufferAccess<Content = [T]>,
sourceimpl<S, D, T> From<CopyBufferInfoTyped<S, D, T>> for CopyBufferInfowhere
S: TypedBufferAccess<Content = [T]> + 'static,
D: TypedBufferAccess<Content = [T]> + 'static,
impl<S, D, T> From<CopyBufferInfoTyped<S, D, T>> for CopyBufferInfowhere
S: TypedBufferAccess<Content = [T]> + 'static,
D: TypedBufferAccess<Content = [T]> + 'static,
sourcefn from(typed: CopyBufferInfoTyped<S, D, T>) -> Self
fn from(typed: CopyBufferInfoTyped<S, D, T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<S, D, T> RefUnwindSafe for CopyBufferInfoTyped<S, D, T>where
D: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, D, T> Send for CopyBufferInfoTyped<S, D, T>
impl<S, D, T> Sync for CopyBufferInfoTyped<S, D, T>
impl<S, D, T> Unpin for CopyBufferInfoTyped<S, D, T>
impl<S, D, T> UnwindSafe for CopyBufferInfoTyped<S, D, T>where
D: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more