pub trait CustomOrd {
// Required method
fn custom_cmp(&self, other: &Self) -> Ordering;
}
Expand description
Manager for float based comparisons
Required Methods§
Sourcefn custom_cmp(&self, other: &Self) -> Ordering
fn custom_cmp(&self, other: &Self) -> Ordering
Custom comparison
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.