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>
Object Safety§
This trait is not object safe.