Skip to main content

Min

Trait Min 

Source
pub trait Min<Other = Self> {
    type Output;

    // Required method
    fn min(self, other: Other) -> Self::Output;
}
Expand description

Provides minimum value selector

Required Associated Types§

Required Methods§

Source

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Min for f32

Source§

type Output = f32

Source§

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

Source§

impl Min for f64

Source§

type Output = f64

Source§

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

Implementors§