Trait freya_hooks::AnimatedValue
source · pub trait AnimatedValue: Clone + 'static {
// Required methods
fn prepare(&mut self, direction: AnimDirection);
fn is_finished(&self, index: u128, direction: AnimDirection) -> bool;
fn advance(&mut self, index: u128, direction: AnimDirection);
fn finish(&mut self, direction: AnimDirection);
}
Required Methods§
fn prepare(&mut self, direction: AnimDirection)
fn is_finished(&self, index: u128, direction: AnimDirection) -> bool
fn advance(&mut self, index: u128, direction: AnimDirection)
fn finish(&mut self, direction: AnimDirection)
Object Safety§
This trait is not object safe.