pub trait ValueOrd {
// Required methods
fn lt_g(&self, other: &Self) -> StdResult<bool>;
fn le_g(&self, other: &Self) -> StdResult<bool>;
fn bt_g(&self, other: &Self) -> StdResult<bool>;
fn be_g(&self, other: &Self) -> StdResult<bool>;
fn equal(&self, other: &Self) -> bool;
}
Required Methods§
fn lt_g(&self, other: &Self) -> StdResult<bool>
fn le_g(&self, other: &Self) -> StdResult<bool>
fn bt_g(&self, other: &Self) -> StdResult<bool>
fn be_g(&self, other: &Self) -> StdResult<bool>
fn equal(&self, other: &Self) -> 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.