Trait freya::prelude::AnimatedValue

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.

Implementations on Foreign Types§

§

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

§

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)

§

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

§

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)

§

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

§

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)

§

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

§

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)

§

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

§

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)

§

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

§

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)

§

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

§

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)

§

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

§

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)

§

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

§

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)

§

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

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

§

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)

Implementors§

§

impl AnimatedValue for AnimColor

§

impl AnimatedValue for AnimNum

§

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