[][src]Struct specs::DefaultBatchControllerSystem

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

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

impl<'a, 'b> BatchController<'a, 'b> for DefaultBatchControllerSystem<'a, 'b>[src]

type BatchSystemData = ()

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

impl<'a, '_, '_> System<'a> for DefaultBatchControllerSystem<'_, '_>[src]

type SystemData = BatchUncheckedWorld<'a>

The resource bundle required to execute this system. Read more

fn dispose(self, world: &mut World)[src]

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

impl<'a, 'b> Send for DefaultBatchControllerSystem<'a, 'b>[src]

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> Unpin for DefaultBatchControllerSystem<'a, 'b>

impl<'a, 'b> !Sync for DefaultBatchControllerSystem<'a, 'b>

impl<'a, 'b> !UnwindSafe for DefaultBatchControllerSystem<'a, 'b>

impl<'a, 'b> !RefUnwindSafe for DefaultBatchControllerSystem<'a, 'b>

Blanket Implementations

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<'a, T> RunNow<'a> for T where
    T: System<'a>, 
[src]

impl<'a, T> RunWithPool<'a> for T where
    T: System<'a>, 
[src]

impl<T> Any for T where
    T: Any
[src]