pub trait OptionalIndex<I>where
I: ?Sized,{
type Output: Clone + ?Sized;
// Required method
fn optional_index(&self, index: I) -> Option<&Self::Output>;
}
Expand description
Optional immutable index.
pub trait OptionalIndex<I>where
I: ?Sized,{
type Output: Clone + ?Sized;
// Required method
fn optional_index(&self, index: I) -> Option<&Self::Output>;
}
Optional immutable index.