pub trait DeviceIndexSelectAPI<T, D>{
// Required method
fn index_select(
&self,
c: &mut <Self as DeviceRawAPI<T>>::Raw,
lc: &Layout<D>,
a: &<Self as DeviceRawAPI<T>>::Raw,
la: &Layout<D>,
axis: usize,
indices: &[usize],
) -> Result<()>;
}
Required Methods§
Sourcefn index_select(
&self,
c: &mut <Self as DeviceRawAPI<T>>::Raw,
lc: &Layout<D>,
a: &<Self as DeviceRawAPI<T>>::Raw,
la: &Layout<D>,
axis: usize,
indices: &[usize],
) -> Result<()>
fn index_select( &self, c: &mut <Self as DeviceRawAPI<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.