Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SixArm/rust-quick-guide
/ MyStruct
Class
MyStruct
projects/topics/sync_trait/src/main.rs:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use std::sync::Arc;
2
3
struct MyStruct {
4
x: i32,
5
}
6
7
impl MyStruct {
8
fn my_function(&self) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected