[][src]Struct bevy_ecs::Schedule

pub struct Schedule { /* fields omitted */ }

An ordered collection of stages, which each contain an ordered list of Systems. Schedules are essentially the "execution plan" for an App's systems. They are run on a given World and Resources reference.

Implementations

impl Schedule[src]

pub fn add_stage(&mut self, stage: impl Into<Cow<'static, str>>)[src]

pub fn add_stage_after(
    &mut self,
    target: impl Into<Cow<'static, str>>,
    stage: impl Into<Cow<'static, str>>
)
[src]

pub fn add_stage_before(
    &mut self,
    target: impl Into<Cow<'static, str>>,
    stage: impl Into<Cow<'static, str>>
)
[src]

pub fn add_system_to_stage(
    &mut self,
    stage_name: impl Into<Cow<'static, str>>,
    system: Box<dyn System>
) -> &mut Self
[src]

pub fn add_system_to_stage_front(
    &mut self,
    stage_name: impl Into<Cow<'static, str>>,
    system: Box<dyn System>
) -> &mut Self
[src]

pub fn run(&mut self, world: &mut World, resources: &mut Resources)[src]

pub fn initialize(&mut self, world: &mut World, resources: &mut Resources)[src]

pub fn generation(&self) -> usize[src]

Trait Implementations

impl Default for Schedule[src]

Auto Trait Implementations

impl !RefUnwindSafe for Schedule

impl Send for Schedule

impl Sync for Schedule

impl Unpin for Schedule

impl !UnwindSafe for Schedule

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