MeetSemilattice

Derive Macro MeetSemilattice 

Source
#[derive(MeetSemilattice)]
Expand description

Derive macro for MeetSemilattice.

Implements MeetSemilattice for a struct by meeting each field componentwise.

§Example

#[derive(MeetSemilattice)]
struct Foo {
    counter: Min<i32>,  // meet = min
    tags: HashSet<String>,  // meet = intersection
}