Struct bloomchain::Bloom
[−]
pub struct Bloom { /* fields omitted */ }
Methods
impl Bloom
fn is_empty(&self) -> bool
fn contains(&self, input: Input<'a>) -> bool
fn contains_bloom<'a, B>(&self, bloom: B) -> bool where
BloomRef<'a>: From<B>,
BloomRef<'a>: From<B>,
fn accrue(&mut self, input: Input<'a>)
fn accrue_bloom<'a, B>(&mut self, bloom: B) where
BloomRef<'a>: From<B>,
BloomRef<'a>: From<B>,
fn data(&self) -> &[u8; 256]
Trait Implementations
impl Display for Bloom
impl From<[u8; 256]> for Bloom
impl From<&'static str> for Bloom
impl<'a> From<Input<'a>> for Bloom
impl Default for Bloom
impl FromStr for Bloom
impl Clone for Bloom
fn clone(&self) -> Bloom
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> PartialEq<BloomRef<'a>> for Bloom
fn eq(&self, other: &BloomRef<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<Bloom> for Bloom
fn eq(&self, other: &Bloom) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.