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]
P: Component + Parent,
P::Storage: Tracked,
Entities<'a>: SystemData<'a>,
ReadStorage<'a, P>: SystemData<'a>,
fn setup(res: &mut Resources)
[src]
Sets up the system data for fetching it from the Resources
.
fn fetch(res: &'a Resources) -> Self
[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
fn reads() -> Vec<ResourceId>
[src]
Returns all read dependencies as fetched from Self::fetch
. Read more
fn writes() -> Vec<ResourceId>
[src]
Returns all write dependencies as fetched from Self::fetch
. Read more