pub trait IntoSystemConfig<Marker, Config = SystemConfig>: Sizedwhere
    Config: IntoSystemConfig<(), Config>,{
    // Provided methods
    fn in_set(self, set: impl FreeSystemSet) -> Config { ... }
    fn in_base_set(self, set: impl BaseSystemSet) -> Config { ... }
    fn no_default_base_set(self) -> Config { ... }
    fn before<M>(self, set: impl IntoSystemSet<M>) -> Config { ... }
    fn after<M>(self, set: impl IntoSystemSet<M>) -> Config { ... }
    fn run_if<M>(self, condition: impl Condition<M>) -> Config { ... }
    fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Config { ... }
    fn ambiguous_with_all(self) -> Config { ... }
}
Expand description

Types that can be converted into a SystemConfig.

This has been implemented for boxed System<In=(), Out=()> trait objects and all functions that turn into such.

Provided Methods§

fn in_set(self, set: impl FreeSystemSet) -> Config

Add to set membership.

fn in_base_set(self, set: impl BaseSystemSet) -> Config

Add to the provided “base” set. For more information on base sets, see SystemSet::is_base.

fn no_default_base_set(self) -> Config

Don’t add this system to the schedules’s default set.

fn before<M>(self, set: impl IntoSystemSet<M>) -> Config

Run before all systems in set.

fn after<M>(self, set: impl IntoSystemSet<M>) -> Config

Run after all systems in set.

fn run_if<M>(self, condition: impl Condition<M>) -> Config

Run only if the Condition is true.

The Condition will be evaluated at most once (per schedule run), when the system prepares to run.

fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Config

Suppress warnings and errors that would result from this system having ambiguities (conflicting access but indeterminate order) with systems in set.

fn ambiguous_with_all(self) -> Config

Suppress warnings and errors that would result from this system having ambiguities (conflicting access but indeterminate order) with any other system.

Implementations on Foreign Types§

§

impl IntoSystemConfig<(), SystemConfig> for Box<dyn System<Out = (), In = ()> + 'static, Global>

Implementors§