Expand description
What the two sides say to each other, as serde shapes.
Each of these is encoded once per crossing through crate::codec: the
host sends an InitCx and takes back a Manifest, sends a Call
and takes back a CallOut, and receives a PluginEvent whenever the
plugin pushes one. The types a plugin describes its functions with are
lumen_script’s own, so a manifest says exactly what the engine’s script
registry stores.
Structs§
- Call
- One call into a plugin.
- CallOut
- What one call produced.
- FnDecl
- One function a plugin offers, in the terms every script host understands.
- InitCx
- What a plugin knows about the app it was loaded into.
- Manifest
- What a plugin registered, answered from its init.
Enums§
- Plugin
Event - Something a plugin or a capability pushes at the engine outside a call.