pub type UnionFindHashMap<K> = UnionFind<HashMap<K, Cell<K>>>;
Expand description
std::collections::HashMap
-backed UnionFind
lattice.
Aliased Type§
struct UnionFindHashMap<K>(/* private fields */);
Implementations
Source§impl<Map> UnionFind<Map>
impl<Map> UnionFind<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> Atomize for UnionFind<Map>
impl<Map, K> Atomize for UnionFind<Map>
Source§impl<Map> DeepReveal for UnionFind<Map>
impl<Map> DeepReveal for UnionFind<Map>
Source§impl<'de, Map> Deserialize<'de> for UnionFind<Map>where
Map: Deserialize<'de>,
impl<'de, Map> Deserialize<'de> for UnionFind<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> LatticeFrom<UnionFind<MapOther>> for UnionFind<MapSelf>where
MapSelf: Keyed<Key = K, Item = Cell<K>> + FromIterator<(K, Cell<K>)>,
MapOther: IntoIterator<Item = (K, Cell<K>)>,
K: Copy + Eq,
impl<MapSelf, MapOther, K> LatticeFrom<UnionFind<MapOther>> for UnionFind<MapSelf>where
MapSelf: Keyed<Key = K, Item = Cell<K>> + FromIterator<(K, Cell<K>)>,
MapOther: IntoIterator<Item = (K, Cell<K>)>,
K: Copy + Eq,
Source§fn lattice_from(other: UnionFind<MapOther>) -> Self
fn lattice_from(other: UnionFind<MapOther>) -> Self
Convert from the
Other
lattice into Self
.