pub(crate) fn frame(&mut self) -> Duration {
            self.frame_number += 1;
            self.delta_duration = self.measure_start.elapsed();
            self.measure_start = Instant::now();
            self.delta_duration
        }
/// finish the last frame and return its duration
finish the last frame and return its duration
finish the last frame and return its duration
pub(crate) fn frame(&mut self) -> Duration {
            self.frame_number += 1;
            self.delta_duration = self.measure_start.elapsed();
            self.measure_start = Instant::now();
            self.delta_duration
        }
pub ( crate ) fn frame ( & mut self ) -> Duration { self . frame_number += 1 ; self . delta_duration = self . measure_start . elapsed ( ) ; self . measure_start = Instant :: now ( ) ; self . delta_duration }
finish the last frame and return its duration
finish the last frame and return its duration
&mut self
&mut self