Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
impl MyStruct {
8
fn my_function(&self) {
9
println!(
"x is {}"
, self.x);
10
}
11
}
12
13
fn main() {
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected