Set

Type Alias Set 

Source
pub type Set<T> = Map<T, ()>;
Expand description

A smallmap set.

Can be used to quickly insert or remove a key only, with no value; and can be used to see if this key is present.

Any map type with a zero-sized value is essentially a set.

Aliased Typeยง

pub struct Set<T>(/* private fields */);