Trait libre_pvz_animation::curve::builder::CurveContentBuilder
source · pub trait CurveContentBuilder: Default + Sized + 'static {
type Target: CurveContent + Send + Sync;
// Required methods
fn push_keyframe(
&mut self,
x: <Self::Target as CurveContentStatic>::Keyframe
);
fn finish(self) -> Self::Target;
}
Expand description
Builder for track contents (keyframes). Only intended for internal use and as an extension point.
Required Associated Types§
sourcetype Target: CurveContent + Send + Sync
type Target: CurveContent + Send + Sync
Target type to build, a CurveContent
.
Required Methods§
sourcefn push_keyframe(&mut self, x: <Self::Target as CurveContentStatic>::Keyframe)
fn push_keyframe(&mut self, x: <Self::Target as CurveContentStatic>::Keyframe)
Push one keyframe to this builder.
Object Safety§
This trait is not object safe.