1.13.0[][src]Struct std::collections::hash_map::DefaultHasher

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.

Methods

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 Hasher for DefaultHasher[src]

impl Debug for DefaultHasher[src]

impl Clone for DefaultHasher[src]

impl Default for DefaultHasher[src]

fn default() -> DefaultHasher[src]

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

Auto Trait Implementations

impl UnwindSafe for DefaultHasher

impl RefUnwindSafe for DefaultHasher

impl Unpin for DefaultHasher

impl Send for DefaultHasher

impl Sync for DefaultHasher

Blanket Implementations

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

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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.