dscord ~master (2021-11-07T02:10:19.0578386)
Dub
Repo
SizedQueue
dscord
util
queue
A SizedQueue of type T.
class
SizedQueue : Queue!T(
T
) {
size_t
maxSize
;
this
(size_t maxSize);
bool
full
[@property getter];
bool
push
(T item);
bool
push
(T[] arr);
}
Constructors
this
this
(size_t maxSize)
Undocumented in source.
Members
Functions
push
bool
push
(T item)
Undocumented in source. Be warned that the author may not have intended to support it.
push
bool
push
(T[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
full
bool
full
[@property getter]
True if the queue is full
Variables
maxSize
size_t
maxSize
;
Maximum size of the queue
Meta
Source
See Implementation
dscord
util
queue
classes
BlockingQueue
Queue
SizedQueue
A SizedQueue of type T.