pub struct WindowStatistics {
pub total_windows: usize,
pub total_events: usize,
pub oldest_window_start: Option<u64>,
pub newest_window_start: Option<u64>,
pub average_events_per_window: f64,
}Expand description
Statistics about window manager state
Fields§
§total_windows: usizeTotal number of active windows
total_events: usizeTotal events across all windows
oldest_window_start: Option<u64>Start time of oldest window
newest_window_start: Option<u64>Start time of newest window
average_events_per_window: f64Average events per window
Trait Implementations§
Source§impl Clone for WindowStatistics
impl Clone for WindowStatistics
Source§fn clone(&self) -> WindowStatistics
fn clone(&self) -> WindowStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WindowStatistics
impl RefUnwindSafe for WindowStatistics
impl Send for WindowStatistics
impl Sync for WindowStatistics
impl Unpin for WindowStatistics
impl UnwindSafe for WindowStatistics
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