pub trait Strided {
type Elem;
// Required method
fn as_stride(&self) -> Stride<'_, Self::Elem>;
// Provided method
fn stride(&self) -> usize { ... }
}
Expand description
Things that can be viewed as a series of equally spaced T
s in
memory.