Skip to main content

project_motion_context

Function project_motion_context 

Source
pub fn project_motion_context(
    ctx: &MotionContext<'_>,
) -> Result<MotionContext, String>
Expand description

Project a live MotionContext into its owned WIT mirror (host→guest). Reads only the owned scalars — &Buffer, &CancellationToken, and the tree-sitter scope_resolver are host-owned and reached (if at all) through the document handle, never this record.