pub trait OrderingValueExt {
    // Required methods
    fn partial_cmp(&self, other: &Self) -> Option<Ordering>;
    fn is_after(&self, other: &Self) -> bool;
    fn is_before(&self, other: &Self) -> bool;
    fn is_within_page_bound(&self, page: &Paging) -> bool;
}
Expand description

Extensions of ordering value to add comparison methods.

Required Methods§

source

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

source

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

source

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

source

fn is_within_page_bound(&self, page: &Paging) -> bool

Implementations on Foreign Types§

source§

impl OrderingValueExt for OrderingValue

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

source§

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

source§

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

source§

fn is_within_page_bound(&self, page: &Paging) -> bool

Implementors§