Trait core::slice::OrdSliceExtUnstable [-]  [+] [src]

pub trait OrdSliceExt<T: Ord>: ?Sized {
    fn binary_search(&self, x: &T) -> Result<uint, uint>;
    fn next_permutation(&mut self) -> bool;
    fn prev_permutation(&mut self) -> bool;
}

Extension methods for slices containing Ord elements.

Required Methods

fn next_permutation(&mut self) -> bool

fn prev_permutation(&mut self) -> bool

Implementors