pub trait BufPartialOrd<T: Instance>: BufPartialEq<T> {
// Required method
fn buf_partial_cmp(self, rhs: BufConst<T>) -> Option<Ordering>;
// Provided methods
fn buf_lt(self, rhs: BufConst<T>) -> bool { ... }
fn buf_gt(self, rhs: BufConst<T>) -> bool { ... }
}
Required Methods§
fn buf_partial_cmp(self, rhs: BufConst<T>) -> Option<Ordering>
Provided Methods§
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.