Trait mz_ore::vec::PartialOrdVecExt
source · pub trait PartialOrdVecExt<T> {
// Required methods
fn is_sorted(&self) -> bool;
fn is_strictly_sorted(&self) -> bool;
}
Expand description
Extension methods for Vec<T>
where T: PartialOrd
Required Methods§
sourcefn is_strictly_sorted(&self) -> bool
fn is_strictly_sorted(&self) -> bool
Returns whether the vector is sorted with strict inequality.