Struct toolshed::set::BloomSet [] [src]

pub struct BloomSet<'arena, I: 'arena> { /* fields omitted */ }

A set of values with a bloom filter. This structure is using a BloomMap with value type set to () internally.

Methods

impl<'arena, I> BloomSet<'arena, I> where
    I: Eq + Hash + Copy + AsRef<[u8]>, 
[src]

[src]

Creates a new, empty BloomSet.

[src]

Inserts a value into the set.

[src]

Returns true if the set contains a value.

[src]

Returns true if the set contains no elements.

[src]

Clears the map.