Crate phf_shared

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 ๐Ÿ”’
tuple_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