pub trait PartialMin: PartialOrd<Self>where
Self: Sized,{
// Provided method
fn partial_min(self, other: Self) -> Option<Self> { ... }
}Provided Methods§
Sourcefn partial_min(self, other: Self) -> Option<Self>
fn partial_min(self, other: Self) -> Option<Self>
Returns the minimum of two values, if they are comparable.
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.