MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / values_mut

Method values_mut

src/entity/sparse.rs:270–274  ·  view source on GitHub ↗
(
        &mut self,
    )

Source from the content-addressed store, hash-verified

268 pub fn values_mut(
269 &mut self,
270 ) -> impl DoubleEndedIterator<Item = &mut V> + ExactSizeIterator + '_ {
271 self.dense.iter_mut().map(|(_k, v)| v)
272 }
273
274 /// Return an owning iterator over the values of the map.
275 #[inline]
276 pub fn into_values(self) -> impl DoubleEndedIterator<Item = V> + ExactSizeIterator {
277 self.dense.into_iter().map(|(_k, v)| v)

Callers 3

clearMethod · 0.45
runMethod · 0.45
remove_valueMethod · 0.45

Calls 2

mapMethod · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected