Trait alga::general::JoinSemilattice

source ·
pub trait JoinSemilattice: Sized {
    // Required method
    fn join(&self, other: &Self) -> Self;
}
Expand description

A set where every two elements have a supremum (i.e. smallest upper bound).

Required Methods§

source

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

Returns the join (aka. supremum) of two values.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl JoinSemilattice for f32

source§

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

source§

impl JoinSemilattice for f64

source§

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

source§

impl JoinSemilattice for i8

source§

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

source§

impl JoinSemilattice for i16

source§

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

source§

impl JoinSemilattice for i32

source§

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

source§

impl JoinSemilattice for i64

source§

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

source§

impl JoinSemilattice for i128

source§

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

source§

impl JoinSemilattice for isize

source§

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

source§

impl JoinSemilattice for u8

source§

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

source§

impl JoinSemilattice for u16

source§

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

source§

impl JoinSemilattice for u32

source§

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

source§

impl JoinSemilattice for u64

source§

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

source§

impl JoinSemilattice for u128

source§

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

source§

impl JoinSemilattice for usize

source§

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

source§

impl<N: JoinSemilattice> JoinSemilattice for Complex<N>

source§

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

Implementors§