Expand description
A set of macros to generate Rust source for PHF data structures at compile time.
See the phf crateβs documentation for details.
MacrosΒ§
StructsΒ§
EnumsΒ§
- Parsed
Key π
FunctionsΒ§
- build_
cfg_ πconditions - Generate conditional cfg conditions for a given mask and conditional entries
- build_
conditional_ πphf - Generic function to build conditional PHF structures
- build_
conditional_ πphf_ map - build_
conditional_ πphf_ ordered_ map - build_
conditional_ πphf_ ordered_ set - build_
conditional_ πphf_ set - build_
map π - build_
nested_ πconditional - Generate nested if-else chain from variants
- build_
ordered_ πmap - check_
duplicates π - combine_
conditions π - Combine multiple conditions into a single condition expression
- extract_
keys_ πfrom_ expr - Extract all keys from an expression, handling OR patterns