Skip to main content

euv_core/window/control/
struct.rs

1use super::*;
2
3/// Thread-local command queue allowing UI handlers to issue window mutations safely.
4#[derive(Clone, Data, Debug, Default)]
5pub struct WindowCommandQueue {
6    /// Queued commands awaiting dispatch to the active `PlatformBackend`.
7    #[get(pub(crate))]
8    #[get_mut(pub(crate))]
9    #[set(pub(crate))]
10    pub(crate) commands: Vec<WindowCommand>,
11}