NativeParallelHashMap<TKey, TValue>.Enumerator
An enumerator over the key-value pairs of a hash map.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IEnumerator<KeyValue<T, T>>, IEnumerator, IDisposable
public struct NativeParallelHashMap<TKey, TValue>.Enumerator : IEnumerator<KeyValue<TKey, TValue>>, IEnumerator, IDisposable
Remarks
In an enumerator's initial state, NativeParallelHashMap<TKey, TValue>.Enumerator.Current is not valid to read. From this state, the first NativeParallelHashMap<TKey, TValue>.Enumerator.MoveNext call advances the enumerator to the first key-value pair.
Properties
Property | Description |
|---|---|
| Current | The current key-value pair. |