ToHashKey

Trait ToHashKey 

Source
pub trait ToHashKey {
    // Required method
    fn to_hash_key(&self) -> u64;
}
Expand description

Trait for types that can be converted to a hash key.

Required Methods§

Source

fn to_hash_key(&self) -> u64

Convert to a hash key.

Implementations on Foreign Types§

Source§

impl ToHashKey for &str

Source§

impl ToHashKey for i32

Source§

impl ToHashKey for i64

Source§

impl ToHashKey for u32

Source§

impl ToHashKey for u64

Source§

impl ToHashKey for String

Implementors§