Skip to main content

IntoSystemExt

Trait IntoSystemExt 

Source
pub trait IntoSystemExt<Marker>: Sized + IntoSystem<Marker> {
    // Provided method
    fn run_if<C>(self, condition: C) -> System
       where C: FnMut(&World) -> bool + 'static { ... }
}

Provided Methods§

Source

fn run_if<C>(self, condition: C) -> System
where C: FnMut(&World) -> bool + 'static,

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<T, Marker> IntoSystemExt<Marker> for T
where T: IntoSystem<Marker>,