Expand description
EditorSession — backend playhead state + transport for the editor
(ED.7 / M-EDIT).
The editor’s clock is the native [EditorPlayer] (a pure frame-indexed
clock). It lives here, in the Tauri backend, alongside the future
preview window; the webview is a thin transport UI that sends
TransportActions and renders the returned EditorStatusView.
Ticking follows EditorPlayer/Driver’s “host injects dt” model: while
playing, the UI sends TransportAction::Tick from its animation loop
and the clock advances by that dt. (When the native preview window
lands it drives the same tick + renders the frame at current_frame.)
Structs§
- Editor
Session - The editor’s playhead clock for one open clip.
- Editor
Session State - Tauri-managed editor session state.
Noneuntil a clip is opened. - Editor
Status View - Serializable snapshot of the editor playhead for the transport UI.
Enums§
- Transport
Action - A transport command from the UI. Enum-dispatched through the single
editor_transportcommand so registration stays a one-liner.
Functions§
- editor_
transport - Apply a transport action to the active editor session. Returns
Nonewhen no clip is open.