Trait WindowHandleProbe
pub trait WindowHandleProbe: Send + Sync {
type Handle: Send + Sync + 'static;
// Required method
fn window_handle_for_process(&self, pid: u32) -> Option<Self::Handle>;
}Expand description
Looks up an opaque platform window handle owned by a given process.
Required Associated Types§
Required Methods§
fn window_handle_for_process(&self, pid: u32) -> Option<Self::Handle>
fn window_handle_for_process(&self, pid: u32) -> Option<Self::Handle>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".