[][src]Trait amethyst_core::deferred_dispatcher_operation::DispatcherOperation

pub trait DispatcherOperation<'a, 'b> {
    fn exec(
        self: Box<Self>,
        world: &mut World,
        dispatcher_builder: &mut DispatcherBuilder<'a, 'b>
    ) -> Result<(), Error>; }

Trait to capture deferred dispatcher builder operations.

Required methods

fn exec(
    self: Box<Self>,
    world: &mut World,
    dispatcher_builder: &mut DispatcherBuilder<'a, 'b>
) -> Result<(), Error>

Executes the dispatcher builder instruction.

Loading content...

Implementors

impl<'a, 'b> DispatcherOperation<'a, 'b> for AddBarrier[src]

impl<'a, 'b, B> DispatcherOperation<'a, 'b> for AddBundle<B> where
    B: SystemBundle<'a, 'b>, 
[src]

impl<'a, 'b, S> DispatcherOperation<'a, 'b> for AddSystem<S> where
    S: for<'s> System<'s> + Send + 'a, 
[src]

impl<'a, 'b, S> DispatcherOperation<'a, 'b> for AddThreadLocal<S> where
    S: for<'c> RunNow<'c> + 'b, 
[src]

impl<'a, 'b, SD, S> DispatcherOperation<'a, 'b> for AddSystemDesc<SD, S> where
    SD: SystemDesc<'a, 'b, S>,
    S: for<'s> System<'s> + Send + 'a, 
[src]

impl<'a, 'b, SD, S> DispatcherOperation<'a, 'b> for AddThreadLocalDesc<SD, S> where
    SD: RunNowDesc<'a, 'b, S>,
    S: for<'c> RunNow<'c> + 'b, 
[src]

Loading content...