Expand description
§Dola — Declarative Orchestration for Live Animation
プラグイン間で共有可能なシリアライズ可能アニメーション宣言フォーマット。 Windows Animation Manager の概念(変数・トランジション・キーフレーム・ストーリーボード)を プラットフォーム非依存のデータモデルとして再構成する。
Structs§
- Between
Keyframes - キーフレーム間配置指定
- Compiled
Segment - 単一トランジションセグメントの全情報
- Compiled
Storyboard - コンパイル済みストーリーボードのルート構造体
- Compiled
Variable Timeline - 変数ごとのセグメント列とランタイムヒント
- Dola
Document - Dola ドキュメントのルートコンテナ
- Dola
Document Builder - DolaDocument ビルダー
- Schedule
Request - スケジューリング指示
- Storyboard
- ストーリーボード(メタ情報 + エントリ配列)
- Storyboard
Builder - Storyboard ビルダー
- Storyboard
Entry - ストーリーボードエントリ(配置 + KF 定義の統合単位)
- Transition
Def - トランジション定義
Enums§
- Animation
Variable Def - アニメーション変数定義(内部タグ方式: “type” フィールドで判別)
- Dola
Error - Dola バリデーションエラー
- Dynamic
Value - フォーマット非依存の動的値型(JSON/TOML/YAML 共通) バリアント順序: Integer を Float より前に定義し、TOML の整数/浮動小数点区別を保持
- Easing
Function - イージング関数(名前付き or パラメトリック)
- Easing
Name - 名前付きイージング(interpolation::EaseFunction 準拠 + Linear) Rust バリアント名は PascalCase、シリアライズ形式は snake_case
- Interruption
Policy - 割り込み終了戦略(ストーリーボード競合時の自己申告方針)
- Keyframe
Names - キーフレーム名指定(単一または複数)
- Keyframe
Ref - キーフレーム起点指定(
atフィールド用) 4つの表現形式をサポート: at = “visible” → Single at = [“visible”, “audio_done”] → Multiple at = { keyframes = “visible”, offset = 0.5 } → WithOffset (single) at = { keyframes = [“visible”, “done”], offset = 0.5 } → WithOffset (multiple) - Parametric
Easing - パラメトリックイージング(内部タグ “type” で判別)
- Playback
State - 再生状態列挙型
- Transition
Ref - トランジション参照(ハイブリッド: 名前文字列 or インライン定義) serde 動作: 文字列→Named、オブジェクト→Inline を順番に試行
- Transition
Value - トランジションの開始値・終了値を表す型 serde 動作: #[serde(untagged)] により Scalar(f64) を先に試行。 数値は Scalar、オブジェクト構造は Dynamic にマッピング。
- Variable
Type Hint - ランタイムに変数型固有の処理方法を伝達する enum
Traits§
- Validate
- DolaDocument のバリデーション
Functions§
- compile_
storyboard - ストーリーボードをコンパイルする