Function scirust::alg::sort::is_ascending_slice [] [src]

pub fn is_ascending_slice<T: PartialOrd>(data: &[T]) -> bool

Returns whether the slice is sorted in ascending order or not.