Struct bitcoin::util::hash::Hash32
[−]
[src]
pub struct Hash32(_);
A 32-bit hash obtained by truncating a real hash
Trait Implementations
impl Debug for Hash32
[src]
impl Eq for Hash32
[src]
impl PartialEq for Hash32
[src]
fn eq(&self, __arg_0: &Hash32) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Hash32) -> bool
This method tests for !=
.
impl Clone for Hash32
[src]
fn clone(&self) -> Hash32
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 Copy for Hash32
[src]
impl<S: SimpleEncoder> ConsensusEncodable<S> for Hash32
[src]
fn consensus_encode(&self, s: &mut S) -> Result<(), S::Error>
Encode an object with a well-defined format
impl<D: SimpleDecoder> ConsensusDecodable<D> for Hash32
[src]
fn consensus_decode(d: &mut D) -> Result<Hash32, D::Error>
Decode an object with a well-defined format