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 the system data for fetching it from the Resources.

[src]

Fetches the system data from Resources. Note that this is only specified for one concrete lifetime 'a, you need to implement the SystemData trait for every possible lifetime. Read more

[src]

Returns all read dependencies as fetched from Self::fetch. Read more

[src]

Returns all write dependencies as fetched from Self::fetch. 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