BinaryBloomSet

Trait BinaryBloomSet 

Source
pub trait BinaryBloomSet: BloomSet {
    // Required methods
    fn union(&mut self, other: &Self);
    fn intersect(&mut self, other: &Self);
}
Expand description

A trait for types which can serve as the underlying storage for a BloomFilter and perform unions and intersections.

Required Methods§

Source

fn union(&mut self, other: &Self)

Inserts all values from other into self.

Source

fn intersect(&mut self, other: &Self)

Keeps only values in self which are also in other.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T, O> BinaryBloomSet for BitBox<T, O>
where T: BitStore, O: BitOrder,

Source§

fn union(&mut self, other: &Self)

Source§

fn intersect(&mut self, other: &Self)

Implementors§