pub trait Set<T> { // Required methods fn contains(&self, value: T) -> bool; fn include(&mut self, value: T); fn exclude(&mut self, value: T); }
A set of values of type T.
T
Determines whether the set contains the given value.
Ensures that the set includes the given value.
Ensures that the set excludes the given value.