Module linked_lists_rs::queue
source · [−]Expand description
Queue implementation
A [Queue] is a linear structure which follows a particular order in which
the operations are performed.
The order is First In First Out (FIFO).
This means the element least recently added is removed first.
This [Queue] implementation uses the linked list concept.
This implementation uses raw pointers and the unsafe keyword
this is so to preserve performance and aims to be a 100% safe abstraction