Struct rustdoc::plugins::PluginManager [] [src]

pub struct PluginManager {
    pub prefix: PathBuf,
    // some fields omitted
}
🔬 This is a nightly-only experimental API. (rustdoc)

Manages loading and running of plugins

Fields

🔬 This is a nightly-only experimental API. (rustdoc)

The directory plugins will be loaded from

Methods

impl PluginManager
[src]

🔬 This is a nightly-only experimental API. (rustdoc)

Create a new plugin manager

🔬 This is a nightly-only experimental API. (rustdoc)

Load a plugin with the given name.

Turns name into the proper dynamic library filename for the given platform. On windows, it turns into name.dll, on OS X, name.dylib, and elsewhere, libname.so.

🔬 This is a nightly-only experimental API. (rustdoc)

Load a normal Rust function as a plugin.

This is to run passes over the cleaned crate. Plugins run this way correspond to the A-aux tag on Github.

🔬 This is a nightly-only experimental API. (rustdoc)

Run all the loaded plugins over the crate, returning their results