Trait BufPartialOrd

Source
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§

Provided Methods§

Source

fn buf_lt(self, rhs: BufConst<T>) -> bool

Source

fn buf_gt(self, rhs: BufConst<T>) -> bool

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.

Implementations on Foreign Types§

Source§

impl<T: Decode + PartialOrd> BufPartialOrd<T> for &T

Source§

default fn buf_partial_cmp(self, rhs: BufConst<T>) -> Option<Ordering>

Implementors§