pub trait WindowListFormat {
// Required methods
fn format_output(&self, config: &FormatConfig) -> String;
fn format_with(&self, format: OutputFormat) -> String;
}Expand description
Extension trait for formatting window information.
Required Methods§
Sourcefn format_output(&self, config: &FormatConfig) -> String
fn format_output(&self, config: &FormatConfig) -> String
Format windows according to the configuration.
Sourcefn format_with(&self, format: OutputFormat) -> String
fn format_with(&self, format: OutputFormat) -> String
Format windows with a specific output format.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".