MCPcopy Index your code
hub / github.com/ChenZhongPu/design-pattern-rust

github.com/ChenZhongPu/design-pattern-rust @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
406 symbols 601 edges 118 files 0 documented · 0%
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

Pizza (Interface)
(no doc) [6 implementers]
creational/factory/factory-method/src/pizza.rs
Command (Interface)
(no doc) [5 implementers]
behavioral/command/command2/src/command.rs
State (Interface)
(no doc) [4 implementers]
behavioral/state/src/state.rs
Beverage (Interface)
(no doc) [4 implementers]
structural/decorator/src/beverage.rs
FlyBehavior (Interface)
(no doc) [3 implementers]
behavioral/strategy/strategy-1/src/fly_behavior.rs
Menu (Interface)
(no doc) [2 implementers]
behavioral/iterator/src/menu.rs
CaffeineBeverage (Interface)
(no doc) [2 implementers]
behavioral/template/src/caffeine_beverage.rs
Observer (Interface)
(no doc) [2 implementers]
behavioral/observer/observer-1/src/observer.rs

Core symbols most depended-on inside this repo

iter
called by 11
behavioral/iterator/src/diner_menu.rs
add
called by 9
structural/composite/src/menu.rs
tv
called by 4
structural/bridge/src/generic_remote.rs
channel
called by 4
structural/bridge/src/lg.rs
set_channel
called by 4
structural/bridge/src/remote_control.rs
order_pizza
called by 4
creational/factory/abstract-factory/src/pizza_store.rs
set_command
called by 3
behavioral/command/undo/src/remote_control.rs
on_button_pushed
called by 3
behavioral/command/undo/src/remote_control.rs

Shape

Method 233
Class 113
Interface 35
Function 24
Enum 1

Languages

Rust100%

Modules by API surface

creational/factory/abstract-factory/src/pizza.rs11 symbols
creational/factory/simple-factory/src/pizza.rs10 symbols
creational/factory/abstract-factory/src/pizza_ingredient_factory.rs9 symbols
behavioral/command/command2/src/hottub.rs9 symbols
structural/decorator/src/beverage.rs8 symbols
structural/composite/src/menu_component.rs8 symbols
creational/factory/factory-method/src/chicago_pizza.rs8 symbols
behavioral/command/undo/src/command.rs8 symbols
behavioral/command/command2/src/command.rs8 symbols
structural/facade/src/tuner.rs7 symbols
structural/composite/src/menu_item.rs7 symbols
structural/composite/src/menu.rs7 symbols

For agents

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

⬇ download graph artifact