vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Struct RingBuffer.Range

Represents a range of elements within the ring buffer.

struct Range ;

Constructors

NameDescription
this (buffer, start, length)

Fields

NameTypeDescription
m_buffer T[]
m_length size_t
m_start size_t

Properties

NameTypeDescription
back[get] inout(T)
empty[get] bool
front[get] inout(T)
length[get] size_t
save[get] RingBuffer.Range

Methods

NameDescription
opDollar ()
opIndex (index)
opSlice (from, to)
popBack ()
popFront ()
Authors

Sönke Ludwig

Copyright

© 2013-2024 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.