pub type SetUnionSingletonSet<Item> = SetUnion<SingletonSet<Item>>;
Expand description
crate::collections::SingletonSet
-backed SetUnion
lattice.
Aliased Type§
struct SetUnionSingletonSet<Item>(pub SingletonSet<Item>);
Fields§
§0: SingletonSet<Item>
Implementations
Source§impl<Set> SetUnion<Set>
impl<Set> SetUnion<Set>
Sourcepub fn as_reveal_ref(&self) -> &Set
pub fn as_reveal_ref(&self) -> &Set
Reveal the inner value as a shared reference.
Sourcepub fn as_reveal_mut(&mut self) -> &mut Set
pub fn as_reveal_mut(&mut self) -> &mut Set
Reveal the inner value as an exclusive reference.
Sourcepub fn into_reveal(self) -> Set
pub fn into_reveal(self) -> Set
Gets the inner by value, consuming self.
Trait Implementations
Source§impl<Set, Item> Atomize for SetUnion<Set>
impl<Set, Item> Atomize for SetUnion<Set>
Source§impl<Set> DeepReveal for SetUnion<Set>
impl<Set> DeepReveal for SetUnion<Set>
Source§impl<'de, Set> Deserialize<'de> for SetUnion<Set>where
Set: Deserialize<'de>,
impl<'de, Set> Deserialize<'de> for SetUnion<Set>where
Set: 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<SetSelf, SetOther, Item> LatticeFrom<SetUnion<SetOther>> for SetUnion<SetSelf>where
SetSelf: FromIterator<Item>,
SetOther: IntoIterator<Item = Item>,
impl<SetSelf, SetOther, Item> LatticeFrom<SetUnion<SetOther>> for SetUnion<SetSelf>where
SetSelf: FromIterator<Item>,
SetOther: IntoIterator<Item = Item>,
Source§fn lattice_from(other: SetUnion<SetOther>) -> Self
fn lattice_from(other: SetUnion<SetOther>) -> Self
Convert from the
Other
lattice into Self
.