Struct bevy::ecs::system::FunctionSystem[]

pub struct FunctionSystem<In, Out, Param, Marker, F> where
    Param: SystemParam
{ /* fields omitted */ }

Implementations

impl<In, Out, Param, Marker, F> FunctionSystem<In, Out, Param, Marker, F> where
    Param: SystemParam

pub fn config(
    self,
    f: impl FnOnce(&mut <<Param as SystemParam>::Fetch as SystemParamState>::Config)
) -> FunctionSystem<In, Out, Param, Marker, F>

Trait Implementations

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

impl<In, Out, Param, Marker, F> System for FunctionSystem<In, Out, Param, Marker, F> where
    Param: SystemParam + 'static,
    In: 'static,
    Out: 'static,
    F: SystemParamFunction<In, Out, Param, Marker> + Send + Sync + 'static,
    Marker: 'static, 

type In = In

type Out = Out

Auto Trait Implementations

impl<In, Out, Param, Marker, F> RefUnwindSafe for FunctionSystem<In, Out, Param, Marker, F> where
    F: RefUnwindSafe,
    <<Param as SystemParam>::Fetch as SystemParamState>::Config: RefUnwindSafe,
    <Param as SystemParam>::Fetch: RefUnwindSafe

impl<In, Out, Param, Marker, F> Send for FunctionSystem<In, Out, Param, Marker, F> where
    F: Send

impl<In, Out, Param, Marker, F> Sync for FunctionSystem<In, Out, Param, Marker, F> where
    F: Sync

impl<In, Out, Param, Marker, F> Unpin for FunctionSystem<In, Out, Param, Marker, F> where
    F: Unpin,
    <<Param as SystemParam>::Fetch as SystemParamState>::Config: Unpin,
    <Param as SystemParam>::Fetch: Unpin

impl<In, Out, Param, Marker, F> UnwindSafe for FunctionSystem<In, Out, Param, Marker, F> where
    F: UnwindSafe,
    <<Param as SystemParam>::Fetch as SystemParamState>::Config: UnwindSafe,
    <Param as SystemParam>::Fetch: UnwindSafe

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> Downcast<T> for T

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

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<S, Params, SystemType> IntoExclusiveSystem<(Params, SystemType), ExclusiveSystemCoerced> for S where
    S: IntoSystem<Params, SystemType>,
    SystemType: System<In = (), Out = ()>, 

impl<S> IntoRunCriteria<Box<dyn System<Out = ShouldRun, In = ()> + 'static, Global>> for S where
    S: System<In = (), Out = ShouldRun>, 

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

impl<S> ParallelSystemDescriptorCoercion for S where
    S: System<In = (), Out = ()>, 

impl<S> RunCriteriaDescriptorCoercion for S where
    S: System<In = (), Out = ShouldRun>, 

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<T> Upcast<T> for T

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