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

Method index_mut

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

Source from the content-addressed store, hash-verified

166impl<A: Array, I: SliceIndex<[A::Item]>> IndexMut<I> for TinyVec<A> {
167 #[inline(always)]
168 fn index_mut(&mut self, index: I) -> &mut Self::Output {
169 &mut self.deref_mut()[index]
170 }
171}
172
173#[cfg(feature = "std")]

Callers

nothing calls this directly

Calls 1

deref_mutMethod · 0.45

Tested by

no test coverage detected