DeviceNumAPI

Trait DeviceNumAPI 

Source
pub trait DeviceNumAPI<T, D = Vec<usize>>:
    DeviceAPI<T>
    + DeviceCreationNumAPI<T>
    + DeviceCreationAnyAPI<T>
    + OpAssignArbitaryAPI<T, D, D>
    + OpAssignArbitaryAPI<T, D, Vec<usize>>
    + OpAssignArbitaryAPI<T, Vec<usize>, D>
    + OpAssignArbitaryAPI<T, Vec<usize>, Vec<usize>>
    + OpAssignAPI<T, D>
    + OpAssignAPI<T, Vec<usize>>
where T: Num, D: DimAPI,
{ }

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, D> DeviceNumAPI<T, D> for DeviceOpenBLAS
where T: Clone + Num + Send + Sync, D: DimAPI,

Source§

impl<T, D> DeviceNumAPI<T, D> for DeviceCpuSerial
where T: Clone + Num, D: DimAPI,