Create a RingBuffer with specified initial capacity.
A destructor is present on this object, but not explicitly documented in the source.
A postblit is present on this object, but not explicitly documented in the source.
Removes all items from the queue.
Removes an item from the back of the queue. Returns: the removed item.
Removes an item from the front of the queue. Returns: the removed item.
Adds an item on the back of the queue.
Adds an item on the front of the queue.
@nogc ring-buffer