pub type MapUnionHashMap<K, Val> = MapUnion<HashMap<K, Val>>;
Expand description
std::collections::HashMap
-backed MapUnion
lattice.
Aliased Type§
struct MapUnionHashMap<K, Val>(/* private fields */);
Implementations
Source§impl<Map> MapUnion<Map>
impl<Map> MapUnion<Map>
Sourcepub fn as_reveal_ref(&self) -> &Map
pub fn as_reveal_ref(&self) -> &Map
Reveal the inner value as a shared reference.
Sourcepub fn as_reveal_mut(&mut self) -> &mut Map
pub fn as_reveal_mut(&mut self) -> &mut Map
Reveal the inner value as an exclusive reference.
Sourcepub fn into_reveal(self) -> Map
pub fn into_reveal(self) -> Map
Gets the inner by value, consuming self.
Trait Implementations
Source§impl<Map, K, Val> Atomize for MapUnion<Map>where
Map: 'static + IntoIterator<Item = (K, Val)> + Keyed<Key = K, Item = Val> + Extend<(K, Val)> + for<'a> GetMut<&'a K, Item = Val>,
K: 'static + Clone,
Val: 'static + Atomize + LatticeFrom<<Val as Atomize>::Atom>,
impl<Map, K, Val> Atomize for MapUnion<Map>where
Map: 'static + IntoIterator<Item = (K, Val)> + Keyed<Key = K, Item = Val> + Extend<(K, Val)> + for<'a> GetMut<&'a K, Item = Val>,
K: 'static + Clone,
Val: 'static + Atomize + LatticeFrom<<Val as Atomize>::Atom>,
Source§impl<Map, Val> DeepReveal for MapUnion<Map>where
Map: Keyed<Item = Val> + MapMapValues<Val>,
Val: DeepReveal,
impl<Map, Val> DeepReveal for MapUnion<Map>where
Map: Keyed<Item = Val> + MapMapValues<Val>,
Val: DeepReveal,
Source§type Revealed = <Map as MapMapValues<Val>>::MapValue<<Val as DeepReveal>::Revealed>
type Revealed = <Map as MapMapValues<Val>>::MapValue<<Val as DeepReveal>::Revealed>
The underlying type when revealed.
Source§fn deep_reveal(self) -> Self::Revealed
fn deep_reveal(self) -> Self::Revealed
Reveals the underlying lattice types recursively.
Source§impl<'de, Map> Deserialize<'de> for MapUnion<Map>where
Map: Deserialize<'de>,
impl<'de, Map> Deserialize<'de> for MapUnion<Map>where
Map: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<MapSelf, MapOther, K, ValSelf, ValOther> LatticeFrom<MapUnion<MapOther>> for MapUnion<MapSelf>where
MapSelf: Keyed<Key = K, Item = ValSelf> + FromIterator<(K, ValSelf)>,
MapOther: IntoIterator<Item = (K, ValOther)>,
ValSelf: LatticeFrom<ValOther>,
impl<MapSelf, MapOther, K, ValSelf, ValOther> LatticeFrom<MapUnion<MapOther>> for MapUnion<MapSelf>where
MapSelf: Keyed<Key = K, Item = ValSelf> + FromIterator<(K, ValSelf)>,
MapOther: IntoIterator<Item = (K, ValOther)>,
ValSelf: LatticeFrom<ValOther>,
Source§fn lattice_from(other: MapUnion<MapOther>) -> Self
fn lattice_from(other: MapUnion<MapOther>) -> Self
Convert from the
Other
lattice into Self
.