pub struct TuiConfig {
pub refresh_rate_ms: u64,
pub show_frame_times: bool,
pub show_memory_usage: bool,
pub show_anomaly_alerts: bool,
pub title: String,
}Expand description
TUI configuration
Fields§
§refresh_rate_ms: u64Refresh rate in milliseconds
show_frame_times: boolShow frame time sparkline
show_memory_usage: boolShow memory usage
show_anomaly_alerts: boolShow anomaly alerts
title: StringTitle for the TUI window
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TuiConfig
impl RefUnwindSafe for TuiConfig
impl Send for TuiConfig
impl Sync for TuiConfig
impl Unpin for TuiConfig
impl UnsafeUnpin for TuiConfig
impl UnwindSafe for TuiConfig
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