pub fn export_html(
cart: &Cart,
out: &Path,
web_crate_dir: &Path,
controls: bool,
) -> Result<()>Expand description
Export cart as a playable single-file HTML page.
controls decides whether the page carries player controls: the
on-screen d-pad and O/X buttons touch devices get, and the keyboard
hint beside them. Carts that take no input — animations, demos,
visualizations — are better off without either.