GpuBufferExt

Trait GpuBufferExt 

Source
pub trait GpuBufferExt<T: GpuDataType> {
    // Required methods
    fn to_host(&self) -> Result<Vec<T>, GpuError>;
    fn to_host_range(&self, range: Range<usize>) -> Result<Vec<T>, GpuError>;
}

Required Methods§

Source

fn to_host(&self) -> Result<Vec<T>, GpuError>

Source

fn to_host_range(&self, range: Range<usize>) -> Result<Vec<T>, GpuError>

Implementors§