Struct FxBuildHasher

struct FxBuildHasher

An implementation of BuildHasher that produces FxHashers.

use std::hash::BuildHasher;
use rustc_hash::FxBuildHasher;
assert_ne!(FxBuildHasher.hash_one(1), FxBuildHasher.hash_one(2));

Implementations

impl BuildHasher for FxBuildHasher

fn build_hasher(self: &Self) -> FxHasher

impl Clone for FxBuildHasher

fn clone(self: &Self) -> FxBuildHasher

impl Copy for FxBuildHasher

impl Default for FxBuildHasher

fn default() -> FxBuildHasher

impl Freeze for FxBuildHasher

impl RefUnwindSafe for FxBuildHasher

impl Send for FxBuildHasher

impl Sync for FxBuildHasher

impl Unpin for FxBuildHasher

impl UnsafeUnpin for FxBuildHasher

impl UnwindSafe for FxBuildHasher

impl<T> Any for FxBuildHasher

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for FxBuildHasher

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

impl<T> BorrowMut for FxBuildHasher

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

impl<T> CloneToUninit for FxBuildHasher

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

impl<T> From for FxBuildHasher

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for FxBuildHasher

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

impl<T, U> Into for FxBuildHasher

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 FxBuildHasher

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

impl<T, U> TryInto for FxBuildHasher

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