euv-macros 0.46.1

Zero-overhead procedural macros for the cross-platform euv UI framework, providing view!, style!, design_tokens!, watch!, computed!, state!, #[state_store], #[component], #[event], and #[euv].
Documentation
1
2
3
4
5
6
7
8
9
use super::*;

/// Parsed `on_event!(EventType => handler)` invocation.
pub(crate) struct OnEventInput {
    /// Target custom event type.
    pub(crate) event_type: Type,
    /// Callback closure handling `&EventType`.
    pub(crate) handler: Expr,
}