var searchIndex = {}; searchIndex["amethyst_ecs"] = {"doc":"","items":[[3,"Simulation","amethyst_ecs","",null,null],[3,"SimBuilder","","Consuming builder for easily constructing a new simulations.",null,null],[3,"World","","A collection of entities and their respective components.",null,null],[11,"new","","Creates an empty simulation.",0,{"inputs":[],"output":{"name":"simulation"}}],[11,"build","","Creates an initialized simulation using the [builder pattern][bp].",0,{"inputs":[],"output":{"name":"simbuilder"}}],[11,"add_processor","","Adds a new processor to the simulation.",0,null],[11,"step","","Computes the next state of the world using the given processors.",0,null],[11,"new","","Starts building a new simulation.",1,{"inputs":[],"output":{"name":"simbuilder"}}],[11,"with","","Add a given processor to the simulation.",1,null],[11,"done","","Returns the newly-built simulation or a list of any errors the\nprocessors may have encountered.",1,null],[11,"fmt","","",2,null],[11,"new","","Creates a new empty world.",2,{"inputs":[],"output":{"name":"world"}}],[11,"create_entity","","Creates a new entity in the world and returns a handle to it.",2,null],[11,"destroy_entity","","Destroys a given entity and removes its components.",2,null],[11,"insert_component","","Attaches a component to an entity and returns the component's index.",2,null],[11,"remove_component","","",2,null],[11,"remove_component_type","","",2,null],[11,"component","","Returns ith component of selected type",2,null],[11,"component_mut","","Returns ith mutable component of selected type",2,null],[6,"Entity","","An unsigned 64-bit handle to an entity.",null,null],[6,"ProcessorResult","","The error type reported by SimBuilder if they fail to initialize.\nTODO: original note specified it was en error type reported by a **processor**,\nalthough, as seen below, Processor doesn't have any function to return an error,\nthus, only SimBuilder can return Result as of now.",null,null],[8,"Processor","","The trait implemented by all processors.",null,null],[10,"process","","TODO: Need to finalize API design here, according to [issue #10].",3,null]],"paths":[[3,"Simulation"],[3,"SimBuilder"],[3,"World"],[8,"Processor"]]}; initSearch(searchIndex);