euv-macros 0.3.13

Procedural macros for the euv UI framework, providing the macro and attribute for declarative UI composition.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::*;

/// The parsed input of the `watch!` macro.
///
/// Contains a list of signal expressions and a closure body with parameter names.
pub(crate) struct WatchInput {
    /// The signal expressions to watch.
    pub(crate) signals: Vec<Expr>,
    /// The parameter names of the closure.
    pub(crate) param_names: Vec<Ident>,
    /// The closure body statements.
    pub(crate) body: Vec<syn::Stmt>,
}