Skip to main content

Plugin

Trait Plugin 

Source
pub trait Plugin {
    // Required method
    fn create(world: &mut World, schedule: &mut Schedule);
}

Required Methods§

Source

fn create(world: &mut World, schedule: &mut Schedule)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§