pub enum NewWindowResponse {
Allow,
Create {
window_id: WindowId,
},
Deny,
}Expand description
Response for the new window request handler.
Variants§
Allow
Allow the window to be opened with the default implementation.
Create
Available on neither Android nor iOS.
Allow the window to be opened, with the given window.
The window must be created referencing the opener window so it can inherit the appropriate attributes.
Deny
Deny the window from being opened.
Auto Trait Implementations§
impl Freeze for NewWindowResponse
impl RefUnwindSafe for NewWindowResponse
impl Send for NewWindowResponse
impl Sync for NewWindowResponse
impl Unpin for NewWindowResponse
impl UnsafeUnpin for NewWindowResponse
impl UnwindSafe for NewWindowResponse
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