Trait bevy::prelude::DynamicPluginExt

pub trait DynamicPluginExt {
    // Required method
    unsafe fn load_plugin<P>(&mut self, path: P) -> &mut Self
       where P: AsRef<OsStr>;
}
👎Deprecated since 0.14.0: The current dynamic plugin system is unsound and will be removed in 0.15.
Expand description

An extension trait for App that allows loading dynamic plugins.

Required Methods§

unsafe fn load_plugin<P>(&mut self, path: P) -> &mut Self
where P: AsRef<OsStr>,

👎Deprecated since 0.14.0: The current dynamic plugin system is unsound and will be removed in 0.15.

Dynamically links a plugin at the given path, registering the plugin.

For more details, see dynamically_load_plugin.

§Safety

See dynamically_load_plugin’s safety section.

Object Safety§

This trait is not object safe.

Implementors§