pub struct WindowFormatter;Expand description
Main formatter for window information.
Implementations§
Source§impl WindowFormatter
impl WindowFormatter
Sourcepub fn format_window(window: &WindowInfo, config: &FormatConfig) -> String
pub fn format_window(window: &WindowInfo, config: &FormatConfig) -> String
Format a single window according to the configuration.
Sourcepub fn format_windows(windows: &[WindowInfo], config: &FormatConfig) -> String
pub fn format_windows(windows: &[WindowInfo], config: &FormatConfig) -> String
Format a list of windows according to the configuration.
Auto Trait Implementations§
impl Freeze for WindowFormatter
impl RefUnwindSafe for WindowFormatter
impl Send for WindowFormatter
impl Sync for WindowFormatter
impl Unpin for WindowFormatter
impl UnwindSafe for WindowFormatter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more