NativeQueue<T>.Enumerator
An enumerator over the values of a container.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IEnumerator<T>, IEnumerator, IDisposable
public struct NativeQueue<T>.Enumerator : IEnumerator<T>, IEnumerator, IDisposable
Remarks
In an enumerator's initial state, NativeQueue<T>.Enumerator.Current is invalid. The first NativeQueue<T>.Enumerator.MoveNext call advances the enumerator to the first value.
Properties
Property | Description |
|---|---|
| Current | The current value. |