var searchIndex = {}; searchIndex["recs"] = {"doc":"Simple entity-component system. Pure Rust (macro-free)!","items":[[3,"Ecs","recs","Primary data structure containing entity and component data.",null,null],[3,"EntityIdIter","","Iterator for entity IDs.",null,null],[3,"ComponentIter","","Iterator that yields references to ECS components.",null,null],[3,"ComponentIterMut","","Iterator that yields mutable references to ECS components.",null,null],[6,"EntityId","","Value type representing an entry in the entity-component system.",null,null],[11,"next","","",0,null],[11,"next","","",1,null],[11,"next","","",2,null],[11,"default","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"new","","Create a new and empty entity-component system (ECS).",3,{"inputs":[],"output":{"name":"self"}}],[11,"create_entity","","Create a new entity in the ECS with no components, and return its ID.",3,null],[11,"has_entity","","Return `true` if the provided entity exists in this system.",3,null],[11,"destroy_entity","","Destroy the provided entity, automatically removing any of its\ncomponents.",3,null],[11,"set","","For the specified entity, add a component of type `C` to the system.",3,null],[11,"get","","Return a clone of the requested entity's component of type `C`, or\n`None` if the entity does not have that component.",3,null],[11,"has","","Return `true` Panics if the requested entity has a component of type `C`.",3,null],[11,"borrow","","Return a reference to the requested entity's component of type `C`, or\n`None` if the entity does not have that component.",3,null],[11,"borrow_mut","","Return a mutable reference to the requested entity's component of type\n`C`, or `None` if the entity does not have that component.",3,null],[11,"iter_ids","","Return an iterator over every ID in the system.",3,null],[11,"collect_ids","","Return a vector containing copies of every ID in the system.",3,null],[11,"iter_components","","Return an iterator yielding references to all components of the\nrequested entity.",3,null],[11,"iter_components_mut","","Return an iterator yielding mutable references to all components of the\nrequested entity.",3,null]],"paths":[[3,"EntityIdIter"],[3,"ComponentIter"],[3,"ComponentIterMut"],[3,"Ecs"]]}; initSearch(searchIndex);