pub struct DynWindowOpener(/* private fields */);Expand description
Information about the webview that initiated a new window request, for the selected runtime.
Downcast it to the runtime’s opener type (e.g. tauri_runtime_wry::NewWindowOpener) to inspect it.
Implementations§
Source§impl DynWindowOpener
impl DynWindowOpener
Sourcepub fn downcast_ref<O: Any>(&self) -> Option<&O>
pub fn downcast_ref<O: Any>(&self) -> Option<&O>
Returns a reference to the inner opener if it is of type O.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DynWindowOpener
impl !UnwindSafe for DynWindowOpener
impl Freeze for DynWindowOpener
impl Send for DynWindowOpener
impl Sync for DynWindowOpener
impl Unpin for DynWindowOpener
impl UnsafeUnpin for DynWindowOpener
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