pub trait IntoTimeline<'a> {
type IntoIter: Iterator<Item = TimelineData>
where Self: 'a;
// Required method
fn timeline(&'a self) -> Self::IntoIter;
}Expand description
Quickly transform a structure into one or more events that are part of a timeline
ⓘ
impl<'a> IntoTimeline<'a> for PrefetchFile {
fn timeline(&'a self) -> Self::IntoIter {
PrefetchTimelineIterator {
prefetch : self,
time_pos : 0
}
}
type IntoIter = PrefetchTimelineIterator<'a> where Self: 'a;
}