pub trait SoaIndex<T>where
T: Soars,{
type Output<'a>
where T: 'a;
type OutputMut<'a>
where T: 'a;
// Required methods
fn get(self, slice: &Slice<T>) -> Option<Self::Output<'_>>;
fn get_mut(self, slice: &mut Slice<T>) -> Option<Self::OutputMut<'_>>;
}
Expand description
A helper trait for indexing operations.
Required Associated Types§
Required Methods§
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.