Struct amethyst_assets::PrefabLoaderSystem [−][src]
pub struct PrefabLoaderSystem<T> { /* fields omitted */ }
Trait Implementations
impl<T> Default for PrefabLoaderSystem<T>
[src]
impl<T> Default for PrefabLoaderSystem<T>
impl<'a, T> System<'a> for PrefabLoaderSystem<T> where
T: PrefabData<'a> + Send + Sync + 'static,
[src]
impl<'a, T> System<'a> for PrefabLoaderSystem<T> where
T: PrefabData<'a> + Send + Sync + 'static,
type SystemData = (Entities<'a>, Write<'a, AssetStorage<Prefab<T>>>, ReadStorage<'a, Handle<Prefab<T>>>, Read<'a, Time>, ReadExpect<'a, ThreadPool>, Option<Read<'a, HotReloadStrategy>>, WriteStorage<'a, Parent>, WriteStorage<'a, PrefabTag<T>>, T::SystemData)
The resource bundle required to execute this system. Read more
fn run(&mut self, data: Self::SystemData)
[src]
fn run(&mut self, data: 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<T> Send for PrefabLoaderSystem<T> where
T: Send,
impl<T> Send for PrefabLoaderSystem<T> where
T: Send,
impl<T> Sync for PrefabLoaderSystem<T> where
T: Sync,
impl<T> Sync for PrefabLoaderSystem<T> where
T: Sync,