Skip to main content

load

Function load 

Source
pub fn load<P: Plugin + Default>(app: &mut App, package: &str, source: &str)
Expand description

Adds P, unless the app has it already (another plugin added it), as the generated main.rs adds each plugin plugins.toml lists: with an entity of its own, named after it, from package at source.