[][src]Trait silver_animation::EditableState

pub trait EditableState<T> {
    fn set_state(&mut self, new_state: T);
fn get_state(&self) -> &T; }

This should be implemented if outside sources can change the state the animation is in.

Required methods

fn set_state(&mut self, new_state: T)

fn get_state(&self) -> &T

Loading content...

Implementors

impl<Animation, T> EditableState<T> for BasicAnimationContainer<Animation> where
    Animation: BasicAnimation + EditableState<T>, 
[src]

Loading content...