Timeline

Trait Timeline 

Source
pub trait Timeline {
    // Required methods
    fn start_time(&self) -> f32;
    fn stop_time(&self) -> f32;
    fn current_time(&self) -> f32;
    fn state(&self) -> &TimelineState;
    fn start(&mut self);
    fn forward(&mut self);
    fn pause(&mut self);
    fn actions(&self) -> &Vec<Action>;
    fn add_action(&mut self, action: Action);
    fn add_infinite_action(&mut self, action: Action);
}

Required Methods§

Source

fn start_time(&self) -> f32

Source

fn stop_time(&self) -> f32

Source

fn current_time(&self) -> f32

Source

fn state(&self) -> &TimelineState

Source

fn start(&mut self)

Source

fn forward(&mut self)

Source

fn pause(&mut self)

Source

fn actions(&self) -> &Vec<Action>

Source

fn add_action(&mut self, action: Action)

Source

fn add_infinite_action(&mut self, action: Action)

Implementors§