[][src]Struct bevy_ecs::ExecutorStage

pub struct ExecutorStage { /* fields omitted */ }

Implementations

impl ExecutorStage[src]

pub fn prepare_to_next_thread_local(
    &mut self,
    world: &World,
    systems: &mut [Box<dyn System>],
    schedule_changed: bool,
    next_thread_local_index: usize
) -> Range<usize>
[src]

Sets up state to run the next "batch" of systems. Each batch contains 0..n systems and optionally a thread local system at the end. After this function runs, a bunch of state in self will be populated for systems in this batch. Returns the range of systems that we prepared, up to but NOT including the thread local system that MIGHT be at the end of the range

pub fn run_systems(
    &self,
    world: &World,
    resources: &Resources,
    systems: &mut [Box<dyn System>],
    prepared_system_range: Range<usize>,
    compute_pool: &TaskPool
)
[src]

Runs the non-thread-local systems in the given prepared_system_range range

pub fn run(
    &mut self,
    world: &mut World,
    resources: &mut Resources,
    systems: &mut [Box<dyn System>],
    schedule_changed: bool
)
[src]

Trait Implementations

impl Clone for ExecutorStage[src]

impl Debug for ExecutorStage[src]

impl Default for ExecutorStage[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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