# UnsafeParallelHashMapBucketData

> A bucket of key-value pairs. Used as the internal storage for hash maps.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Collections.LowLevel.Unsafe](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public struct UnsafeParallelHashMapBucketData
```

## Remarks

Exposed publicly only for advanced use cases.

## Fields

| Value                                                                                                                                         | Description                        |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| [bucketCapacityMask](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeparallelhashmapbucketdata/bucketcapacitymask.md) | One less than the bucket capacity. |
| [buckets](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeparallelhashmapbucketdata/buckets.md)                       | The first bucket in the chain.     |
| [keys](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeparallelhashmapbucketdata/keys.md)                             | The buffer of keys.                |
| [next](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeparallelhashmapbucketdata/next.md)                             | The next bucket in the chain.      |
| [values](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeparallelhashmapbucketdata/values.md)                         | The buffer of values.              |
