pub struct MainLoopConfig {
pub tsc_freq: u64,
pub timing_warning_ticks: u64,
}Expand description
Main loop configuration.
Fields§
§tsc_freq: u64TSC frequency (ticks per second).
timing_warning_ticks: u64Warning threshold for iteration timing (ticks).
Implementations§
Auto Trait Implementations§
impl Freeze for MainLoopConfig
impl RefUnwindSafe for MainLoopConfig
impl Send for MainLoopConfig
impl Sync for MainLoopConfig
impl Unpin for MainLoopConfig
impl UnwindSafe for MainLoopConfig
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