Crate gen_plugin

Source
Expand description

§Plugin transform module

this module is responsible for transforming the plugin into a token in GenUI framework. If you write a GenUI plugin, you need to use this module to connect your plugin to the GenUI framework.

§Example

After you write a network plugin, you need to define a token.toml file in the root of your plugin.

[plugin]
name = "network-http"
category = "network"

[macros]
http_get = { category = "prop_macro"}

Structs§

Macro
MacroContext
Plugin
Token

Enums§

MacroCategory
PluginCategory
The category of the plugin
Repo

Functions§

parse_quote_str

Type Aliases§

PluginError