Skip to main content

Min

Trait Min 

Source
pub trait Min<N1, N2>
where N1: IsNumber, N2: IsNumber, Self::Output: IsNumber,
{ type Output; }

Required Associated Types§

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<Zero, Zero> for ()

Source§

impl<N1, N2> Min<Succ<N1>, Succ<N2>> for ()
where N1: IsNumber, N2: IsNumber, (): Min<N1, N2>,

Source§

type Output = Succ<<() as Min<N1, N2>>::Output>

Source§

impl<N> Min<Succ<N>, Zero> for ()
where N: IsNumber,

Source§

impl<N> Min<Zero, Succ<N>> for ()
where N: IsNumber,

Implementors§