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

Method index

src/tinyvec.rs:161–163  ·  view source on GitHub ↗
(&self, index: I)

Source from the content-addressed store, hash-verified

159 type Output = <I as SliceIndex<[A::Item]>>::Output;
160 #[inline(always)]
161 fn index(&self, index: I) -> &Self::Output {
162 &self.deref()[index]
163 }
164}
165
166impl<A: Array, I: SliceIndex<[A::Item]>> IndexMut<I> for TinyVec<A> {

Callers

nothing calls this directly

Calls 1

derefMethod · 0.45

Tested by

no test coverage detected