MCPcopy Create free account
hub / github.com/alexfertel/rust-algorithms / Queue

Class Queue

src/data_structures/queue.rs:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1use std::collections::VecDeque;
2
3pub struct Queue<T> {
4 vec: VecDeque<T>,
5}
6
7impl<T> Queue<T> {
8 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected