pub struct Popup {
pub opener: Option<PageHandle>,
pub page: PageHandle,
pub url: String,
}Expand description
A page another page opened (see Engine::set_popups).
Fields§
§opener: Option<PageHandle>None when the opener was not an engine page (it closed).
page: PageHandle§url: StringThe URL it was asked to load (empty for window.open() with none).
Trait Implementations§
impl Eq for Popup
impl StructuralPartialEq for Popup
Auto Trait Implementations§
impl Forget for Popup
impl Freeze for Popup
impl Move for Popup
impl RefUnwindSafe for Popup
impl Send for Popup
impl Sync for Popup
impl Unpin for Popup
impl UnsafeUnpin for Popup
impl UnwindSafe for Popup
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