Struct FoldHasher

struct FoldHasher { ... }

A Hasher instance implementing foldhash, optimized for quality.

It can't be created directly, see RandomState or FixedState.

Implementations

impl Clone for FoldHasher

fn clone(self: &Self) -> FoldHasher

impl Freeze for FoldHasher

impl Hasher for FoldHasher

fn write(self: &mut Self, bytes: &[u8])
fn write_u8(self: &mut Self, i: u8)
fn write_u16(self: &mut Self, i: u16)
fn write_u32(self: &mut Self, i: u32)
fn write_u64(self: &mut Self, i: u64)
fn write_u128(self: &mut Self, i: u128)
fn write_usize(self: &mut Self, i: usize)
fn finish(self: &Self) -> u64

impl RefUnwindSafe for FoldHasher

impl Send for FoldHasher

impl Sync for FoldHasher

impl Unpin for FoldHasher

impl UnwindSafe for FoldHasher

impl<T> Any for FoldHasher

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for FoldHasher

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for FoldHasher

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for FoldHasher

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for FoldHasher

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for FoldHasher

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for FoldHasher

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for FoldHasher

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for FoldHasher

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>