Struct borsh::maybestd::collections::hash_map::DefaultHasher1.13.0[][src]

pub struct DefaultHasher(_);

The default Hasher used by RandomState.

The internal algorithm is not specified, and so it and its hashes should not be relied upon over releases.

Implementations

impl DefaultHasher[src]

pub fn new() -> DefaultHasher[src]

Creates a new DefaultHasher.

This hasher is not guaranteed to be the same as all other DefaultHasher instances, but is the same as all other DefaultHasher instances created through new or default.

Trait Implementations

impl Clone for DefaultHasher[src]

impl Debug for DefaultHasher[src]

impl Default for DefaultHasher[src]

pub fn default() -> DefaultHasher[src]

Creates a new DefaultHasher using new. See its documentation for more.

impl Hasher for DefaultHasher[src]

Auto Trait Implementations

impl RefUnwindSafe for DefaultHasher

impl Send for DefaultHasher

impl Sync for DefaultHasher

impl Unpin for DefaultHasher

impl UnwindSafe for DefaultHasher

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.