Trait rustc_mir::dataflow::framework::lattice::MeetSemiLattice[−][src]

pub trait MeetSemiLattice: Eq {
    fn meet(&mut self, other: &Self) -> bool;
}
Expand description

A partially ordered set that has a greatest lower bound for any pair of elements in the set.

Dataflow analyses only require that their domains implement JoinSemiLattice, not MeetSemiLattice. However, types that will be used as dataflow domains should implement both so that they can be used with Dual.

Required methods

fn meet(&mut self, other: &Self) -> bool[src]

Expand description

Computes the greatest lower bound of two elements, storing the result in self and returning true if self has changed.

The lattice meet operator is abbreviated as ∧.

Loading content...

Implementations on Foreign Types

impl MeetSemiLattice for bool[src]

fn meet(&mut self, other: &Self) -> bool[src]

impl<I: Idx, T: MeetSemiLattice> MeetSemiLattice for IndexVec<I, T>[src]

fn meet(&mut self, other: &Self) -> bool[src]

impl<T: Idx> MeetSemiLattice for BitSet<T>[src]

fn meet(&mut self, other: &Self) -> bool[src]

Loading content...

Implementors

impl<T: JoinSemiLattice> MeetSemiLattice for Dual<T>[src]

fn meet(&mut self, other: &Self) -> bool[src]

impl<T: Clone + Eq> MeetSemiLattice for FlatSet<T>[src]

fn meet(&mut self, other: &Self) -> bool[src]

Loading content...