Skip to main content

StoreBulkMut

Trait StoreBulkMut 

Source
pub trait StoreBulkMut<K, V>: StoreMut<K, V> {
    // Required methods
    fn lm_retain<F>(&mut self, predicate: F)
       where F: FnMut(&K, &V) -> bool;
    fn lm_extend<I>(&mut self, other: I)
       where I: IntoIterator<Item = (K, V)>;
}

Required Methods§

Source

fn lm_retain<F>(&mut self, predicate: F)
where F: FnMut(&K, &V) -> bool,

Retains items satisfying a predicate in this store.

Source

fn lm_extend<I>(&mut self, other: I)
where I: IntoIterator<Item = (K, V)>,

Extends this store with items from an iterator.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§