[][src]Struct pergola::BitSetWithUnion

pub struct 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]

type T = BitSet

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.