struct Deque<T> { ... }

A double-ended queue (growable ring buffer).

Elements can be efficiently pushed to and popped from either end of the queue.

Example

Methods

impl Deque<T> { ... }