Set

Trait Set 

Source
pub trait Set<T> {
    // Required methods
    fn contains(&self, value: T) -> bool;
    fn include(&mut self, value: T);
    fn exclude(&mut self, value: T);
}
Expand description

A set of values of type T.

Required Methods§

Source

fn contains(&self, value: T) -> bool

Determines whether the set contains the given value.

Source

fn include(&mut self, value: T)

Ensures that the set includes the given value.

Source

fn exclude(&mut self, value: T)

Ensures that the set excludes the given value.

Implementors§

Source§

impl<T: BitmapFinite> Set<T> for BitmapSet<T>

Source§

impl<T: CompressFinite + BitmapFinite> Set<Compress<T>> for BitmapSet<T>