pub struct WindowCorePlugin;Expand description
The window-free half of every window backend.
Registers the messages a window backend writes (WindowFocused,
WindowOccluded, the IME surrounding-text pair, and
TextEditRequest for IME commits), inserts a default
RedrawScheduler, and installs the extract pipeline a window presents
from. A window backend installs it before it opens a window unless the
app already has it; a headless run installs it alone.
CloseRequest is not registered here: App::new registers it, so
close hooks work headless too, and registering a message twice cycles
its buffer twice per tick, dropping writes made before the tick.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WindowCorePlugin
impl RefUnwindSafe for WindowCorePlugin
impl Send for WindowCorePlugin
impl Sync for WindowCorePlugin
impl Unpin for WindowCorePlugin
impl UnsafeUnpin for WindowCorePlugin
impl UnwindSafe for WindowCorePlugin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.