pub struct DigestFilter { /* private fields */ }Expand description
Digest filter implementation backed by a HashSet.
This implementation offers much better memory efficiency when
compared to the NaiveFilter due to the fact that raw values
are hashed to usize values before being stored in the set.
It’s also a little faster due to some improved efficiency when comparing values in the set itself, but it’s not of any real consequence and is barely noticeable.
Trait Implementations§
Source§impl Clone for DigestFilter
impl Clone for DigestFilter
Source§fn clone(&self) -> DigestFilter
fn clone(&self) -> DigestFilter
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 DigestFilter
impl Debug for DigestFilter
Source§impl Default for DigestFilter
impl Default for DigestFilter
Source§fn default() -> DigestFilter
fn default() -> DigestFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DigestFilter
impl RefUnwindSafe for DigestFilter
impl Send for DigestFilter
impl Sync for DigestFilter
impl Unpin for DigestFilter
impl UnwindSafe for DigestFilter
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