Skip to content

Support contexts with lifetime bounds

Pre-release
Pre-release
Compare
Choose a tag to compare
@Woyten Woyten released this 11 Jul 12:11
· 13 commits to latest since this release

Another redesign was necessary to enable the usage of references in a generic context.

Changes:

  • Automation is replaced by AutomatedValue
  • AutomationContext is replaced by QueryInfo
  • AutomatableValue is replaced by Automatable
  • AutomatedValue is replaced by Automated
  • AutomationSpec is replaced by AutomatableParam
  • creator::Creator is replaced by automation::AutomationFactory
    • Example usages:
      • factory.automate(automatable).into_automation(automation_fn)
      • factory.automate(automatable).into_stage(stage_fn)
    • To access the former render_window_secs variable, inject RenderWindowSecs as an Automatable instead
  • AutomatedValue (former Automation) and Stage are now parameterized over Q: QueryInfo
  • AutomationFactory (former Creator) is now parameterized over C: CreationInfo