pub trait DeviceSliceIndex<T: DeviceCopy> {
    unsafe fn get_unchecked(self, slice: &DeviceSlice<T>) -> DeviceSlice<T>;
fn index(self, slice: &DeviceSlice<T>) -> DeviceSlice<T>; }

Required methods

Indexes into this slice without checking if it is in-bounds.

Safety

The range must be in-bounds of the slice.

Implementations on Foreign Types

Implementors