Type Definition mina::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.