Skip to main content

SystemSetRunIfExt

Trait SystemSetRunIfExt 

Source
pub trait SystemSetRunIfExt<M>: IntoSystemSet<M> + Sized {
    // Provided method
    fn run_if<C: RunCondition>(self) -> ConditionalSet<Self, M, C> { ... }
}
Expand description

Adds .run_if to an entire IntoSystemSet tuple at once, applying the same condition to every system in it.

Provided Methods§

Source

fn run_if<C: RunCondition>(self) -> ConditionalSet<Self, M, C>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§