alga::general

Trait MeetSemilattice

Source
pub trait MeetSemilattice: Sized {
    // Required method
    fn meet(&self, other: &Self) -> Self;
}
Expand description

A set where every two elements have an infimum (i.e. greatest lower bound).

Required Methods§

Source

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

Returns the meet (aka. infimum) of two values.

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.

Implementations on Foreign Types§

Source§

impl MeetSemilattice for f32

Source§

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

Source§

impl MeetSemilattice for f64

Source§

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

Source§

impl MeetSemilattice for i8

Source§

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

Source§

impl MeetSemilattice for i16

Source§

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

Source§

impl MeetSemilattice for i32

Source§

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

Source§

impl MeetSemilattice for i64

Source§

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

Source§

impl MeetSemilattice for i128

Source§

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

Source§

impl MeetSemilattice for isize

Source§

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

Source§

impl MeetSemilattice for u8

Source§

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

Source§

impl MeetSemilattice for u16

Source§

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

Source§

impl MeetSemilattice for u32

Source§

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

Source§

impl MeetSemilattice for u64

Source§

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

Source§

impl MeetSemilattice for u128

Source§

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

Source§

impl MeetSemilattice for usize

Source§

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

Source§

impl<N: MeetSemilattice> MeetSemilattice for Complex<N>

Source§

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

Implementors§