SortableSlice

Trait SortableSlice 

Source
pub trait SortableSlice {
    // Required method
    fn sort_with<S>(&mut self, sorter: S)
       where S: Sorter;
}

Required Methods§

Source

fn sort_with<S>(&mut self, sorter: S)
where S: Sorter,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> SortableSlice for [T]
where T: Ord,

Source§

fn sort_with<S>(&mut self, sorter: S)
where S: Sorter,

Implementors§