pub fn atPtr(deque: *const Self, index: usize) *T
Return pointer to 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
301 302 303 304
pub fn atPtr(deque: *const Self, index: usize) *T { assert(index < deque.len); return &deque.buffer[deque.bufferIndex(index)]; }
Return pointer to 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.