Method AsReadOnly
AsReadOnly()
Returns a readonly version of this NativeQueue instance.
Declaration
public NativeQueue<T>.ReadOnly AsReadOnly()
Returns
Type | Description |
---|---|
NativeQueue<T>.ReadOnly | ReadOnly instance for this. |
Remarks
ReadOnly containers point to the same underlying data as the NativeQueue it is made from.