MCPcopy Create free account
hub / github.com/TanTanDev/runity / Plugin

Interface Plugin

rust/shared/src/plugin.rs:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1use std::any::Any;
2
3pub trait Plugin: Any + Send + Sync {
4 fn init(&mut self, app: &mut crate::bevy_app_syncable::App);
5}
6
7// setup dll bindings
8#[macro_export]

Callers

nothing calls this directly

Implementers 3

lib.rsrust/game/src/lib.rs
score.rsrust/game/src/score.rs
lib.rsrust/demo_game/src/lib.rs

Calls

no outgoing calls

Tested by

no test coverage detected