W3cubDocs

/Rust

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.

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]

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
[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.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/collections/hash_map/struct.DefaultHasher.html