Skip to main content

PluginInstaller

Type Alias PluginInstaller 

Source
pub type PluginInstaller = Box<dyn FnOnce(&mut App) + Send>;
Expand description

One deferred Plugin installation, held until build_app reaches the phase that runs it. Send so an embedder can build the options on one thread and run them on another; the plugin itself is moved into the closure.

Aliased Typeยง

pub struct PluginInstaller(/* private fields */);