Struct specs_hierarchy::HierarchySystem [] [src]

pub struct HierarchySystem<P> { /* fields omitted */ }

System for maintaining a Hierarchy resource.

Type parameters:

  • P: Component type that provides Parent links for the maintained Hierarchy

Methods

impl<P> HierarchySystem<P>
[src]

[src]

Trait Implementations

impl<'a, P> System<'a> for HierarchySystem<P> where
    P: Component + Parent + Send + Sync + 'static,
    P::Storage: Tracked
[src]

The resource bundle required to execute this system. Read more

[src]

Executes the system with the required system data. Read more

[src]

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

[src]

Sets up the Resources using Self::SystemData::setup.

Auto Trait Implementations

impl<P> Send for HierarchySystem<P> where
    P: Send

impl<P> Sync for HierarchySystem<P> where
    P: Sync