MCPcopy Index your code
hub / github.com/RalfJung/rust-101

github.com/RalfJung/rust-101 @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
212 symbols 355 edges 26 files 113 documented · 53%
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

Minimum (Interface)
This trait is used to compute the minimum of two elements of the given type [2 implementers]
solutions/src/vec.rs
Action (Interface)
So, let us define a trait that demands that the type provides some method `do_action` on digits. @ This immediately rais [1 …
src/part10.rs
Minimum (Interface)
@ So, as a first step towards a generic `vec_min`, we define a `Minimum` trait. @ For now, just ignore the `Copy`, we wi [1 …
src/part02.rs
Minimum (Interface)
With our new knowledge of lifetimes, we are now able to write down the desired type of `min`: @ We want the function to [1 …
src/part07.rs
Print (Interface)
Exercise 03.1**: The goal is to write a generic version of `SomethingOrNothing::print`. To this end, define a trait `Pri [1 …
src/part03.rs
Print (Interface)
(no doc) [2 implementers]
solutions/src/vec.rs
Minimum (Interface)
(no doc) [1 implementers]
solutions/src/bigint.rs

Core symbols most depended-on inside this repo

iter
called by 25
src/part09.rs
clone
called by 10
src/part05.rs
clone
called by 9
solutions/src/bigint.rs
call
called by 7
src/part12.rs
inc1
called by 4
solutions/src/bigint.rs
push_back
called by 4
solutions/src/list.rs
register
called by 4
src/part12.rs
vec_min
called by 3
solutions/src/vec.rs

Shape

Function 105
Method 71
Class 21
Enum 8
Interface 7

Languages

Rust100%

Modules by API surface

solutions/src/bigint.rs27 symbols
solutions/src/list.rs19 symbols
solutions/src/vec.rs17 symbols
src/part10.rs12 symbols
solutions/src/rgrep.rs12 symbols
src/part16.rs10 symbols
src/part02.rs10 symbols
src/part01.rs10 symbols
src/part12.rs9 symbols
src/part09.rs8 symbols
src/part07.rs8 symbols
src/part05.rs8 symbols

For agents

$ claude mcp add rust-101 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact