pub trait AppMouse: Send + Sync {
// Provided method
fn perform_app_mouse<'life0, 'async_trait>(
&'life0 self,
request: AppMouseRequest,
) -> Pin<Box<dyn Future<Output = Result<AppMouseResult, PlatformError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}Expand description
Dispatch mouse input to the host app’s top-level window.
This is intentionally app/window-level, not LxApp-level: it can target native chrome, overlays, WebViews, and future desktop shells consistently.
Provided Methods§
fn perform_app_mouse<'life0, 'async_trait>(
&'life0 self,
request: AppMouseRequest,
) -> Pin<Box<dyn Future<Output = Result<AppMouseResult, PlatformError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".