Struct ethbloom::Bloom
[−]
[src]
pub struct Bloom { /* fields omitted */ }
Methods
impl Bloom
[src]
fn is_empty(&self) -> bool
fn contains<'a>(&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<'a>(&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 Default for Bloom
[src]
impl FromStr for Bloom
[src]
type Err = FromHexError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl PartialEq for Bloom
[src]
fn eq(&self, other: &Self) -> 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<'a> PartialEq<BloomRef<'a>> for Bloom
[src]
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 Clone for Bloom
[src]
fn clone(&self) -> Self
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