Skip to main content

SemiLattice

Trait SemiLattice 

Source
pub trait SemiLattice: PartialOrdLogic + Sized {
    // Required method
    fn join(self, other: Self) -> Self;
}
Expand description

The ‘lattice’ Resource Algebra.

Required Methods§

Source

fn join(self, other: Self) -> Self

logic

ensures

self <= result

ensures

other <= result

ensures

forall<r> self <= r ==> other <= r ==> result <= r

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§