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