pub trait SessionCustomOrder {
// Required methods
fn compare(&self, a: NonZero<i64>, b: NonZero<i64>) -> Ordering;
fn asc(&self) -> Vec<NonZero<i64>>;
fn desc(&self) -> Vec<NonZero<i64>>;
}Required Methods§
fn compare(&self, a: NonZero<i64>, b: NonZero<i64>) -> Ordering
fn asc(&self) -> Vec<NonZero<i64>>
fn desc(&self) -> Vec<NonZero<i64>>
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".