euv-macros 0.1.0

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
use crate::*;

/// The value side of a CSS property in a class definition.
///
/// May be a static string literal or a dynamic expression referencing parameters.
pub(crate) enum ClassPropValue {
    /// A static string literal value.
    Literal(String),
    /// A dynamic expression (Rust code token stream).
    Expr(TokenStream2),
}