pub fn at(deque: *const Self, index: usize) T
Return the item at the given index in the deque.
The first item in the queue is at index 0.
Asserts that the index is in-bounds.
deque: *const Self
index: usize
291 292 293 294
pub fn at(deque: *const Self, index: usize) T { assert(index < deque.len); return deque.buffer[deque.bufferIndex(index)]; }
Return the item at the given index in the deque.
The first item in the queue is at index 0.
Asserts that the index is in-bounds.