Crate phf_shared

source ·
Expand description

Structs

Traits

  • Trait for printing types with const constructors, used by phf_codegen and phf_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 from phf_generator::HashState.

Type Definitions

  • A central typedef for hash keys