euv-macros 0.40.0

Zero-overhead procedural macros for the cross-platform euv UI framework, providing view!, style!, class!, tokens!, watch!, computed!, component, and euv_main!.
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,
}