Create a RingBuffer with specified initial capacity.
Removes all items from the queue.
Implements the assignment operator using .pushBack()
Removes an item from the back of the queue.
Removes an item from the front of the queue.
Adds an item on the back of the queue.
Adds an item on the front of the queue.
@nogc ring-buffer