Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedroombuilds/python2rust
/ Room
Class
Room
29_pattern_matching_revisited/rust/pattern/src/main.rs:5–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
4
#[derive(Debug)]
5
struct Room {
6
objects: HashSet<String>,
7
}
8
9
impl Room {
10
fn new<
'a>(iterable: impl std::iter::Iterator<Item = &'
a str>) -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected