Skip to main content

IntoSystem

Trait IntoSystem 

Source
pub trait IntoSystem<In, Out, Params>: Sized {
    type System: System<In = In, Out = Out>;

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

Required Associated Types§

Source

type System: System<In = In, Out = Out>

Required Methods§

Source

fn into_system(self) -> Self::System

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<In, Out, Params, F> IntoSystem<In, Out, Params> for F
where In: 'static, Out: 'static, Params: SystemParam + 'static, F: SystemParamFunction<In, Out, Params> + Send + Sync + 'static,

Source§

type System = FunctionSystem<In, Out, Params, F>