Expand description
Stable ABI types for the plugin dynamic library interface.
Uses abi_stable to define types that can safely cross the Rust dynamic
library boundary. The plugin exports a #[no_mangle] function that returns
a PluginVTable, and the host loads it with
abi_stable::library::RawLibrary.
Structs§
- Action
ResponseFFI - FFI-safe response from a plugin action handler.
- Active
SidebarFFI - Confirmation
Dialog RequestFFI - GpuFilter
ContextFFI - FFI-safe GPU filter context passed from the host to the plugin.
- Host
ApiV Table - Host
SnapshotFFI - HudToolbar
ButtonFFI - FFI-safe HUD toolbar button registration data.
- Modal
Dialog RequestFFI - Open
File InfoFFI - Plugin
Undo Redo StateFFI - PluginV
Table - VTable of function pointers exported by each plugin shared library.
- Toolbar
ButtonFFI - FFI-safe toolbar button registration data.
- UiPropertyFFI
- Viewport
Context Menu ItemFFI - Viewport
FilterFFI - FFI-safe viewport filter descriptor.
- Viewport
Overlay Component RequestFFI - Viewport
Overlay PointFFI - Viewport
Overlay PolygonFFI - Viewport
Overlay VertexFFI - Viewport
SnapshotFFI
Enums§
Constants§
- PLUGIN_
VTABLE_ SYMBOL - Symbol name the host looks for in plugin shared libraries.
Functions§
- plugin_
library_ filename - Returns the expected shared library filename for a plugin on the current platform, derived from the plugin id.
Type Aliases§
- GetPluginV
Table Fn - The type of the factory function each plugin exports.