Crate phf_shared
source ·Expand description
See the phf
crate’s documentation for details.
Macros§
- Create an impl of
FmtConst
delegating tofmt::Debug
for types that can deal with it. impl PhfBorrow<T> for T
- sip_impl 🔒
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