var searchIndex = {}; searchIndex["polymap"] = {"doc":"`polymap` provides implementations of two mapping containers for\nheterogeneous values:","items":[[0,"polymap","polymap","",null,null],[3,"PolyMap","polymap::polymap","A key-value map that can contain varying types of values.",null,null],[3,"Keys","","Iterator over the keys of a `PolyMap`",null,null],[11,"new","","Constructs a new `PolyMap`.",0,{"inputs":[],"output":{"name":"polymap"}}],[11,"with_capacity","","Constructs a new `PolyMap` with space reserved for `n` fields\nand `size` bytes of data.",0,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"polymap"}}],[11,"clear","","Removes all key-value pairs from the map, calling any destructors on\nstored values.",0,null],[11,"contains_key","","Returns whether the map contains a value corresponding to the given key.\nDoes not make any assertions about the type of the value.",0,null],[11,"contains_key_of","","Returns whether the map contains a value corresponding to the given key\nwhose type is the same as the given type.",0,null],[11,"data_capacity","","Returns the capacity, in bytes, of the internal data buffer.",0,null],[11,"data_size","","Returns the size, in bytes, of the internal data buffer.",0,null],[11,"get","","Returns a reference to the value corresponding to the given key.",0,null],[11,"get_mut","","Returns a mutable reference to the value corresponding to the given key.",0,null],[11,"insert","","Inserts a key-value pair into the map. If the key is already present,\nthat value is returned. Otherwise, `None` is returned.",0,null],[11,"keys","","Returns an iterator visiting all keys in arbitrary order.\nIterator element type is `&K`.",0,null],[11,"len","","Returns the number of elements in the map.",0,null],[11,"reserve_data","","Reserves capacity for at least `additional` additional bytes of storage\nspace within the internal data buffer.",0,null],[11,"reserve_data_exact","","Reserves space for at least `n` bytes in the internal data buffer.\nDoes nothing if the capacity is already sufficient.",0,null],[11,"reserve_fields","","Reserves capacity for at least `additional` additional fields.",0,null],[11,"reserve_fields_exact","","Reserves space for at least `n` fields.\nDoes nothing if the capacity is already sufficient.",0,null],[11,"remove","","Removes a key from the map, returning the value if one existed.",0,null],[11,"shrink_data_to_fit","","Shrinks the internal data buffer as close as possible to the size of\nthe currently contained elements.",0,null],[11,"default","","",0,{"inputs":[],"output":{"name":"polymap"}}],[11,"drop","","",0,null],[11,"clone","","",1,null],[11,"next","","",1,null],[0,"typemap","polymap","",null,null],[3,"TypeMap","polymap::typemap","A container for values of varying types.",null,null],[11,"default","","",2,{"inputs":[],"output":{"name":"typemap"}}],[11,"new","","Constructs a new `TypeMap`.",2,{"inputs":[],"output":{"name":"typemap"}}],[11,"with_capacity","","Constructs a new `PolyMap` with space reserved for `n` fields\nand `size` bytes of data.",2,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"typemap"}}],[11,"clear","","Removes all key-value pairs from the map, calling any destructors on\nstored values.",2,null],[11,"contains","","Returns whether the map contains a value of the given type.",2,null],[11,"data_capacity","","Returns the capacity, in bytes, of the internal data buffer.",2,null],[11,"data_size","","Returns the size, in bytes, of the internal data buffer.",2,null],[11,"get","","Returns a reference to the value of the given type.",2,null],[11,"get_mut","","Returns a mutable reference to the value of the given type.",2,null],[11,"insert","","Inserts a value into the map. If a value of the same type is\nalready present, that value is returned. Otherwise, `None` is returned.",2,null],[11,"len","","Returns the number of elements in the map.",2,null],[11,"remove","","Removes a value of the given type from the map, returning it.\nIf no value of the type exists, `None` is returned.",2,null],[11,"reserve_data","","Reserves capacity for at least `additional` additional bytes of storage\nspace within the internal data buffer.",2,null],[11,"reserve_data_exact","","Reserves space for at least `n` bytes in the internal data buffer.\nDoes nothing if the capacity is already sufficient.",2,null],[11,"reserve_fields","","Reserves capacity for at least `additional` additional fields.",2,null],[11,"reserve_fields_exact","","Reserves space for at least `n` fields.\nDoes nothing if the capacity is already sufficient.",2,null],[11,"shrink_data_to_fit","","Shrinks the internal data buffer as close as possible to the size of\nthe currently contained elements.",2,null]],"paths":[[3,"PolyMap"],[3,"Keys"],[3,"TypeMap"]]}; initSearch(searchIndex);