Crate phf_shared

Source
Expand description

Macros§

array_impl 🔒
delegate_debug 🔒
Create an impl of FmtConst delegating to fmt::Debug for types that can deal with it.
impl_reflexive 🔒
impl PhfBorrow<T> for T
sip_impl 🔒
slice_impl 🔒

Structs§

Hashes

Traits§

FmtConst
Trait for printing types with const constructors, used by phf_codegen and phf_macros.
PhfBorrow
Identical to std::borrow::Borrow except omitting blanket impls to facilitate other borrowing patterns.
PhfHash
A trait implemented by types which can be used in PHF data structures.

Functions§

displace
fmt_array 🔒
get_index
Return an index into phf_generator::HashState::map.
hash
key is from phf_generator::HashState.

Type Aliases§

HashKey
A central typedef for hash keys