Type Alias bevy_internal::app::CreatePlugin

source ·
pub type CreatePlugin = unsafe fn() -> *mut dyn Plugin;
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.