Expand description
Tools to work with hashes, as used by cdragon
Actual hash values are created with crate::define_hash_type!(), which implements HashDef and conversions.
HashMapper manages a mapping to retrieve a string from a hash value. The type provides methods to load mapping files, check for known hashes, etc. update mapping files, etc.
Modules§
Macros§
- binh
- Helper for const, inline computation of bin hashes, with implicit conversion
- define_
hash_ type - Define a hash type wrapping an integer hash value
Structs§
- Hash
Mapper - Store hash-to-string association for a hash value
Enums§
- Hash
Error - Hash related error
- Hash
Kind - Each kind of hash handled by CDragon
- Hash
OrStr - Either a hash or its associated string
Traits§
- HashDef
- Trait for hash values types