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 Resources
for fetching this system data.
fn fetch(res: &'a Resources) -> Self
[src]
Creates a new resource bundle by fetching the required resources from the [Resources
] struct. Read more
fn reads() -> Vec<ResourceId>
[src]
A list of [ResourceId
]s the bundle needs read access to in order to build the target resource bundle. Read more
fn writes() -> Vec<ResourceId>
[src]
A list of [ResourceId
]s the bundle needs write access to in order to build the target resource bundle. Read more