slint-ui-templates 0.1.0

Composable Slint UI building blocks — mother-child pattern, token-driven
Documentation
1
2
3
4
5
6
use std::path::Path;

/// Load a Rhai script file from disk.
pub fn load_script(path: &Path) -> std::io::Result<String> {
    std::fs::read_to_string(path)
}