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.

Methods

impl DefaultHasher [src]

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DefaultHasher [src]

[src]

Formats the value using the given formatter. Read more

impl Default for DefaultHasher [src]

[src]

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

impl Hasher for DefaultHasher [src]

[src]

Writes some data into this Hasher. Read more

[src]

Returns the hash value for the values written so far. Read more

1.3.0
[src]

Writes a single u8 into this hasher.

1.3.0
[src]

Writes a single u16 into this hasher.

1.3.0
[src]

Writes a single u32 into this hasher.

1.3.0
[src]

Writes a single u64 into this hasher.

[src]

🔬 This is a nightly-only experimental API. (i128 #35118)

Writes a single u128 into this hasher.

1.3.0
[src]

Writes a single usize into this hasher.

1.3.0
[src]

Writes a single i8 into this hasher.

1.3.0
[src]

Writes a single i16 into this hasher.

1.3.0
[src]

Writes a single i32 into this hasher.

1.3.0
[src]

Writes a single i64 into this hasher.

[src]

🔬 This is a nightly-only experimental API. (i128 #35118)

Writes a single i128 into this hasher.

1.3.0
[src]

Writes a single isize into this hasher.

© 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