Min

Trait Min 

Source
pub trait Min {
    // Required methods
    fn set_min(&mut self, other: Self);
    fn is_min(&self, other: Self) -> bool;
}

Required Methods§

Source

fn set_min(&mut self, other: Self)

Source

fn is_min(&self, other: 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.

Implementations on Foreign Types§

Source§

impl Min for u8

Source§

fn set_min(&mut self, other: Self)

Source§

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

Source§

impl Min for u16

Source§

fn set_min(&mut self, other: Self)

Source§

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

Source§

impl Min for u32

Source§

fn set_min(&mut self, other: Self)

Source§

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

Source§

impl Min for u64

Source§

fn set_min(&mut self, other: Self)

Source§

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

Source§

impl Min for u128

Source§

fn set_min(&mut self, other: Self)

Source§

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

Source§

impl Min for usize

Source§

fn set_min(&mut self, other: Self)

Source§

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

Implementors§