pub enum RevealSource {
Reopen,
Opened,
SecondInstance,
ShowOnReady,
Tray,
WindowCommand,
OpenWindow,
Restore,
Api,
}Expand description
Why the shell is bringing a window up. Every source asks the same guard (reveal_mode).
Variants§
Reopen
macOS Dock reopen (RunEvent::Reopen).
Opened
The OS handed the app a URL or file (RunEvent::Opened).
SecondInstance
A second launch forwarded to the primary.
ShowOnReady
The main webview became ready.
Tray
Tray menu “Show” or a tray click.
WindowCommand
The rk_shell_window show command from the renderer.
OpenWindow
windows::open (create or re-reveal a secondary window).
Restore
WindowStateStore::restore_with visibility options.
Api
A host call to windows::reveal.
Trait Implementations§
Source§impl Clone for RevealSource
impl Clone for RevealSource
impl Copy for RevealSource
Source§impl Debug for RevealSource
impl Debug for RevealSource
impl Eq for RevealSource
Source§impl Hash for RevealSource
impl Hash for RevealSource
Source§impl PartialEq for RevealSource
impl PartialEq for RevealSource
impl StructuralPartialEq for RevealSource
Auto Trait Implementations§
impl Freeze for RevealSource
impl RefUnwindSafe for RevealSource
impl Send for RevealSource
impl Sync for RevealSource
impl Unpin for RevealSource
impl UnsafeUnpin for RevealSource
impl UnwindSafe for RevealSource
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§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.