Struct self_compare::Comparer [] [src]

pub struct Comparer<'a, T: 'a> { /* fields omitted */ }

A structure for comparing the elements of a slice with themselves

Methods

impl<'a, T: 'a> Comparer<'a, T>
[src]

[src]

Returns a Comparer

[src]

Returns the indices of the next two elements to be compared

[src]

Optionally returns mutable reference to two elements until all elements have been compared

[src]

Same as next() but also returns the indices of the elements