TimelinesFunc

Trait TimelinesFunc 

Source
pub trait TimelinesFunc {
    // Required methods
    fn seal(&mut self);
    fn max_total_secs(&self) -> f64;
    fn sync(&mut self);
    fn forward(&mut self, secs: f64);
    fn forward_to(&mut self, target_sec: f64);
}
Expand description

Functions for timelines

Required Methods§

Source

fn seal(&mut self)

Seal timelines

Source

fn max_total_secs(&self) -> f64

Get the max end_sec of the timelines

Source

fn sync(&mut self)

Sync the timelines

Source

fn forward(&mut self, secs: f64)

Forward all timelines by sec

Source

fn forward_to(&mut self, target_sec: f64)

Forward all timelines to target_sec

Implementors§

Source§

impl<I, T> TimelinesFunc for I
where T: TimelineFunc, &'a mut I: for<'a> IntoIterator<Item = &'a mut T>, &'a I: for<'a> IntoIterator<Item = &'a T>, I: ?Sized,