Struct specs_sprite::SpriteSystem
[−]
[src]
pub struct SpriteSystem<T, I> { /* fields omitted */ }
Methods
impl<T, I> SpriteSystem<T, I>
[src]
impl<T, I> SpriteSystem<T, I> where
T: 'static + Float + Send + Sync,
I: 'static + Send + Sync,
[src]
T: 'static + Float + Send + Sync,
I: 'static + Send + Sync,
Trait Implementations
impl<T, I> Default for SpriteSystem<T, I> where
T: 'static + Float + Send + Sync,
I: 'static + Send + Sync,
[src]
T: 'static + Float + Send + Sync,
I: 'static + Send + Sync,
impl<'a, T, I> System<'a> for SpriteSystem<T, I> where
T: 'static + Float + Send + Sync,
I: 'static + Send + Sync,
[src]
T: 'static + Float + Send + Sync,
I: 'static + Send + Sync,
type SystemData = (Entities<'a>, FetchMut<'a, SpriteGuide>, WriteStorage<'a, Sprite<T, I>>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (entities, sprite_guide, sprites): 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