Struct FixedState

struct FixedState { ... }

A BuildHasher for fast::FoldHashers that all have the same fixed seed.

Not recommended unless you absolutely need determinism.

Implementations

impl FixedState

const fn with_seed(seed: u64) -> Self

Creates a FixedState with the given seed.

impl BuildHasher for FixedState

fn build_hasher(self: &Self) -> FoldHasher

impl Clone for FixedState

fn clone(self: &Self) -> FixedState

impl Copy for FixedState

impl Debug for FixedState

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for FixedState

fn default() -> Self

impl Freeze for FixedState

impl RefUnwindSafe for FixedState

impl Send for FixedState

impl Sync for FixedState

impl Unpin for FixedState

impl UnsafeUnpin for FixedState

impl UnwindSafe for FixedState

impl<T> Any for FixedState

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for FixedState

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

impl<T> BorrowMut for FixedState

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

impl<T> CloneToUninit for FixedState

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

impl<T> From for FixedState

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for FixedState

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

impl<T, U> Into for FixedState

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 FixedState

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

impl<T, U> TryInto for FixedState

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