Skip to main content

IntoSystemSet

Trait IntoSystemSet 

Source
pub trait IntoSystemSet<M> {
    // Required method
    fn into_system_set(self) -> Vec<Box<dyn System>>;
}
Expand description

Converts a tuple of systems into a Vec<Box<dyn System>> so they can be registered together with App::add_systems.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<A, MA, B, MB, C, MC, D, MD, E, ME, F, MF, G, MG> IntoSystemSet<(MA, MB, MC, MD, ME, MF, MG)> for (A, B, C, D, E, F, G)
where A: IntoSystem<MA> + 'static, B: IntoSystem<MB> + 'static, C: IntoSystem<MC> + 'static, D: IntoSystem<MD> + 'static, E: IntoSystem<ME> + 'static, F: IntoSystem<MF> + 'static, G: IntoSystem<MG> + 'static,

Source§

impl<A, MA, B, MB, C, MC, D, MD, E, ME, F, MF> IntoSystemSet<(MA, MB, MC, MD, ME, MF)> for (A, B, C, D, E, F)
where A: IntoSystem<MA> + 'static, B: IntoSystem<MB> + 'static, C: IntoSystem<MC> + 'static, D: IntoSystem<MD> + 'static, E: IntoSystem<ME> + 'static, F: IntoSystem<MF> + 'static,

Source§

impl<A, MA, B, MB, C, MC, D, MD, E, ME> IntoSystemSet<(MA, MB, MC, MD, ME)> for (A, B, C, D, E)
where A: IntoSystem<MA> + 'static, B: IntoSystem<MB> + 'static, C: IntoSystem<MC> + 'static, D: IntoSystem<MD> + 'static, E: IntoSystem<ME> + 'static,

Source§

impl<A, MA, B, MB, C, MC, D, MD> IntoSystemSet<(MA, MB, MC, MD)> for (A, B, C, D)
where A: IntoSystem<MA> + 'static, B: IntoSystem<MB> + 'static, C: IntoSystem<MC> + 'static, D: IntoSystem<MD> + 'static,

Source§

impl<A, MA, B, MB, C, MC> IntoSystemSet<(MA, MB, MC)> for (A, B, C)
where A: IntoSystem<MA> + 'static, B: IntoSystem<MB> + 'static, C: IntoSystem<MC> + 'static,

Source§

impl<A, MA, B, MB> IntoSystemSet<(MA, MB)> for (A, B)
where A: IntoSystem<MA> + 'static, B: IntoSystem<MB> + 'static,

Source§

impl<A, MA> IntoSystemSet<(MA,)> for (A,)
where A: IntoSystem<MA> + 'static,

Implementors§

Source§

impl<T, M, C> IntoSystemSet<M> for ConditionalSet<T, M, C>
where T: IntoSystemSet<M>, C: RunCondition,