Struct amethyst_utils::tag::TagFinder [−][src]
pub struct TagFinder<'a, T> where
T: Send + Sync + 'static, { pub entities: Entities<'a>, pub tags: ReadStorage<'a, Tag<T>>, }
Utility lookup for tag components
Fields
entities: Entities<'a>
Methods
impl<'a, T> TagFinder<'a, T> where
T: Send + Sync + 'static, [src]
impl<'a, T> TagFinder<'a, T> where
T: Send + Sync + 'static, Trait Implementations
impl<'a, T> SystemData<'a> for TagFinder<'a, T> where
T: Send + Sync + 'static,
Entities<'a>: SystemData<'a>,
ReadStorage<'a, Tag<T>>: SystemData<'a>, [src]
impl<'a, T> SystemData<'a> for TagFinder<'a, T> where
T: Send + Sync + 'static,
Entities<'a>: SystemData<'a>,
ReadStorage<'a, Tag<T>>: SystemData<'a>, fn setup(res: &mut Resources)[src]
fn setup(res: &mut Resources)Sets up the system data for fetching it from the Resources.
fn fetch(res: &'a Resources) -> Self[src]
fn fetch(res: &'a Resources) -> SelfFetches 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]
fn reads() -> Vec<ResourceId>Returns all read dependencies as fetched from Self::fetch. Read more
fn writes() -> Vec<ResourceId>[src]
fn writes() -> Vec<ResourceId>Returns all write dependencies as fetched from Self::fetch. Read more