pub trait NdArray {
// Required methods
fn shape(&self) -> Result<Shape>;
fn to_cpu_storage(&self) -> CpuStorage;
}Required Methods§
fn shape(&self) -> Result<Shape>
fn to_cpu_storage(&self) -> CpuStorage
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".