Expand description
See the phf crateβs documentation for details.
ModulesΒ§
- hasher π
MacrosΒ§
- array_
impl π - delegate_
debug π - Create an impl of
FmtConstdelegating tofmt::Debugfor types that can deal with it. - impl_
reflexive π impl PhfBorrow<T> for T- integer_
impl π - single_
byte_ πimpl - slice_
impl π - tuple_
eq_ πimpl - tuple_
impl π
StructsΒ§
TraitsΒ§
- FmtConst
- Trait for printing types with
constconstructors, used byphf_codegenandphf_macros. - PhfBorrow
- Identical to
std::borrow::Borrowexcept omitting blanket impls to facilitate other borrowing patterns. - PhfEq
- Trait for comparing stored PHF keys with runtime lookup keys.
- PhfHash
- A trait implemented by types which can be used in PHF data structures.
FunctionsΒ§
- displace
- fmt_
array π - fmt_
slice π - get_
index - Return an index into
phf_generator::HashState::map. - hash
keyis fromphf_generator::HashState.
Type AliasesΒ§
- HashKey
- A central typedef for hash keys