NativeQueue<T>.ReadOnly
A read-only alias for the value of a NativeQueue. Does not have its own allocated storage.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IEnumerable<T>, IEnumerable
public struct NativeQueue<T>.ReadOnly : IEnumerable<T>, IEnumerable
Properties
Property | Description |
|---|---|
| Count | Returns the current number of elements in this queue. |
| IsCreated | Whether this container been allocated (and not yet deallocated). |
| this[] | The element at an index. |
Methods
Method | Description |
|---|---|
| GetEnumerator | Returns an enumerator over the items of this container. |
| IsEmpty | Returns true if this queue is empty. |