Function key_slot

Source
pub(crate) fn key_slot<K: Key>(key: K) -> u32
Expand description

Helper: return the slot of a key, assuming that the representation is as we expect.

Used for testing and verify functions.