BucketInfo.Bucket

Information about a non-empty bucket.

Members

Functions

opCmp
int opCmp(typeof(this) rhs)

Sorting criterium: Makes .sort of an array of this struct sort the elements by .length in descending order.

opEquals
equals_t opEquals(Bucket rhs)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

index
size_t index;

Bucket index, the index of the bucket in the array of buckets. It is meaningful only if length > 0 so for easier bug detection the initial value is an out-of-range index.

length
size_t length;

Bucket length, the number of elements in the bucket. 0 means that the bucket is empty.

Meta