MCPcopy Create free account
hub / github.com/SixArm/rust-quick-guide / my_function

Method my_function

projects/topics/sync_trait/src/main.rs:8–10  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

6
7impl MyStruct {
8 fn my_function(&self) {
9 println!("x is {}", self.x);
10 }
11}
12
13fn main() {

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected