pub trait IndexRaw<Idx> {
type Output: ?Sized;
fn index_raw(this: Ref<'_, Self>, index: Idx) -> Ref<'_, Self::Output>;
unsafe fn index_raw_unchecked(
this: Ref<'_, Self>,
index: Idx
) -> Ref<'_, Self::Output>;
}Expand description
A variant of Index that works with raw references.