/// Count of the number of frames that have ended before `time`.
Count of the number of frames that have ended before `time`.
Count of the number of frames that have ended before ` time ` .
fn frames_before(&self, time: fasync::Time) -> usize {
        match self.start_time.as_ref() {
            Some(start) if time > *start => self.frames_from_duration(time - *start) as usize,
            _ => 0,
        }
    }
fn frames_before ( & self , time : fasync :: Time ) -> usize { match self . start_time . as_ref ( ) { Some ( start ) if time > * start => self . frames_from_duration ( time - * start ) as usize , _ => 0 , } }
Count of the number of frames that have ended before `time`.
Count of the number of frames that have ended before ` time ` .
&self
time
fasync::Time