Struct bitcoin::util::hash::Hash48 [−][src]
pub struct Hash48(_);
A 48-bit hash obtained by truncating a real hash
Trait Implementations
impl Copy for Hash48
[src]
impl Copy for Hash48
impl Clone for Hash48
[src]
impl Clone for Hash48
fn clone(&self) -> Hash48
[src]
fn clone(&self) -> Hash48
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Hash48
[src]
impl PartialEq for Hash48
fn eq(&self, other: &Hash48) -> bool
[src]
fn eq(&self, other: &Hash48) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Hash48) -> bool
[src]
fn ne(&self, other: &Hash48) -> bool
This method tests for !=
.
impl Eq for Hash48
[src]
impl Eq for Hash48
impl Debug for Hash48
[src]
impl Debug for Hash48
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<S: SimpleEncoder> ConsensusEncodable<S> for Hash48
[src]
impl<S: SimpleEncoder> ConsensusEncodable<S> for Hash48
fn consensus_encode(&self, s: &mut S) -> Result<(), Error>
[src]
fn consensus_encode(&self, s: &mut S) -> Result<(), Error>
Encode an object with a well-defined format
impl<D: SimpleDecoder> ConsensusDecodable<D> for Hash48
[src]
impl<D: SimpleDecoder> ConsensusDecodable<D> for Hash48