pub struct HyperBitBit { /* private fields */ }Implementations§
Source§impl HyperBitBit
impl HyperBitBit
Sourcepub fn new() -> HyperBitBit
pub fn new() -> HyperBitBit
Sourcepub fn cardinality(&self) -> u64
pub fn cardinality(&self) -> u64
estimate cardinality
§Example
let mut h = HyperBitBit::new();
h.insert(&String::from("xxx"));
println!("{}", h.cardinality());Trait Implementations§
Source§impl Clone for HyperBitBit
impl Clone for HyperBitBit
Source§fn clone(&self) -> HyperBitBit
fn clone(&self) -> HyperBitBit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HyperBitBit
impl Debug for HyperBitBit
Source§impl Default for HyperBitBit
impl Default for HyperBitBit
Source§fn default() -> HyperBitBit
fn default() -> HyperBitBit
Returns the “default value” for a type. Read more
impl Copy for HyperBitBit
Auto Trait Implementations§
impl Freeze for HyperBitBit
impl RefUnwindSafe for HyperBitBit
impl Send for HyperBitBit
impl Sync for HyperBitBit
impl Unpin for HyperBitBit
impl UnsafeUnpin for HyperBitBit
impl UnwindSafe for HyperBitBit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more