Luna::UnorderedSet::bucket_size

usize bucket_size(usize n) const

Gets the number of elements of the specified bucket.

Parameters

  • in n

    The index of the bucket.

Return value

Returns the number of elements of the specified bucket.

Valid Usage