Skip to main content

WindowFacts

Trait WindowFacts 

Source
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§

Source

fn pid(&self) -> u32

Source

fn title(&self) -> &str

Source

fn is_agentmux(&self) -> bool

Source

fn tier(&self) -> CaptureTier

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§