Struct rustc_data_structures::unhash::Unhasher [−][src]
pub struct Unhasher {
value: u64,
}
Expand description
This no-op hasher expects only a single write_u64
call. It’s intended for
map keys that already have hash-like quality, like Fingerprint
.
Fields
value: u64
Trait Implementations
Writes a single u128
into this hasher.
Writes a single usize
into this hasher.
Writes a single i128
into this hasher.
Writes a single isize
into this hasher.
Auto Trait Implementations
impl RefUnwindSafe for Unhasher
impl UnwindSafe for Unhasher
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes