[−][src]Struct specs_task::TaskRunnerSystem
The counterpart to an implementation TaskComponent
. Runs tasks until completion.
See the tests for usage.
Trait Implementations
impl<T> Default for TaskRunnerSystem<T>
[src]
impl<'a, T> System<'a> for TaskRunnerSystem<T> where
T: TaskComponent<'a>,
[src]
T: TaskComponent<'a>,
type SystemData = (ReadStorage<'a, TaskProgress>, WriteStorage<'a, T>, T::Data)
The resource bundle required to execute this system. Read more
fn run(&mut self, (progress, tasks, task_data): Self::SystemData)
[src]
fn running_time(&self) -> RunningTime
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
fn setup(&mut self, world: &mut World)
fn dispose(self, world: &mut World)
Auto Trait Implementations
impl<T> RefUnwindSafe for TaskRunnerSystem<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for TaskRunnerSystem<T> where
T: Send,
T: Send,
impl<T> Sync for TaskRunnerSystem<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TaskRunnerSystem<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for TaskRunnerSystem<T> where
T: UnwindSafe,
T: UnwindSafe,
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> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
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,
T: Any,
impl<'a, T> RunNow<'a> for T where
T: System<'a>,
T: System<'a>,
fn run_now(&mut self, world: &'a World)
fn setup(&mut self, world: &mut World)
fn dispose(self: Box<T>, world: &mut World)
impl<T> TryDefault for T where
T: Default,
[src]
T: Default,
fn try_default() -> Result<T, String>
[src]
fn unwrap_default() -> Self
[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>,