bevy_ecs::schedule

Trait IntoSystemSet

Source
pub trait IntoSystemSet<Marker>: Sized {
    type Set: SystemSet;

    // Required method
    fn into_system_set(self) -> Self::Set;
}
Expand description

Types that can be converted into a SystemSet.

Required Associated Types§

Source

type Set: SystemSet

The type of SystemSet this instance converts into.

Required Methods§

Source

fn into_system_set(self) -> Self::Set

Converts this instance to its associated SystemSet type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Marker, F> IntoSystemSet<(IsExclusiveFunctionSystem, Marker)> for F
where Marker: 'static, F: ExclusiveSystemParamFunction<Marker>,

Source§

impl<Marker, F> IntoSystemSet<(IsFunctionSystem, Marker)> for F
where Marker: 'static, F: SystemParamFunction<Marker>,

Source§

impl<S: SystemSet> IntoSystemSet<()> for S

Source§

type Set = S