Skip to main content

MemCopyD2H

Trait MemCopyD2H 

Source
pub trait MemCopyD2H<T> {
    // Required method
    fn to_host_on(
        &self,
        device_ctx: &GpuDeviceCtx,
    ) -> Result<Vec<T>, MemCopyError>;
}

Required Methods§

Source

fn to_host_on(&self, device_ctx: &GpuDeviceCtx) -> Result<Vec<T>, MemCopyError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§