Luna::SelfIndexedUnorderedMap::bucket
usize bucket(const key_type &key) const
Gets the index of the bucket that stores the specified key.
Parameters
-
in key
The key to check.
Return value
Returns the index of the bucket that stores the specified key.
Valid Usage
- bucket_count must not be
0
when calling this function.