var searchIndex = {}; searchIndex["hashindexed"] = {"doc":"Store a set of values in a data structure indexed by the hash of some\nuser-defined sub-property.","items":[[3,"IndexableValue","hashindexed","Internal type",null,null],[3,"HashIndexed","","Stores a set of values indexed in a user-defined way.",null,null],[3,"Iter","","HashIndexed iterator",null,null],[3,"IntoIter","","HashIndexed move iterator",null,null],[8,"KeyComparator","","Configures how values are indexd.",null,null],[10,"extract_key","","This function should return a key extracted from the value.\n`eq` and `hash` are implemented on this key.",0,{"inputs":[{"name":"t"}],"output":{"name":"k"}}],[11,"key_eq","","Test equality of keys extracted from given values u, v.",0,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"bool"}}],[11,"key_hash","","Generate a hash of a key retrieved from a given value.",0,{"inputs":[{"name":"t"},{"name":"h"}],"output":null}],[11,"eq","","",1,null],[11,"hash","","",1,null],[11,"borrow","","",1,null],[11,"new","","Creates an empty HashIndexed collection.",2,{"inputs":[],"output":{"name":"hashindexed"}}],[11,"with_capacity","","Creates an empty HashIndexed with space for at least `capacity`\nelements in the hash table.",2,{"inputs":[{"name":"usize"}],"output":{"name":"hashindexed"}}],[11,"capacity","","Returns the number of elements the collection can hold without reallocating.",2,null],[11,"reserve","","Reserves capacity for at least `additional` more elements to be inserted\nin the collection. More spaces than this may be allocated to avoid\nfrequent reallocations.",2,null],[11,"shrink_to_fit","","Shrinks the capacity of the collection as much as possible. It will\ndrop down as much as possible while maintaining the internal rules\nand possibly leaving some space in accordance with the resize policy.\n```",2,null],[11,"iter","","An iterator visiting all elements in arbitrary order.",2,null],[11,"into_iter","","Creates a consuming iterator, that is, one that moves each value out\nof the set in arbitrary order. The set cannot be used after calling\nthis.",2,null],[11,"len","","Returns the number of elements in the collection.",2,null],[11,"is_empty","","Returns true if the collection contains no elements.",2,null],[11,"clear","","Clears the collection, removing all values.",2,null],[11,"contains","","Returns `true` if the collection contains a value matching the given\nkey.",2,null],[11,"get","","Returns a reference to the value corresponding to the key.",2,null],[11,"insert","","Adds a value to the set. Returns true if the value was not already\npresent in the collection.",2,null],[11,"replace","","Adds a value to the set, replacing the existing value, if any, that is\nequal to the given one. Returns the replaced value.",2,null],[11,"remove","","Removes and returns the value in the collection, if any, that is equal\nto the given one.",2,null],[11,"eq","","",2,null],[11,"fmt","","",2,null],[11,"into_iter","","",2,null],[11,"next","","",3,null],[11,"size_hint","","",3,null],[11,"len","","",3,null],[11,"next","","",4,null],[11,"size_hint","","",4,null],[11,"len","","",4,null]],"paths":[[8,"KeyComparator"],[3,"IndexableValue"],[3,"HashIndexed"],[3,"Iter"],[3,"IntoIter"]]}; initSearch(searchIndex);