Struct std::collections::hash_map::raw_table::SafeHash [] [src]

pub struct SafeHash {
    hash: u64,
}

A hash that is not zero, since we use a hash of zero to represent empty buckets.

Fields

hash

Methods

impl SafeHash

fn inspect(&self) -> u64

Peek at the hash value, which is guaranteed to be non-zero.

Trait Implementations

Derived Implementations

impl Clone for SafeHash

fn clone(&self) -> SafeHash

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

impl Copy for SafeHash

impl PartialEq for SafeHash

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

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