pub trait TypedArray<T> { // Required methods fn as_slice(&self) -> &[T]; fn as_mut_slice(&self) -> &mut [T]; }