pub trait StridableLabel: ToOwned<Owned: BorrowMut<Self>> {
type Word: Default + Copy;
// Required methods
fn from_stride(stride: &[Self::Word]) -> &Self;
fn swap_with_stride(&mut self, stride: &mut [Self::Word]);
}Expand description
A Label that is a view over a slice of an array
Required Associated Types§
Required Methods§
fn from_stride(stride: &[Self::Word]) -> &Self
fn swap_with_stride(&mut self, stride: &mut [Self::Word])
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.