var searchIndex = {}; searchIndex["slab"] = {"doc":"","items":[[3,"Slab","slab","A preallocated chunk of memory for storing objects of the same type.",null,null],[3,"VacantEntry","","",null,null],[3,"OccupiedEntry","","",null,null],[3,"SlabIter","","",null,null],[3,"SlabMutIter","","",null,null],[4,"Entry","","",null,null],[13,"Vacant","","",0,null],[13,"Occupied","","",0,null],[8,"Index","","Slab can be indexed by any type implementing `Index` trait.",null,null],[10,"from_usize","","",1,{"inputs":[{"name":"usize"}],"output":{"name":"self"}}],[10,"as_usize","","",1,null],[11,"new","","",2,{"inputs":[{"name":"usize"}],"output":{"name":"slab"}}],[11,"new_starting_at","","",2,{"inputs":[{"name":"i"},{"name":"usize"}],"output":{"name":"slab"}}],[11,"count","","",2,null],[11,"is_empty","","",2,null],[11,"remaining","","",2,null],[11,"has_remaining","","",2,null],[11,"contains","","",2,null],[11,"get","","",2,null],[11,"get_mut","","",2,null],[11,"insert","","",2,null],[11,"vacant_entry","","",2,null],[11,"entry","","",2,null],[11,"insert_with","","Like `insert` but for objects that require newly allocated\nusize in their constructor.",2,null],[11,"insert_with_opt","","Like `insert_with` but allows function to return nothing instead of\na value.",2,null],[11,"remove","","Releases the given slot",2,null],[11,"replace","","Replace the given slot, if the slot being replaced was empty,\nthen we increment the len of the slab",2,null],[11,"replace_with","","Execute a function on the *value* in the slot and put the result of\nthe function back into the slot. If function returns None,\nslot is left empty on exit.",2,null],[11,"retain","","Retain only the elements specified by the predicate.",2,null],[11,"iter","","",2,null],[11,"iter_mut","","",2,null],[11,"clear","","Empty the slab, by freeing all entries",2,null],[11,"grow","","Grow the slab, by adding `entries_num`",2,null],[11,"or_insert","","",0,null],[11,"or_insert_with","","",0,null],[11,"or_insert_with_opt","","",0,null],[11,"index","","",0,null],[11,"insert","","",3,null],[11,"index","","",3,null],[11,"replace_with","","",4,null],[11,"remove","","",4,null],[11,"get","","",4,null],[11,"get_mut","","",4,null],[11,"into_mut","","",4,null],[11,"index","","",4,null],[11,"index","","",2,null],[11,"index_mut","","",2,null],[11,"fmt","","",2,null],[11,"next","","",5,null],[11,"next","","",6,null]],"paths":[[4,"Entry"],[8,"Index"],[3,"Slab"],[3,"VacantEntry"],[3,"OccupiedEntry"],[3,"SlabIter"],[3,"SlabMutIter"]]}; initSearch(searchIndex);