[][src]Trait batsat::intmap::Comparator

pub trait Comparator<T: ?Sized> {
    pub fn cmp(&self, lhs: &T, rhs: &T) -> Ordering;

    pub fn max(&self, lhs: T, rhs: T) -> T
    where
        T: Sized
, { ... }
pub fn min(&self, lhs: T, rhs: T) -> T
    where
        T: Sized
, { ... }
pub fn le(&self, lhs: &T, rhs: &T) -> bool { ... }
pub fn lt(&self, lhs: &T, rhs: &T) -> bool { ... }
pub fn gt(&self, lhs: &T, rhs: &T) -> bool { ... }
pub fn ge(&self, lhs: &T, rhs: &T) -> bool { ... } }

Required methods

pub fn cmp(&self, lhs: &T, rhs: &T) -> Ordering[src]

Loading content...

Provided methods

pub fn max(&self, lhs: T, rhs: T) -> T where
    T: Sized
[src]

pub fn min(&self, lhs: T, rhs: T) -> T where
    T: Sized
[src]

pub fn le(&self, lhs: &T, rhs: &T) -> bool[src]

pub fn lt(&self, lhs: &T, rhs: &T) -> bool[src]

pub fn gt(&self, lhs: &T, rhs: &T) -> bool[src]

pub fn ge(&self, lhs: &T, rhs: &T) -> bool[src]

Loading content...

Implementors

Loading content...