Function iter_set::cmp_by[][src]

pub fn cmp_by<T, L, R, F>(a: L, b: R, cmp: F) -> Option<Ordering> where
    T: Ord,
    L: IntoIterator<Item = T>,
    R: IntoIterator<Item = T>,
    F: FnMut(&T, &T) -> Ordering

Compare two sets represented by sorted, deduplicated iterators, using a comparator function.

See cmp.