slint-ui-templates 0.1.0

Composable Slint UI building blocks — mother-child pattern, token-driven
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Typed error for view-config evaluation and loading.
#[derive(thiserror::Error, Debug)]
/// V ie wc on fi ge rr or enum.
pub enum ViewConfigError {
    /// Rhai script evaluation failed.
    #[error("rhai: {0}")]
    Rhai(#[from] Box<rhai::EvalAltResult>),
    /// File I/O error.
    #[error("io: {0}")]
    Io(#[from] std::io::Error),
    /// `Rc::try_unwrap` failed — engine leaked a reference.
    #[error("Rc still has multiple owners")]
    RcUnwrap,
}