MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / new

Method new

src/dev_server.rs:86–91  ·  view source on GitHub ↗
(platform: Platform)

Source from the content-addressed store, hash-verified

84
85impl SimulatorWindow {
86 fn new(platform: Platform) -> Self {
87 Self {
88 platform,
89 process: None,
90 }
91 }
92
93 fn set_process(&mut self, process: std::process::Child) {
94 self.process = Some(process);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected