Struct NativeQueue<T>.ReadOnly
A read-only alias for the value of a NativeQueue. Does not have its own allocated storage.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
[NativeContainer]
[NativeContainerIsReadOnly]
public struct NativeQueue<T>.ReadOnly
Properties
Name | Description |
---|---|
Count | Returns the current number of elements in this queue. |
IsCreated | Whether this container been allocated (and not yet deallocated). |
this[int] | The element at an index. |
Methods
Name | Description |
---|---|
GetEnumerator() | Returns an enumerator over the items of this container. |
IsEmpty() | Returns true if this queue is empty. |