Trait bevy_compose::Compose
source · pub trait Compose {
type State: Send + Sync + 'static;
type Input<'w, 's>: SystemParam;
// Required methods
fn setup(app: &mut App) -> Self::State;
fn run(
self,
state: &mut Self::State,
input: <Self::Input<'_, '_> as SystemParam>::Item<'_, '_>
);
}Required Associated Types§
Required Methods§
fn setup(app: &mut App) -> Self::State
fn run( self, state: &mut Self::State, input: <Self::Input<'_, '_> as SystemParam>::Item<'_, '_> )
Object Safety§
This trait is not object safe.