pub fn jump_sample_backward(&mut self, duration: humantime::Duration) -> Option<ModelType> {
        let gap = Duration::from_secs(duration.as_secs());
        if util::get_unix_timestamp(self.target_timestamp) < gap.as_secs() {
            return None;
        }

        self.jump_sample_to(self.target_timestamp - gap)
    }
/// Syntactic sugar for jump sample backward
Syntactic sugar for jump sample backward
Syntactic sugar for jump sample backward
pub fn jump_sample_backward(&mut self, duration: humantime::Duration) -> Option<ModelType> {
        let gap = Duration::from_secs(duration.as_secs());
        if util::get_unix_timestamp(self.target_timestamp) < gap.as_secs() {
            return None;
        }
        self.jump_sample_to(self.target_timestamp - gap)
    }
pub fn jump_sample_backward ( & mut self , duration : humantime :: Duration ) -> Option < ModelType > { let gap = Duration :: from_secs ( duration . as_secs ( ) ) ; if util :: get_unix_timestamp ( self . target_timestamp ) < gap . as_secs ( ) { return None ; } self . jump_sample_to ( self . target_timestamp - gap ) }
Syntactic sugar for jump sample backward
Syntactic sugar for jump sample backward
&mut self
duration
humantime::Duration
&mut self
duration
humantime::Duration