Struct specs_time::TimeSystem
[−]
[src]
pub struct TimeSystem<T> where
T: 'static + Sync + Send + Float, { /* fields omitted */ }
Methods
impl<T> TimeSystem<T> where
T: 'static + Sync + Send + Float,
[src]
T: 'static + Sync + Send + Float,
Trait Implementations
impl<'a, T> System<'a> for TimeSystem<T> where
T: 'static + Sync + Send + Float,
[src]
T: 'static + Sync + Send + Float,
type SystemData = FetchMut<'a, Time<T>>
The resource bundle required to execute this system. Read more
fn run(&mut self, time: Self::SystemData)
[src]
Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
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