Trait litemap::store::StoreIterableMut

source ·
pub trait StoreIterableMut<'a, K: 'a, V: 'a>: StoreMut<K, V> + StoreIterable<'a, K, V> {
    type KeyValueIterMut: Iterator<Item = (&'a K, &'a mut V)> + DoubleEndedIterator + 'a;

    // Required method
    fn lm_iter_mut(&'a mut self) -> Self::KeyValueIterMut;
}

Required Associated Types§

Required Methods§

source

fn lm_iter_mut(&'a mut self) -> Self::KeyValueIterMut

Returns an iterator over key/value pairs, with a mutable value.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, K: 'a, V: 'a> StoreIterableMut<'a, K, V> for Vec<(K, V)>

§

type KeyValueIterMut = Map<IterMut<'a, (K, V)>, fn(_: &mut (K, V)) -> (&K, &mut V)>

source§

fn lm_iter_mut(&'a mut self) -> Self::KeyValueIterMut

Implementors§