pub fn entity_slot(path: &str) -> usizeExpand description
The categorical palette’s slot for an entity, from its path: a stable
hash (FNV-1a), the same on every platform and in every run. The idea
of colouring an entity by a hash of its path is Rerun’s automatic
colour; here it lands on the palette’s slots rather than on a hue, so
a kit’s palette still holds. Two paths may share a slot: give one a
slot of its own (Series::slot) when they meet in a plot.