pub trait Map1 {
// Required method
fn f<T: WithDType>(&self, vs: &[T], layout: &Layout) -> Result<Vec<T>>;
// Provided method
fn map(&self, vs: &CpuStorage, layout: &Layout) -> Result<CpuStorage> { ... }
}
Required Methods§
Provided Methods§
fn map(&self, vs: &CpuStorage, layout: &Layout) -> Result<CpuStorage>
Object Safety§
This trait is not object safe.