IntoSystem

Trait IntoSystem 

Source
pub trait IntoSystem<Params> {
    type System: System;

    // Required method
    fn into_system(self) -> Self::System;
}
Expand description

Convert to system (to create a trait object)

Required Associated Types§

Required Methods§

Source

fn into_system(self) -> Self::System

Implementors§

Source§

impl<F, Params: SystemParam> IntoSystem<Params> for F
where F: SystemParamFunction<Params>,

Convert any function with only system params into a system

Source§

type System = FunctionSystem<F, Params>