Skip to content

snendev-labs/bevy_assert_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bevy_assert_plugins

A small extension trait for chainable method calls on App that check for dependency plugins and provide fallbacks as desired.

let mut app = App:;new();
app.assert_plugin::<MyPlugin>();
app.assert_plugin_else::<MyPlugin>(|| MyPlugin { ... });
app.assert_plugin_else_default::<MyPlugin>();

About

A small extension crate for plugins that want to check for dependencies

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages