Trait freya::prelude::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§

source

fn prepare(&mut self, direction: AnimDirection)

source

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source

fn advance(&mut self, index: u128, direction: AnimDirection)

source

fn finish(&mut self, direction: AnimDirection)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T1> AnimatedValue for (T1,)
where T1: AnimatedValue,

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2> AnimatedValue for (T1, T2)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3> AnimatedValue for (T1, T2, T3)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4> AnimatedValue for (T1, T2, T3, T4)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5> AnimatedValue for (T1, T2, T3, T4, T5)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6> AnimatedValue for (T1, T2, T3, T4, T5, T6)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> AnimatedValue for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)

source§

fn prepare(&mut self, direction: AnimDirection)

source§

fn is_finished(&self, index: u128, direction: AnimDirection) -> bool

source§

fn advance(&mut self, index: u128, direction: AnimDirection)

source§

fn finish(&mut self, direction: AnimDirection)

Implementors§

source§

impl AnimatedValue for AnimColor

source§

impl AnimatedValue for AnimNum

source§

impl<Animated, const N: usize> AnimatedValue for AnimSequential<Animated, N>
where Animated: AnimatedValue,