EnumStateAnimator

Type Alias EnumStateAnimator 

Source
pub type EnumStateAnimator<State, Timeline> = MappedTimelineAnimator<State, Timeline, EnumMap<State, Option<MergedTimeline<Timeline>>>>;
Expand description

Alias for a MappedTimelineAnimator whose map type is an EnumMap.

Callers shouldn’t use this type directly unless they need to store the instance in a struct or tuple and can’t use the boxed StateAnimator trait object. For creation of animators, use the StateAnimatorBuilder instead.

Aliased Type§

pub struct EnumStateAnimator<State, Timeline> { /* private fields */ }