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
type BatchSystemData = ()
type BatchSystemData = ()This associated type has to contain all resources batch controller uses directly. Read more
pub unsafe fn create(
accessor: BatchAccessor,
dispatcher: Dispatcher<'a, 'b>
) -> DefaultBatchControllerSystem<'a, 'b>[src]
pub unsafe fn create(
accessor: BatchAccessor,
dispatcher: Dispatcher<'a, 'b>
) -> DefaultBatchControllerSystem<'a, 'b>[src]Creates an instance of the BatchControllerSystem. Read more
type SystemData = BatchUncheckedWorld<'a>
type SystemData = BatchUncheckedWorld<'a>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.
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
impl<'a, 'b> !RefUnwindSafe for DefaultBatchControllerSystem<'a, 'b>impl<'a, 'b> !Sync for DefaultBatchControllerSystem<'a, 'b>impl<'a, 'b> Unpin for DefaultBatchControllerSystem<'a, 'b>impl<'a, 'b> !UnwindSafe for DefaultBatchControllerSystem<'a, 'b>Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeIdMutably borrows from an owned value. Read more