pub trait HyperLogLog<H: Hash + ?Sized> {
    fn add(&mut self, value: &H);
    fn insert<Q>(&mut self, value: &Q)
    where
        H: Borrow<Q>,
        Q: Hash + ?Sized
; fn count(&mut self) -> f64; }
Expand description

A trait that should be implemented by any HyperLogLog variant.

Required Methods

👎 Deprecated since 0.3.0:

use insert() function instead.

Adds a new value to the multiset.

Inserts a new value to the multiset.

Estimates the cardinality of the multiset.

Implementors