pub trait RevealTarget {
// Required methods
fn prepare(&mut self);
fn app_show(&mut self);
fn unminimize(&mut self) -> Result<(), String>;
fn show(&mut self) -> Result<(), String>;
fn focus(&mut self) -> Result<(), String>;
fn order_back(&mut self) -> Result<(), String>;
}Expand description
The window calls one reveal makes, so every path is testable (and recordable) without a window.
Required Methods§
Sourcefn prepare(&mut self)
fn prepare(&mut self)
Before a foreground reveal of the main window: back to a Regular app, run the host’s visibility callback.
fn unminimize(&mut self) -> Result<(), String>
fn show(&mut self) -> Result<(), String>
fn focus(&mut self) -> Result<(), String>
Sourcefn order_back(&mut self) -> Result<(), String>
fn order_back(&mut self) -> Result<(), String>
QA background: native order-back without activation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".