Skip to main content

Adler32Hash

Trait Adler32Hash 

Source
pub trait Adler32Hash {
    // Required method
    fn hash(&self) -> u32;
}
Expand description

A Adler-32 hash-able type.

Required Methods§

Source

fn hash(&self) -> u32

Feeds this value into Adler32.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Adler32Hash for &[u8]

Source§

fn hash(&self) -> u32

Source§

impl Adler32Hash for &str

Source§

fn hash(&self) -> u32

Source§

impl<const SIZE: usize> Adler32Hash for [u8; SIZE]

Available on crate feature const-generics only.
Source§

fn hash(&self) -> u32

Implementors§