MCPcopy Create free account
hub / github.com/Freaky/Compactor / new

Method new

src/gui.rs:72–77  ·  view source on GitHub ↗
(handle: Handle<T>)

Source from the content-addressed store, hash-verified

70
71impl<T> GuiWrapper<T> {
72 pub fn new(handle: Handle<T>) -> Self {
73 let gui = Self(handle);
74 gui.version();
75 gui.config();
76 gui
77 }
78
79 pub fn send(&self, msg: &GuiResponse) {
80 let js = format!(

Callers

nothing calls this directly

Calls 2

versionMethod · 0.80
configMethod · 0.80

Tested by

no test coverage detected