Skip to main content

Module executor

Module executor 

Source
Expand description

The executor’s call table, generated from the registry.

The output is one Function enum with its ID, argument count and result kind lookups, and one run function: a single match on the call that either expands a scalar adapter inline, calls a named handler, or falls through to the executor’s handwritten match. Besides that code, only the ID and metadata tables (three bytes a call) are stored at runtime.

The generated code is included by xila-graphics and refers to its handlers module, Kind enum, State, Transport, Call and ResultKind types.

Functions§

generate
source
Generate the call table source for the executor from LVGL’s own bindings (the Rust source lvgl_rust_sys generated for the build target).