# dummy-queue Custom (and basic) implementation of queue using `Box`. ## Usage `Queue` supports `T` type means generic, so you are in charge to impl (if needed) any trait in case your use cases requires it. Any instance of `T` needs to be `mut`, otherwise Rust won't compile your code. ```rust fn main() { let mut queue = Queue::::new(); queue.enqueue(1); queue.enqueue(2); queue.enqueue(4); queue.enqueue(5); println!("Front of the queue: {:?}", queue.front()); while !queue.is_empty() { println!("Dequeued: {:?}", queue.dequeue()); } } ```