pub enum PopupEvent {
Opened(Popup),
Closed(PageHandle),
Dialog(Dialog),
}Expand description
One entry of a PopupFeed.
Variants§
Opened(Popup)
Closed(PageHandle)
The page called window.close(); the engine releases it.
Dialog(Dialog)
The page opened alert(), confirm() or prompt() and waits
for PopupFeed::answer (dismissed after DIALOG_TIMEOUT).
Trait Implementations§
Source§impl Clone for PopupEvent
impl Clone for PopupEvent
Source§impl Debug for PopupEvent
impl Debug for PopupEvent
impl Eq for PopupEvent
Source§impl PartialEq for PopupEvent
impl PartialEq for PopupEvent
impl StructuralPartialEq for PopupEvent
Auto Trait Implementations§
impl Forget for PopupEvent
impl Freeze for PopupEvent
impl Move for PopupEvent
impl RefUnwindSafe for PopupEvent
impl Send for PopupEvent
impl Sync for PopupEvent
impl Unpin for PopupEvent
impl UnsafeUnpin for PopupEvent
impl UnwindSafe for PopupEvent
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