Trait alga::general::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.

Object Safety§

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§