DeviceNumAPI

Trait DeviceNumAPI 

Source
pub trait DeviceNumAPI<T, D = IxD>:
    DeviceAPI<T>
    + DeviceCreationNumAPI<T>
    + DeviceCreationAnyAPI<T>
    + OpAssignArbitaryAPI<T, D, D>
    + OpAssignArbitaryAPI<T, D, IxD>
    + OpAssignArbitaryAPI<T, IxD, D>
    + OpAssignArbitaryAPI<T, IxD, IxD>
    + OpAssignAPI<T, D>
    + OpAssignAPI<T, IxD>
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 DeviceCpuSerial
where T: Clone + Num, D: DimAPI,

Source§

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