MCPcopy Create free account
hub / github.com/Lokathor/tinyvec / index

Method index

src/arrayvec.rs:173–175  ·  view source on GitHub ↗
(&self, index: I)

Source from the content-addressed store, hash-verified

171 type Output = <I as SliceIndex<[A::Item]>>::Output;
172 #[inline(always)]
173 fn index(&self, index: I) -> &Self::Output {
174 &self.deref()[index]
175 }
176}
177
178impl<A: Array, I: SliceIndex<[A::Item]>> IndexMut<I> for ArrayVec<A> {

Callers

nothing calls this directly

Calls 1

derefMethod · 0.45

Tested by

no test coverage detected