pub const fn prefix_bucket(tile_key: u64, prefix_bits: u8) -> u32Expand description
The routing bucket of tile key tile_key: the top prefix_bits bits of
fmix64(tile_key). Returns a value in [0, 2^prefix_bits). With
prefix_bits == 0 every key maps to bucket 0.