Struct tox::core::Hash [-]  [+] [src]

pub struct Hash {
    pub hash: [u8, ..HASH_LENGTH],
}

Locally-calculated cryptographic hash of the avatar data

Fields

hash

Methods

impl Hash

fn new(data: &[u8]) -> Result<Hash, ()>

Trait Implementations

Derived Implementations

impl Eq for Hash

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Hash

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

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

impl Clone for Hash

fn clone(&self) -> Hash

fn clone_from(&mut self, source: &Self)