Struct RingBuffer.Range
Represents a range of elements within the ring buffer.
struct Range
;
Constructors
Name | Description |
---|---|
this
(buffer, start, length)
|
Fields
Name | Type | Description |
---|---|---|
m_buffer
|
T[] | |
m_length
|
size_t | |
m_start
|
size_t |
Properties
Name | Type | Description |
---|---|---|
back [get]
|
inout(T) | |
empty [get]
|
bool | |
front [get]
|
inout(T) | |
length [get]
|
size_t | |
save [get]
|
RingBuffer |
Methods
Name | Description |
---|---|
opDollar
()
|
|
opIndex
(index)
|
|
opSlice
(from, to)
|
|
popBack
()
|
|
popFront
()
|