pub(crate) trait WindowFacts {
// Required methods
fn pid(&self) -> u32;
fn title(&self) -> &str;
fn is_agentmux(&self) -> bool;
fn tier(&self) -> CaptureTier;
}Expand description
What choosing a capture target needs to know about a window, so the choice can be tested
without a desktop (AgentMuxWindowInfo holds the OS window itself).
Required Methods§
fn pid(&self) -> u32
fn title(&self) -> &str
fn is_agentmux(&self) -> bool
fn tier(&self) -> CaptureTier
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".