pub trait Value<'map, 'elem: 'map>: Sized {
// Required methods
fn get_from_map(map: &'map Map<'elem>, key: &str) -> Result<Self>;
fn store_in_map(
map: &'map mut Map<'elem>,
key: &str,
x: &Self
) -> Result<()>;
}
Required Methods§
sourcefn get_from_map(map: &'map Map<'elem>, key: &str) -> Result<Self>
fn get_from_map(map: &'map Map<'elem>, key: &str) -> Result<Self>
Retrieves the value from the map.