Trait mina::KeyframeBuilder
source · pub trait KeyframeBuilder {
type Data: Clone + Debug;
// Required methods
fn build(&self) -> Keyframe<Self::Data>;
fn easing(self, easing: Easing) -> Self;
}Expand description
Builder interface for creating a typed Keyframe.
Implementations will normally expose additional builder-type methods to configure the animation property values; this trait only encapsulates the behavior common to all keyframes.