Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ Queue
Class
Queue
src/common/queue.rs:14–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
use crate::ll::LinkedList;
13
14
pub struct Queue<T> {
15
ll: LinkedList<T>,
16
}
17
18
impl<T> Queue<T> {
19
/// Adds the item to this queue
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected