pub trait Plugin<State: 'static = ()> {
// Required method
fn build(&self, app: &mut App<State>);
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
pub trait Plugin<State: 'static = ()> {
// Required method
fn build(&self, app: &mut App<State>);
}This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".