Struct parcel_selectors::bloom::BloomStorageU8
source · pub struct BloomStorageU8 { /* private fields */ }
Expand description
Storage class for a CountingBloomFilter that has 8-bit counters.
Trait Implementations
sourceimpl BloomStorage for BloomStorageU8
impl BloomStorage for BloomStorageU8
fn adjust_slot(&mut self, index: usize, increment: bool)
fn slot_is_empty(&self, index: usize) -> bool
fn is_zeroed(&self) -> bool
fn first_slot_is_empty(&self, hash: u32) -> bool
fn second_slot_is_empty(&self, hash: u32) -> bool
fn adjust_first_slot(&mut self, hash: u32, increment: bool)
fn adjust_second_slot(&mut self, hash: u32, increment: bool)
fn first_slot_index(hash: u32) -> usize
fn second_slot_index(hash: u32) -> usize
sourceimpl Clone for BloomStorageU8
impl Clone for BloomStorageU8
Auto Trait Implementations
impl RefUnwindSafe for BloomStorageU8
impl Send for BloomStorageU8
impl Sync for BloomStorageU8
impl Unpin for BloomStorageU8
impl UnwindSafe for BloomStorageU8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more