pub struct DetachedWindow<T: UserEvent, R: Runtime<T>> {
pub id: WindowId,
pub label: String,
pub dispatcher: R::WindowDispatcher,
pub webview: Option<DetachedWindowWebview<T, R>>,
}
Expand description
A window that is not yet managed by Tauri.
Fields§
§id: WindowId
The identifier of the window.
label: String
Name of the window
dispatcher: R::WindowDispatcher
The WindowDispatch
associated with the window.
webview: Option<DetachedWindowWebview<T, R>>
The webview dispatcher in case this window has an attached webview.
Trait Implementations§
Source§impl<T: Debug + UserEvent, R: Debug + Runtime<T>> Debug for DetachedWindow<T, R>where
R::WindowDispatcher: Debug,
impl<T: Debug + UserEvent, R: Debug + Runtime<T>> Debug for DetachedWindow<T, R>where
R::WindowDispatcher: Debug,
impl<T: UserEvent, R: Runtime<T>> Eq for DetachedWindow<T, R>
Auto Trait Implementations§
impl<T, R> Freeze for DetachedWindow<T, R>
impl<T, R> RefUnwindSafe for DetachedWindow<T, R>where
<R as Runtime<T>>::WindowDispatcher: RefUnwindSafe,
<R as Runtime<T>>::WebviewDispatcher: 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>
impl<T, R> UnwindSafe for DetachedWindow<T, R>where
<R as Runtime<T>>::WindowDispatcher: UnwindSafe,
<R as Runtime<T>>::WebviewDispatcher: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.