euv_core/app/struct.rs
1use super::*;
2
3/// A zero-sized application context struct providing access to core euv framework APIs.
4///
5/// This struct serves as a namespace for framework functions, allowing them to be
6/// accessed in a more object-oriented style. It contains no fields and all methods
7/// are effectively static.
8///
9/// The `App` struct provides unified access to:
10/// - Signal management (`use_signal`)
11/// - Batched updates (`batch`)
12/// - DOM mounting (`mount`)
13/// - Scheduled updates (`schedule_update`)
14/// - Cleanup registration (`use_cleanup`)
15/// - Interval handling (`use_interval`)
16/// - Window event handling (`use_window_event`)
17#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
18pub struct App;