Skip to main content

run

Function run 

Source
pub fn run(path: PathBuf)
Expand description

Open the Rux window for the given .rux file and run the frame loop until the window closes. Watches the file and repaints on change.

Native only: it takes a filesystem path and installs a file watcher, neither of which a browser has. The web build drives the same App from source text supplied by the playground editor.