Struct amethyst_assets::HotReloadSystem [−][src]
pub struct HotReloadSystem { /* fields omitted */ }
System for updating HotReloadStrategy
.
Methods
impl HotReloadSystem
[src]
impl HotReloadSystem
pub fn new(strategy: HotReloadStrategy) -> Self
[src]
pub fn new(strategy: HotReloadStrategy) -> Self
Create a new reload system
Trait Implementations
impl<'a> System<'a> for HotReloadSystem
[src]
impl<'a> System<'a> for HotReloadSystem
type SystemData = (Read<'a, Time>, Write<'a, HotReloadStrategy>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (time, strategy): Self::SystemData)
[src]
fn run(&mut self, (time, strategy): Self::SystemData)
Executes the system with the required system data. Read more
fn setup(&mut self, res: &mut Resources)
[src]
fn setup(&mut self, res: &mut Resources)
Sets up the Resources
using Self::SystemData::setup
.
fn running_time(&self) -> RunningTime
[src]
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
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
[src]
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
Return the accessor from the [SystemData
].
Auto Trait Implementations
impl Send for HotReloadSystem
impl Send for HotReloadSystem
impl Sync for HotReloadSystem
impl Sync for HotReloadSystem