Struct bitcoin::util::hash::Hash64 [] [src]

pub struct Hash64(_);

A 64-bit hash obtained by truncating a real hash

Trait Implementations

impl Debug for Hash64
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for Hash64
[src]

impl PartialEq for Hash64
[src]

fn eq(&self, __arg_0: &Hash64) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Hash64) -> bool

This method tests for !=.

impl Clone for Hash64
[src]

fn clone(&self) -> Hash64

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 Hash64
[src]

impl<S: SimpleEncoder> ConsensusEncodable<S> for Hash64
[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 Hash64
[src]

fn consensus_decode(d: &mut D) -> Result<Hash64, D::Error>

Decode an object with a well-defined format