Trait wecs_core::query::QueryComponent
source · pub trait QueryComponent {
type Item<'world>: QueryComponent;
// Required methods
fn get_component_ids() -> Vec<ComponentId>;
fn get_component<'world>(
world: UnsafeWorldCell<'world>,
entity_id: EntityId
) -> Self::Item<'world>;
}