pub fn snapshot(&self) -> Snapshot<'_> {
        Snapshot {
            timer: self,
            time: self.current_time(),
        }
    }
/// Creates a new snapshot of the timer at the point in time of this call.
/// It represents a frozen state of the timer such that calculations can
/// work with an entirely consistent view of the timer without the current
/// time changing underneath.
Creates a new snapshot of the timer at the point in time of this call.
It represents a frozen state of the timer such that calculations can
work with an entirely consistent view of the timer without the current
time changing underneath.
Creates a new snapshot of the timer at the point in time of this call . It represents a frozen state of the timer such that calculations can work with an entirely consistent view of the timer without the current time changing underneath .
pub fn snapshot(&self) -> Snapshot<'_> {
        Snapshot {
            timer: self,
            time: self.current_time(),
        }
    }
pub fn snapshot ( & self ) -> Snapshot < ' _ > { Snapshot { timer : self , time : self . current_time ( ) , } }
Creates a new snapshot of the timer at the point in time of this call.
Creates a new snapshot of the timer at the point in time of this call .
&self
&self