Trait Lattice

Source
pub trait Lattice {
    // Required methods
    fn join(&self, other: Self) -> Self;
    fn meet(&self, other: Self) -> Self;
    fn less_than(&self, other: Self) -> bool;
    fn equal(&self, other: Self) -> bool;
    fn check(&self) -> bool;
}

Required Methods§

Source

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

Source

fn meet(&self, other: Self) -> Self

Source

fn less_than(&self, other: Self) -> bool

Source

fn equal(&self, other: Self) -> bool

Source

fn check(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§