Luna::RingDeque::capacity

usize capacity() const

Gets the capacity of the queue, that is, the maximum number of elements this queue can hold before next expansion.

Return value

Returns the capacity of the queue.