DeviceIndexSelectAPI

Trait DeviceIndexSelectAPI 

Source
pub trait DeviceIndexSelectAPI<T, D>{
    // Required method
    fn index_select(
        &self,
        c: &mut <Self as DeviceRawAPI<MaybeUninit<T>>>::Raw,
        lc: &Layout<D>,
        a: &<Self as DeviceRawAPI<T>>::Raw,
        la: &Layout<D>,
        axis: usize,
        indices: &[usize],
    ) -> Result<()>;
}

Required Methods§

Source

fn index_select( &self, c: &mut <Self as DeviceRawAPI<MaybeUninit<T>>>::Raw, lc: &Layout<D>, a: &<Self as DeviceRawAPI<T>>::Raw, la: &Layout<D>, axis: usize, indices: &[usize], ) -> Result<()>

Index select on one axis.

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§