Struct specs_hierarchy::ParentData [] [src]

pub struct ParentData<'a, P> where
    P: Component + Parent,
    P::Storage: Tracked
{ /* fields omitted */ }

Utility struct for the data needed by the Hierarchy maintain.

Trait Implementations

impl<'a, P> SystemData<'a> for ParentData<'a, P> where
    P: Component + Parent,
    P::Storage: Tracked,
    Entities<'a>: SystemData<'a>,
    ReadStorage<'a, P>: SystemData<'a>, 
[src]

[src]

Sets up Resources for fetching this system data.

[src]

Creates a new resource bundle by fetching the required resources from the [Resources] struct. Read more

[src]

A list of [ResourceId]s the bundle needs read access to in order to build the target resource bundle. Read more

[src]

A list of [ResourceId]s the bundle needs write access to in order to build the target resource bundle. Read more

Auto Trait Implementations

impl<'a, P> Send for ParentData<'a, P> where
    P: Send,
    <P as Component>::Storage: Sync

impl<'a, P> Sync for ParentData<'a, P> where
    P: Sync,
    <P as Component>::Storage: Sync