Struct tauri_runtime::window::DetachedWindow
source · pub struct DetachedWindow<T: UserEvent, R: Runtime<T>> {
pub label: String,
pub dispatcher: R::Dispatcher,
pub menu_ids: Arc<Mutex<HashMap<MenuHash, MenuId>>>,
pub js_event_listeners: Arc<Mutex<HashMap<JsEventListenerKey, HashSet<u64>>>>,
}
Expand description
A webview window that is not yet managed by Tauri.
Fields
label: String
Name of the window
dispatcher: R::Dispatcher
The Dispatch
associated with the window.
Maps runtime id to a string menu id.
js_event_listeners: Arc<Mutex<HashMap<JsEventListenerKey, HashSet<u64>>>>
A HashMap mapping JS event names with associated listener ids.
Trait Implementations
sourceimpl<T: UserEvent, R: Runtime<T>> Clone for DetachedWindow<T, R>
impl<T: UserEvent, R: Runtime<T>> Clone for DetachedWindow<T, R>
sourceimpl<T: Debug + UserEvent, R: Debug + Runtime<T>> Debug for DetachedWindow<T, R>where
R::Dispatcher: Debug,
impl<T: Debug + UserEvent, R: Debug + Runtime<T>> Debug for DetachedWindow<T, R>where
R::Dispatcher: Debug,
sourceimpl<T: UserEvent, R: Runtime<T>> Hash for DetachedWindow<T, R>
impl<T: UserEvent, R: Runtime<T>> Hash for DetachedWindow<T, R>
sourceimpl<T: UserEvent, R: Runtime<T>> PartialEq<DetachedWindow<T, R>> for DetachedWindow<T, R>
impl<T: UserEvent, R: Runtime<T>> PartialEq<DetachedWindow<T, R>> for DetachedWindow<T, R>
impl<T: UserEvent, R: Runtime<T>> Eq for DetachedWindow<T, R>
Auto Trait Implementations
impl<T, R> RefUnwindSafe for DetachedWindow<T, R>where
<R as Runtime<T>>::Dispatcher: RefUnwindSafe,
impl<T, R> Send for DetachedWindow<T, R>
impl<T, R> Sync for DetachedWindow<T, R>
impl<T, R> Unpin for DetachedWindow<T, R>where
<R as Runtime<T>>::Dispatcher: Unpin,
impl<T, R> UnwindSafe for DetachedWindow<T, R>where
<R as Runtime<T>>::Dispatcher: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more