pub struct MQF { /* private fields */ }Implementations§
Source§impl MQF
impl MQF
pub fn new(counter_size: u64, qbits: u64) -> MQF
pub fn insert(&mut self, key: u64, count: u64)
pub fn count_key(&self, key: u64) -> u64
pub fn iter(&mut self) -> MQFIter ⓘ
pub fn serialize<P: AsRef<Path>>(&self, path: P) -> Result<(), Box<dyn Error>>
pub fn deserialize<P: AsRef<Path>>(path: P) -> Result<MQF, Box<dyn Error>>
pub fn merge(&mut self, other: &mut MQF) -> Result<(), Box<dyn Error>>
Trait Implementations§
impl Sync for MQF
Auto Trait Implementations§
impl Freeze for MQF
impl RefUnwindSafe for MQF
impl !Send for MQF
impl Unpin for MQF
impl UnwindSafe for MQF
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