pub enum WindowOpenReply<H> {
Open(H),
Pending,
Unsupported,
}Expand description
A backend’s answer to Toolkit::open_window (docs/windows.md).
Variants§
Open(H)
The window exists now; here is its content container (desktop backends).
Pending
Native creation started but completes asynchronously (a scene, an activity, an
ability); the backend will call day_core::finish_window_open when the content
container exists. day-core parks the window record until then.
Unsupported
This toolkit cannot open windows (Cap::MultiWindow = Unsupported); day-core
falls back to presenting the content as a fullscreen cover in the primary window.
Auto Trait Implementations§
impl<H> Freeze for WindowOpenReply<H>where
H: Freeze,
impl<H> RefUnwindSafe for WindowOpenReply<H>where
H: RefUnwindSafe,
impl<H> Send for WindowOpenReply<H>where
H: Send,
impl<H> Sync for WindowOpenReply<H>where
H: Sync,
impl<H> Unpin for WindowOpenReply<H>where
H: Unpin,
impl<H> UnsafeUnpin for WindowOpenReply<H>where
H: UnsafeUnpin,
impl<H> UnwindSafe for WindowOpenReply<H>where
H: UnwindSafe,
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