Trait partial_sort::PartialSort

source ·
pub trait PartialSort {
    type Item;

    // Required method
    fn partial_sort<F>(&mut self, _: usize, _: F)
       where F: FnMut(&Self::Item, &Self::Item) -> Ordering;
}

Required Associated Types§

Required Methods§

source

fn partial_sort<F>(&mut self, _: usize, _: F)
where F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> PartialSort for [T]

§

type Item = T

source§

fn partial_sort<F>(&mut self, last: usize, cmp: F)
where F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Implementors§