pub enum Hll {
Empty(Settings),
Explicit(ExplicitStorage),
Sparse(SparseRegisters),
Dense(DenseRegisters),
}Variants§
Implementations§
Source§impl Hll
impl Hll
pub fn new(settings: Settings) -> Self
pub fn union(&mut self, strict: bool, other: &Self) -> Result<(), HllError>
pub fn cardinality(&self) -> u64
pub fn settings_check(&self, other: &Self) -> Result<(), SettingsError>
pub fn settings(&self) -> &Settings
pub fn clone_with_settings(&self, settings: &Settings) -> Self
pub fn type_id(&self) -> u8
pub fn to_bytes(&self) -> Vec<u8> ⓘ
pub fn from_bytes(buf: &[u8]) -> Result<Self, HllError>
pub fn clear(&mut self)
Trait Implementations§
impl StructuralPartialEq for Hll
Auto Trait Implementations§
impl Freeze for Hll
impl RefUnwindSafe for Hll
impl Send for Hll
impl Sync for Hll
impl Unpin for Hll
impl UnwindSafe for Hll
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