pub trait ScalarPartialOrd: Scalar {
// Required method
fn scalar_cmp(&self, other: Self::ScalarRefType<'_>) -> Option<Ordering>;
}Expand description
ScalarPartialOrd allows comparison between Scalar and ScalarRef.
TODO: see if it is possible to implement this trait directly on ScalarRef.
Required Methods§
fn scalar_cmp(&self, other: Self::ScalarRefType<'_>) -> Option<Ordering>
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.