Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/ github.com/benhall-7/diff-struct
github.com/benhall-7/diff-struct
@main
Chat with this repo
repository ↗
·
DeepWiki ↗
·
+ Follow
74
symbols
129
edges
5
files
8
documented · 11%
Search
What it actually does
AI analysis from the code graph — generated when you open this
loading…
Extension points
exported contracts — how you extend this code
Diff (Interface)
A trait to diff and apply diffs between two structs The derive macro can be used on structs when all fields of the struc [13 …
src/lib.rs
Bound1 (Interface)
(no doc) [1 implementers]
tests/arbitrary.rs
Differ (Interface)
A trait allowing a custom struct to handle the diffing implementation for a type
src/lib.rs
Bound2 (Interface)
(no doc) [1 implementers]
tests/arbitrary.rs
Core symbols
most depended-on inside this repo
diff
called by 11
src/impls.rs
clone
called by 10
src/impls.rs
apply
called by 7
src/impls.rs
apply_custom
called by 2
src/lib.rs
apply_new
called by 2
src/lib.rs
find_match
called by 1
src/utils.rs
diff_custom
called by 1
src/lib.rs
apply_new_custom
called by 0
src/lib.rs
Shape
Function
33
Class
23
Method
10
Enum
4
Interface
4
Languages
Rust
100%
Modules
by API surface
tests/arbitrary.rs
26 symbols
src/tests.rs
26 symbols
src/impls.rs
15 symbols
src/lib.rs
6 symbols
src/utils.rs
1 symbols
For agents
$
claude mcp add diff-struct \ -- python -m otcore.mcp_server <graph>
⬇ download graph artifact