MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / describe

Method describe

29_pattern_matching_revisited/rust/pattern/src/main.rs:16–18  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

14 }
15
16 fn describe(&self) {
17 println!("the room is dark and small, it contains {:?}", self.objects);
18 }
19
20 fn neighbor(self, direction: &str) -> Self {
21 match direction {

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected