[][src]Trait silver_animation::EditableState

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

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

Required methods

pub fn set_state(&mut self, new_state: T)[src]

pub fn get_state(&self) -> &T[src]

Loading content...

Implementors

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

Loading content...