#queue #vec-deque #either

eitherq

Queue which support two different types

3 releases

0.1.2 Sep 8, 2022
0.1.1 Aug 30, 2021
0.1.0 Aug 26, 2021

#1958 in Data structures

Download history 4/week @ 2024-02-26 54/week @ 2024-04-01

54 downloads per month

0BSD license

7KB
124 lines

EitherQueue

The EitherQueue data structure is a simple queue that supports two types of data. Its purpose is to allow the application to treat the queue both as a singular queue with two types as well as using the two typed queues explicitly.


lib.rs:

EitherQueue is queue that supports two different queues as one.

No runtime deps