Function pnet_macros::plugin_registrar
[−]
[src]
pub fn plugin_registrar(registry: &mut Registry)
The entry point for the syntax extension
This registers each part of the plugin with the compiler. There are two parts: a modifier, to add additional attributes to the original structure; and a decorator, to generate the various required structures and method.