Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SharpCoder/teensycore
/ Stack
Interface
Stack
src/system/vector.rs:37–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
}
36
37
pub trait Stack<T> {
38
fn push(&mut self, item: T);
39
fn pop(&mut self) -> Option<T>;
40
}
41
42
pub trait Queue<T> {
43
fn enqueue(&mut self, item: T);
Callers
nothing calls this directly
Implementers
2
buffer.rs
src/system/buffer.rs
vector.rs
src/system/vector.rs
Calls
no outgoing calls
Tested by
no test coverage detected