Trait freya::hooks::AnimatedValue
source · pub trait AnimatedValue {
// Required methods
fn time(&self) -> Duration;
fn as_f32(&self) -> f32;
fn as_string(&self) -> String;
fn prepare(&mut self, direction: AnimDirection);
fn is_finished(&self, index: u128, direction: AnimDirection) -> bool;
fn advance(&mut self, index: u128, direction: AnimDirection);
}