OnesAPI

Trait OnesAPI 

Source
pub trait OnesAPI<Inp> {
    type Out;

    // Required method
    fn ones_f(self) -> Result<Self::Out, Error>;

    // Provided method
    fn ones(self) -> Self::Out
       where Self: Sized { ... }
}

Required Associated Types§

Required Methods§

Source

fn ones_f(self) -> Result<Self::Out, Error>

Provided Methods§

Source

fn ones(self) -> Self::Out
where Self: Sized,

Implementations on Foreign Types§

Source§

impl<T, D> OnesAPI<(T, D)> for (D, FlagOrder)
where T: Num + Clone, D: DimAPI,

Source§

impl<T, D, B> OnesAPI<(T, D)> for (Layout<D>, &B)
where T: Num, D: DimAPI, B: DeviceAPI<T> + DeviceCreationNumAPI<T>,

Source§

impl<T, D, B> OnesAPI<(T, D)> for (D, FlagOrder, &B)
where T: Num, D: DimAPI, B: DeviceAPI<T> + DeviceCreationNumAPI<T>,

Source§

impl<T, D, B> OnesAPI<(T, D)> for (D, &B)
where T: Num, D: DimAPI, B: DeviceAPI<T> + DeviceCreationNumAPI<T>,

Implementors§