Crate phf_shared
source ·Expand description
See the phf
crate’s documentation for details.
Structs
Traits
- Trait for printing types with
const
constructors, used byphf_codegen
andphf_macros
. - Identical to
std::borrow::Borrow
except omitting blanket impls to facilitate other borrowing patterns. - A trait implemented by types which can be used in PHF data structures.
Functions
- Return an index into
phf_generator::HashState::map
. key
is fromphf_generator::HashState
.
Type Aliases
- A central typedef for hash keys