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