euv-macros 0.51.0

Zero-overhead procedural macros for the cross-platform euv UI framework, providing view!, style!, var!, watch!, computed!, state!, #[store], #[component], #[event], emit!, on!, and #[euv].
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>,
}