pub fn build_set<K: Eq + Hash + ConstInstantiable>(
keys: &[K],
) -> CodeWriter<'_, K>Expand description
Generate code for a static quickphf::PhfSet.
ยงExamples
use quickphf_codegen::*;
let digits_set = build_set(&[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);