Skip to main content

Module eval

Module eval 

Source
Expand description

Evaluation protocols and author-facing adapters. Evaluation protocols and the standard author-facing adapters.

Eval is the single visual leaf protocol; EvalExt adds build-time conveniences; pure::Pure adapts a closure and iterative::Iterative adapts a stepping function into that protocol. EvalDyn is the runtime-erased leaf dispatch held by LeafContent::Anim.

Modulesยง

iterative
Iterative (stateful, stepped) evaluation. Iterative (stateful, stepped) evaluation: the IterativeEval capability trait and its Iterative adapter into the general Eval protocol.
pure
Pure (closed-form) evaluation adapters. Pure (closed-form) evaluation adapters.

Structsยง

DynOutput ๐Ÿ”’
A cloneable complete output captured by a hold.
HeldOutput ๐Ÿ”’
A held batch replays each captured value with its original concrete type.
OutputContext ๐Ÿ”’
Frame insertion state shared by the leaves of one top-level animation.
Static
A constant evaluator.

Traitsยง

CapturedOutput ๐Ÿ”’
Eval
The general animation segment protocol: what the runtime can do with a segment.
EvalDyn ๐Ÿ”’
The erased visual-leaf protocol held by the runtime tree.
EvalExt
Build-time conveniences over Eval, split out so Eval stays a single primitive (eval_alpha).
StaticAnim
Convenience methods for zero-duration static animations.
StaticAnimRequirement
Requirement for StaticAnim.