Skip to main content

Hashable

Trait Hashable 

Source
pub trait Hashable {
    // Required method
    fn hash(&self) -> u64;
}

Required Methods§

Source

fn hash(&self) -> u64

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Hashable for usize

Source§

fn hash(&self) -> u64

Implementors§