Struct rustc_ap_rustc_data_structures::stable_hasher::StableHasher [−][src]
pub struct StableHasher { /* fields omitted */ }Expand description
When hashing something that ends up affecting properties like symbol names, we want these symbol names to be calculated independently of other factors like what architecture you’re compiling from.
To that end we always convert integers to little-endian format before
hashing and the architecture dependent isize and usize types are
extended to 64 bits if needed.
Implementations
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 StableHasherimpl Send for StableHasherimpl Sync for StableHasherimpl Unpin for StableHasherimpl UnwindSafe for StableHasher