Skip to main content

sync_motion_declarations

Function sync_motion_declarations 

Source
pub fn sync_motion_declarations(
    state: &mut MotionStateMap,
    declarations: &[MotionDeclaration],
    runtime: &RuntimeState,
    layout: Option<&LayoutSnapshot>,
    now: CurrentTime,
) -> MotionSyncResult
Expand description

Synchronizes build-time motion declarations into runtime state.

This is shell/runtime API. Application code should use widgets and motion presets rather than calling it directly.