[]Struct bevy::ecs::FuncSystem

pub struct FuncSystem<Out> { /* fields omitted */ }

Trait Implementations

impl<Func, Out> IntoSystem<(), FuncSystem<Out>> for Func where
    Out: 'static,
    Func: FnMut() -> Out + FnMut() + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> IntoSystem<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), FuncSystem<Out>> for Func where
    C: SystemParam,
    N: SystemParam,
    E: SystemParam,
    B: SystemParam,
    P: SystemParam,
    Out: 'static,
    L: SystemParam,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    I: SystemParam,
    H: SystemParam,
    J: SystemParam,
    K: SystemParam,
    M: SystemParam,
    O: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<I as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<J as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<K as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<L as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<M as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<N as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<O as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<P as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> IntoSystem<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), FuncSystem<Out>> for Func where
    C: SystemParam,
    N: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    L: SystemParam,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    I: SystemParam,
    H: SystemParam,
    J: SystemParam,
    K: SystemParam,
    M: SystemParam,
    O: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<I as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<J as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<K as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<L as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<M as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<N as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<O as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H, I, J, K, L, M, N> IntoSystem<(A, B, C, D, E, F, G, H, I, J, K, L, M, N), FuncSystem<Out>> for Func where
    C: SystemParam,
    N: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    L: SystemParam,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    I: SystemParam,
    H: SystemParam,
    J: SystemParam,
    K: SystemParam,
    M: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H, I, J, K, L, M, N) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<I as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<J as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<K as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<L as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<M as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<N as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H, I, J, K, L, M> IntoSystem<(A, B, C, D, E, F, G, H, I, J, K, L, M), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    L: SystemParam,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    I: SystemParam,
    H: SystemParam,
    J: SystemParam,
    K: SystemParam,
    M: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H, I, J, K, L, M) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<I as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<J as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<K as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<L as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<M as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H, I, J, K, L> IntoSystem<(A, B, C, D, E, F, G, H, I, J, K, L), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    L: SystemParam,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    I: SystemParam,
    H: SystemParam,
    J: SystemParam,
    K: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H, I, J, K, L) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<I as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<J as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<K as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<L as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H, I, J, K> IntoSystem<(A, B, C, D, E, F, G, H, I, J, K), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    I: SystemParam,
    H: SystemParam,
    J: SystemParam,
    K: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H, I, J, K) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<I as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<J as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<K as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H, I, J> IntoSystem<(A, B, C, D, E, F, G, H, I, J), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    I: SystemParam,
    H: SystemParam,
    J: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H, I, J) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<I as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<J as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H, I> IntoSystem<(A, B, C, D, E, F, G, H, I), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    I: SystemParam,
    H: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H, I) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<I as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G, H> IntoSystem<(A, B, C, D, E, F, G, H), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    H: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G, H) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<H as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F, G> IntoSystem<(A, B, C, D, E, F, G), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    G: SystemParam,
    Func: FnMut(A, B, C, D, E, F, G) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<G as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E, F> IntoSystem<(A, B, C, D, E, F), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    D: SystemParam,
    F: SystemParam,
    Func: FnMut(A, B, C, D, E, F) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<F as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D, E> IntoSystem<(A, B, C, D, E), FuncSystem<Out>> for Func where
    C: SystemParam,
    E: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    D: SystemParam,
    Func: FnMut(A, B, C, D, E) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<E as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C, D> IntoSystem<(A, B, C, D), FuncSystem<Out>> for Func where
    C: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    D: SystemParam,
    Func: FnMut(A, B, C, D) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<D as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B, C> IntoSystem<(A, B, C), FuncSystem<Out>> for Func where
    C: SystemParam,
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    Func: FnMut(A, B, C) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<C as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A, B> IntoSystem<(A, B), FuncSystem<Out>> for Func where
    B: SystemParam,
    Out: 'static,
    A: SystemParam,
    Func: FnMut(A, B) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item, <<B as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Func, Out, A> IntoSystem<(A,), FuncSystem<Out>> for Func where
    Out: 'static,
    A: SystemParam,
    Func: FnMut(A) -> Out + FnMut(<<A as SystemParam>::Fetch as FetchSystemParam<'_>>::Item) + Send + Sync + 'static, 

impl<Out> System for FuncSystem<Out> where
    Out: 'static, 

type In = ()

type Out = Out

Auto Trait Implementations

impl<Out> !RefUnwindSafe for FuncSystem<Out>[src]

impl<Out> Send for FuncSystem<Out>[src]

impl<Out> Sync for FuncSystem<Out>[src]

impl<Out> Unpin for FuncSystem<Out>[src]

impl<Out> !UnwindSafe for FuncSystem<Out>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<SystemA, SystemB> IntoChainSystem<SystemB> for SystemA where
    SystemB: System<In = <SystemA as System>::Out>,
    SystemA: System

impl<Sys> IntoSystem<(), Sys> for Sys where
    Sys: System

impl<T> Resource for T where
    T: 'static + Send + Sync

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,