Trait afsort::AFSortable [] [src]

pub trait AFSortable {
    fn af_sort_unstable(&mut self);
}

Enhances slices of DigitAt implementors to have a af_sort_unstable method.

Example

use afsort::AFSortable;

let mut strings = vec!["c", "a", "b"];
strings.af_sort_unstable();
assert_eq!(strings, vec!["a", "b", "c"]);

Required Methods

Implementations on Foreign Types

impl<T> AFSortable for [T] where
    T: DigitAt + Ord
[src]

[src]

Implementors