Trait sorted::SearchableByOrder [] [src]

pub trait SearchableByOrder<O>: Collection where
    O: SortOrder<Self::Item>, 
{ fn search(&self, _: &Self::Item) -> Result<usize, usize>; }

Defines an interface for collections that can be searched when sorted.

Required Methods

Implementors