Trait Max

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

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

Provides maximum value selector

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl Max for f32

Source§

type Output = f32

Source§

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

Source§

impl Max for f64

Source§

type Output = f64

Source§

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

Implementors§