[−][src]Struct oxygengine_core::ecs::shred::DefaultBatchControllerSystem
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
unsafe fn create(
accessor: BatchAccessor,
dispatcher: Dispatcher<'a, 'b>
) -> DefaultBatchControllerSystem<'a, 'b>[src]
accessor: BatchAccessor,
dispatcher: Dispatcher<'a, 'b>
) -> DefaultBatchControllerSystem<'a, 'b>
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.
impl<'a, '_, '_> System<'a> for DefaultBatchControllerSystem<'_, '_>[src]
type SystemData = BatchUncheckedWorld<'a>
The resource bundle required to execute this system. Read more
fn run(
&mut self,
data: <DefaultBatchControllerSystem<'_, '_> as System<'a>>::SystemData
)[src]
&mut self,
data: <DefaultBatchControllerSystem<'_, '_> as System<'a>>::SystemData
)
fn running_time(&self) -> RunningTime[src]
fn accessor(
&'c self
) -> AccessorCow<'a, 'c, DefaultBatchControllerSystem<'_, '_>>[src]
&'c self
) -> AccessorCow<'a, 'c, DefaultBatchControllerSystem<'_, '_>>
fn setup(&mut self, world: &mut World)[src]
fn dispose(self, world: &mut World)[src]
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: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Resource for T where
T: Any, [src]
T: Any,
impl<'a, T> RunNow<'a> for T where
T: System<'a>, [src]
T: System<'a>,
fn run_now(&mut self, world: &'a World)[src]
fn setup(&mut self, world: &mut World)[src]
fn dispose(self: Box<T>, world: &mut World)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,