pub trait ReloadableApp: ReloadableAppSealed {
// Required methods
fn add_systems<M, L: ScheduleLabel + Eq + Hash + Clone>(
&mut self,
schedule: L,
systems: impl IntoSystemConfigs<M>
) -> &mut Self;
fn init_replacable_resource<R: CustomReplacableResource + Default>(
&mut self
) -> &mut Self;
fn insert_replacable_resource<R: CustomReplacableResource>(
&mut self,
initializer: impl 'static + Send + Sync + Fn() -> R
) -> &mut Self;
fn reset_resource<R: Resource + Default>(&mut self) -> &mut Self;
fn reset_resource_to_value<R: Resource + Clone>(
&mut self,
value: R
) -> &mut Self;
fn register_replacable_component<C: ReplacableComponent>(
&mut self
) -> &mut Self;
fn clear_marked_on_reload<C: Component>(&mut self) -> &mut Self;
fn reset_setup<C: Component, M>(
&mut self,
systems: impl IntoSystemConfigs<M>
) -> &mut Self;
fn reset_setup_in_state<C: Component, S: States, M>(
&mut self,
state: S,
systems: impl IntoSystemConfigs<M>
) -> &mut Self;
fn add_event<T: ReplacableEvent>(&mut self) -> &mut Self;
fn init_state<S: ReplacableState>(&mut self) -> &mut Self;
}
Required Methods§
fn add_systems<M, L: ScheduleLabel + Eq + Hash + Clone>( &mut self, schedule: L, systems: impl IntoSystemConfigs<M> ) -> &mut Self
fn init_replacable_resource<R: CustomReplacableResource + Default>( &mut self ) -> &mut Self
fn insert_replacable_resource<R: CustomReplacableResource>( &mut self, initializer: impl 'static + Send + Sync + Fn() -> R ) -> &mut Self
fn reset_resource<R: Resource + Default>(&mut self) -> &mut Self
fn reset_resource_to_value<R: Resource + Clone>( &mut self, value: R ) -> &mut Self
fn register_replacable_component<C: ReplacableComponent>(&mut self) -> &mut Self
fn clear_marked_on_reload<C: Component>(&mut self) -> &mut Self
fn reset_setup<C: Component, M>( &mut self, systems: impl IntoSystemConfigs<M> ) -> &mut Self
fn reset_setup_in_state<C: Component, S: States, M>( &mut self, state: S, systems: impl IntoSystemConfigs<M> ) -> &mut Self
fn add_event<T: ReplacableEvent>(&mut self) -> &mut Self
fn init_state<S: ReplacableState>(&mut self) -> &mut Self
Object Safety§
This trait is not object safe.