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§

source

fn lt_g(&self, other: &Self) -> StdResult<bool>

source

fn le_g(&self, other: &Self) -> StdResult<bool>

source

fn bt_g(&self, other: &Self) -> StdResult<bool>

source

fn be_g(&self, other: &Self) -> StdResult<bool>

source

fn equal(&self, other: &Self) -> bool

Implementations on Foreign Types§

source§

impl ValueOrd for Value

Only supporting numbers and big numbers for now

source§

fn lt_g(&self, other: &Self) -> StdResult<bool>

source§

fn le_g(&self, other: &Self) -> StdResult<bool>

source§

fn bt_g(&self, other: &Self) -> StdResult<bool>

source§

fn be_g(&self, other: &Self) -> StdResult<bool>

source§

fn equal(&self, other: &Self) -> bool

Implementors§