[−][src]Struct pergola::BitSetWithUnion
This lattice is a standard bitset-with-union.
Note: you could use a BitSet
in the MaxStd
or MinOpt
lattices
(BitSet
satisfies the bounds) but the "set semantics" you usually want in
a set-of-sets lattice aren't achieved that way: the Ord
-provided order on
BitSet
is a lexicographical total order on the sequence of bits,
rather than set-theoretic sub/superset relation (which is only a partial
order), and of course joining by max (or min) of that order will not produce
a union (or intersection) as one would want.
Trait Implementations
impl Debug for BitSetWithUnion
[src]
impl LatticeDef for BitSetWithUnion
[src]
Auto Trait Implementations
impl RefUnwindSafe for BitSetWithUnion
impl Send for BitSetWithUnion
impl Sync for BitSetWithUnion
impl Unpin for BitSetWithUnion
impl UnwindSafe for BitSetWithUnion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,