pub struct TimeTravelConfig {
pub max_snapshots: usize,
pub auto_record: bool,
pub record_interval: Duration,
}Expand description
Configuration for time travel debugger
Fields§
§max_snapshots: usizeMaximum number of snapshots to keep
auto_record: boolAuto-record state changes
record_interval: DurationRecord interval (minimum time between auto-snapshots)
Trait Implementations§
Source§impl Clone for TimeTravelConfig
impl Clone for TimeTravelConfig
Source§fn clone(&self) -> TimeTravelConfig
fn clone(&self) -> TimeTravelConfig
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 moreSource§impl Debug for TimeTravelConfig
impl Debug for TimeTravelConfig
Auto Trait Implementations§
impl Freeze for TimeTravelConfig
impl RefUnwindSafe for TimeTravelConfig
impl Send for TimeTravelConfig
impl Sync for TimeTravelConfig
impl Unpin for TimeTravelConfig
impl UnsafeUnpin for TimeTravelConfig
impl UnwindSafe for TimeTravelConfig
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