pub fn new_from_interval_secs(interval_secs: f64) -> Self {
        Self {
            wrapped: RevLimiter {
                lockstep_enabled: false,
                catchup_enabled: false,
                interval: Duration::from_secs_f64(interval_secs),
                clock: Clock::new(),
                lag: Duration::new(0, 0),
                speed: 1.0,
            },
        }
    }
/// begin building a RevLimiter based off of an interval (time between iterations) in seconds
begin building a RevLimiter based off of an interval (time between iterations) in seconds
begin building a RevLimiter based off of an interval ( time between iterations ) in seconds
pub fn new_from_interval_secs(interval_secs: f64) -> Self {
        Self {
            wrapped: RevLimiter {
                lockstep_enabled: false,
                catchup_enabled: false,
                interval: Duration::from_secs_f64(interval_secs),
                clock: Clock::new(),
                lag: Duration::new(0, 0),
                speed: 1.0,
            },
        }
    }
pub fn new_from_interval_secs ( interval_secs : f64 ) -> Self { Self { wrapped : RevLimiter { lockstep_enabled : false , catchup_enabled : false , interval : Duration :: from_secs_f64 ( interval_secs ) , clock : Clock :: new ( ) , lag : Duration :: new ( 0 , 0 ) , speed : 1.0 , } , } }
begin building a RevLimiter based off of an interval (time between iterations) in seconds
begin building a RevLimiter based off of an interval ( time between iterations ) in seconds
interval_secs
f64