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

Method new_with_platform

src/lib.rs:102–106  ·  view source on GitHub ↗
(platform: &str)

Source from the content-addressed store, hash-verified

100 }
101
102 pub fn new_with_platform(platform: &str) -> Self {
103 let window = Window::new_with_platform(platform);
104 let renderer = Box::new(renderer::DefaultRenderer::new(&window));
105 Self { window, renderer }
106 }
107
108 pub fn run<F>(self, app: F)
109 where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected