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

/// Parsed arguments passed to `#[component(...)]` (e.g. `#[component(retention = Freeze)]`).
pub(crate) struct ComponentAttrArgs {
    /// Optional `PageRetention` variant identifier (`Destroy`, `Freeze`, or `Alive`).
    pub(crate) retention: Option<Ident>,
}