Trait AssumeSortedByItemExt

Source
pub trait AssumeSortedByItemExt: Iterator + Sized {
    // Provided method
    fn assume_sorted_by_item(self) -> AssumeSortedByItem<Self>  { ... }
}
Expand description

extension trait for any iterator to add a assume_sorted_by_item method

Provided Methods§

Source

fn assume_sorted_by_item(self) -> AssumeSortedByItem<Self>

assume that the iterator is sorted by its item order

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.

Implementors§