[][src]Struct bevy_internal::ecs::ThreadLocalSystemFn

pub struct ThreadLocalSystemFn {
    pub func: Box<dyn FnMut(&mut World, &mut Resources) + 'static + Sync + Send, Global>,
    pub resource_access: TypeAccess<TypeId>,
    pub archetype_component_access: TypeAccess<ArchetypeComponent>,
    pub name: Cow<'static, str>,
    pub id: SystemId,
}

Fields

func: Box<dyn FnMut(&mut World, &mut Resources) + 'static + Sync + Send, Global>resource_access: TypeAccess<TypeId>archetype_component_access: TypeAccess<ArchetypeComponent>name: Cow<'static, str>id: SystemId

Trait Implementations

impl<'_, '_, F> IntoSystem<(&'_ mut World, &'_ mut Resources), ThreadLocalSystemFn> for F where
    F: FnMut(&mut World, &mut Resources) + Send + Sync + 'static, 
[src]

impl System for ThreadLocalSystemFn[src]

type In = ()

type Out = ()

Auto Trait Implementations

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
[src]

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
[src]

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

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

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>,