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

Method index_mut

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

Source from the content-addressed store, hash-verified

178impl<A: Array, I: SliceIndex<[A::Item]>> IndexMut<I> for ArrayVec<A> {
179 #[inline(always)]
180 fn index_mut(&mut self, index: I) -> &mut Self::Output {
181 &mut self.deref_mut()[index]
182 }
183}
184
185#[cfg(feature = "serde")]

Callers

nothing calls this directly

Calls 1

deref_mutMethod · 0.45

Tested by

no test coverage detected