Struct oxygengine_core::ecs::DefaultBatchControllerSystem[][src]

pub struct DefaultBatchControllerSystem<'a, 'b> { /* fields omitted */ }
Expand description

The DefaultBatchControllerSystem is a simple implementation that will dispatch the inner dispatcher one time.

Usually you want to create your own Dispatcher.

Is safe to implement Send and Sync because the BatchAccessor keep tracks of all used resources and thus the System can be safely executed in multi thread.

Trait Implementations

This associated type has to contain all resources batch controller uses directly. Read more

Creates an instance of the BatchControllerSystem. Read more

The resource bundle required to execute this system. Read more

Executes the system with the required system data. Read more

Returns a hint how long the system needs for running. This is used to optimize the way they’re executed (might allow more parallelization). Read more

Return the accessor from the SystemData.

Sets up the World using Self::SystemData::setup.

Performs clean up that requires resources from the World. This commonly removes components from world which depend on external resources. Read more

Is safe to implement Send and Sync because the BatchAccessor keep tracks of all used resources and thus the System can be safely executed in multi thread.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Runs the system now. Read more

Sets up World for a later call to run_now.

Performs clean up that requires resources from the World. This commonly removes components from world which depend on external resources. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.