macro_rules! simple_plugin_subclass {
    (impl ObjectSubclass for $name:tt as $ty:ty { $($subclass:tt)* }) => { ... };
    (impl ObjectSubclass<$parent:ty> for $name:tt as $ty:ty { $($subclass:tt)* }) => { ... };
}
Expand description

Implements glib::ObjectSubclass, glib::ObjectImpl, and ObjectImpl for your plugin.

The plugin type must also manually impl SimplePlugin, and will be wrapped as SimplePluginObject<T>. See the module documentation for a full example.