bevy_app

Type Alias CreatePlugin

Source
pub type CreatePlugin = unsafe fn() -> *mut dyn Plugin;
👎Deprecated since 0.14.0: The current dynamic plugin system is unsound and will be removed in 0.15.
Expand description

A type representing an unsafe function that returns a mutable pointer to a Plugin. It is used for dynamically loading plugins.

See bevy_dynamic_plugin/src/loader.rs#dynamically_load_plugin.