1use crate::GpuArray; 2 3impl GpuArray { 4 pub fn index(&self, index: &[u32]) -> Result<GpuArray, crate::ArrOgpuErr> { 5 self.module.index(self, index) 6 } 7}