float

Trait Min

Source
pub trait Min {
    // Required method
    fn min(self, other: Self) -> Self;
}
Expand description

Minimum value.

Required Methods§

Source

fn min(self, other: Self) -> Self

Returns the minimum value of self or other.

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 f32

Source§

fn min(self, other: Self) -> Self

Source§

impl Min for f64

Source§

fn min(self, other: Self) -> Self

Implementors§