Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
use std::any::Any;
2
3
pub 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.rs
rust/game/src/lib.rs
score.rs
rust/game/src/score.rs
lib.rs
rust/demo_game/src/lib.rs
Calls
no outgoing calls
Tested by
no test coverage detected