pub trait Mutable {
type Key;
type Item;
// Required methods
fn set(&mut self, keys: &[Self::Key], new: &Self::Item);
fn remove(&mut self, keys: &[Self::Key]);
}Expand description
A trait to allow changing any Value.
pub trait Mutable {
type Key;
type Item;
// Required methods
fn set(&mut self, keys: &[Self::Key], new: &Self::Item);
fn remove(&mut self, keys: &[Self::Key]);
}A trait to allow changing any Value.