euv-core 0.46.1

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;

/// Unified window control interface implemented by all platform backends.
pub trait WindowController {
    /// Applies a single `WindowCommand` to the underlying native or web window.
    ///
    /// # Arguments
    ///
    /// - `&Self` - Mutable window controller.
    /// - `WindowCommand` - Command to apply.
    ///
    /// # Returns
    ///
    /// - `Result<(), PlatformError>` - Success or platform error.
    fn apply_command(&mut self, command: WindowCommand) -> Result<(), PlatformError>;
}