# Crate iter_set[−][src]

Expand description

This crate provides set operations on sorted, deduplicated iterators. Unless otherwise specified, all iterator parameters in this crate should yield elements in ascending order with consecutive repeated elements removed. If this is upheld, then all iterators returned by this crate will share those properties.

## Structs

An iterator that interleaves two sorted, deduplicated iterators in sorted order and classifies each element according to its source.

An iterator that interleaves two sorted, deduplicated iterators in sorted order and classifies each element according to its source, using a comparator function.

An iterator that interleaves two sorted, deduplicated iterators in sorted order and classifies each element according to its source, using a key extraction function.

## Enums

The sets an element is included in.

## Functions

Interleave two sorted, deduplicated iterators in sorted order and classify each element according to its source.

Interleave two sorted, deduplicated iterators in sorted order and classify each element according to its source, using a comparator function.

Interleave two sorted, deduplicated iterators in sorted order and classify each element according to its source, using a key extraction function.

Compare two sets represented by sorted, deduplicated iterators.

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

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

Take the difference of two sets (elements in `a` but not in `b`) represented by sorted, deduplicated iterators.

Take the difference of two sets represented by sorted, deduplicated iterators, using a comparator function.

Take the difference of two sets represented by sorted, deduplicated iterators, using a key extraction function.

Take the intersection of two sets represented by sorted, deduplicated iterators.

Take the intersection of two sets represented by sorted, deduplicated iterators, using a comparator function.

Take the intersection of two sets represented by sorted, deduplicated iterators, using a key extraction function.

Take the symmetric_difference of two sets represented by sorted, deduplicated iterators.

Take the symmetric_difference of two sets represented by sorted, deduplicated iterators, using a comparator function.

Take the symmetric_difference of two sets represented by sorted, deduplicated iterators, using a key extraction function.

Take the union of two sets represented by sorted, deduplicated iterators.

Take the union of two sets represented by sorted, deduplicated iterators, using a comparator function.

Take the union of two sets represented by sorted, deduplicated iterators, using a key extraction function.