PartialOrdIs

Trait PartialOrdIs 

Source
pub trait PartialOrdIs<Rhs: PointeeSized = Self>: PartialOrd<Rhs> + PointeeSized {
    // Required methods
    spec fn is_lt(&self, other: &Rhs) -> bool;
    spec fn is_le(&self, other: &Rhs) -> bool;
    spec fn is_gt(&self, other: &Rhs) -> bool;
    spec fn is_ge(&self, other: &Rhs) -> bool;
}

Required Methods§

Source

spec fn is_lt(&self, other: &Rhs) -> bool

Source

spec fn is_le(&self, other: &Rhs) -> bool

Source

spec fn is_gt(&self, other: &Rhs) -> bool

Source

spec fn is_ge(&self, other: &Rhs) -> bool

Implementors§

Source§

impl<A: PointeeSized + PartialOrd<Rhs>, Rhs: PointeeSized> PartialOrdIs<Rhs> for A