Trait rustacuda::memory::CopyDestination
source · pub trait CopyDestination<O: ?Sized>: Sealed {
fn copy_from(&mut self, source: &O) -> CudaResult<()>;
fn copy_to(&self, dest: &mut O) -> CudaResult<()>;
}
Expand description
Sealed trait implemented by types which can be the source or destination when copying data to/from the device or from one device allocation to another.