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: ?Sized, T: TimelineFunc> TimelinesFunc for I
where for<'a> &'a mut I: IntoIterator<Item = &'a mut T>, for<'a> &'a I: IntoIterator<Item = &'a T>,