Function launch

Source
pub fn launch(
    root: fn() -> Element,
    contexts: Vec<Box<dyn Fn() -> Box<dyn Any> + Send + Sync>>,
    platform_config: Vec<Box<dyn Any>>,
) -> !
Expand description

Launches the WebView and runs the event loop, with configuration and root props.