pub fn iter(&self) -> TimeToSampleIterator<'_> {
        let mut iter = TimeToSampleIterator {
            entries: &self.entries,
            entry: TimeToSampleEntry::default(),
            index: 0,
            cumulative: 0,
        };
        if iter.entries.len() > 0 {
            iter.entry = iter.entries[0].clone();
        }
        iter
    }
/// Return an iterator that iterates over every sample.
Return an iterator that iterates over every sample.
Return an iterator that iterates over every sample .
pub fn iter(&self) -> TimeToSampleIterator<'_> {
        let mut iter = TimeToSampleIterator {
            entries: &self.entries,
            entry: TimeToSampleEntry::default(),
            index: 0,
            cumulative: 0,
        };
        if iter.entries.len() > 0 {
            iter.entry = iter.entries[0].clone();
        }
        iter
    }
pub fn iter ( & self ) -> TimeToSampleIterator < ' _ > { let mut iter = TimeToSampleIterator { entries : & self . entries , entry : TimeToSampleEntry :: default ( ) , index : 0 , cumulative : 0 , } ; if iter . entries . len ( ) > 0 { iter . entry = iter . entries [ 0 ] . clone ( ) ; } iter }
Return an iterator that iterates over every sample.
Return an iterator that iterates over every sample .
&self
&self