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.


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]

fn default() -> DefaultHasher[src]

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

impl Hasher for DefaultHasher[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.