var searchIndex = {}; searchIndex["anymap"] = {"doc":"This crate provides the `AnyMap` type, a safe and convenient store for one value of each type.","items":[[3,"Map","anymap","A collection containing zero or one values for any given type and allowing convenient,\ntype-safe access to those values.",null,null],[3,"OccupiedEntry","","A view into a single occupied location in an `Map`.",null,null],[3,"VacantEntry","","A view into a single empty location in an `Map`.",null,null],[4,"Entry","","A view into a single location in an `Map`, which may be vacant or occupied.",null,null],[13,"Occupied","","An occupied Entry",0,null],[13,"Vacant","","A vacant Entry",0,null],[0,"any","","The different types of `Any` for use in a map.",null,null],[8,"UncheckedAnyExt","anymap::any","",null,null],[10,"downcast_ref_unchecked","","",1,null],[10,"downcast_mut_unchecked","","",1,null],[10,"downcast_unchecked","","",1,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[8,"Any","","See also [`CloneAny`](trait.CloneAny.html) for a cloneable version of this trait.",null,null],[8,"CloneAny","","See also [`Any`](trait.Any.html) for a version without the `Clone` requirement.",null,null],[11,"fmt","","",2,null],[11,"downcast_ref_unchecked","","",2,null],[11,"downcast_mut_unchecked","","",2,null],[11,"downcast_unchecked","","",2,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[11,"fmt","","",2,null],[11,"downcast_ref_unchecked","","",2,null],[11,"downcast_mut_unchecked","","",2,null],[11,"downcast_unchecked","","",2,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[11,"fmt","","",2,null],[11,"downcast_ref_unchecked","","",2,null],[11,"downcast_mut_unchecked","","",2,null],[11,"downcast_unchecked","","",2,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[11,"fmt","","",2,null],[11,"downcast_ref_unchecked","","",2,null],[11,"downcast_mut_unchecked","","",2,null],[11,"downcast_unchecked","","",2,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[11,"fmt","","",3,null],[11,"downcast_ref_unchecked","","",3,null],[11,"downcast_mut_unchecked","","",3,null],[11,"downcast_unchecked","","",3,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[11,"fmt","","",3,null],[11,"downcast_ref_unchecked","","",3,null],[11,"downcast_mut_unchecked","","",3,null],[11,"downcast_unchecked","","",3,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[11,"fmt","","",3,null],[11,"downcast_ref_unchecked","","",3,null],[11,"downcast_mut_unchecked","","",3,null],[11,"downcast_unchecked","","",3,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[11,"fmt","","",3,null],[11,"downcast_ref_unchecked","","",3,null],[11,"downcast_mut_unchecked","","",3,null],[11,"downcast_unchecked","","",3,{"inputs":[{"name":"box"}],"output":{"name":"box"}}],[0,"raw","anymap","The raw form of a `Map`, allowing untyped access.",null,null],[3,"RawMap","anymap::raw","The raw, underlying form of a `Map`.",null,null],[3,"Iter","","RawMap iterator.",null,null],[3,"IterMut","","RawMap mutable iterator.",null,null],[3,"IntoIter","","RawMap move iterator.",null,null],[3,"OccupiedEntry","","A view into a single occupied location in a `RawMap`.",null,null],[3,"VacantEntry","","A view into a single empty location in a `RawMap`.",null,null],[4,"Entry","","A view into a single location in a `RawMap`, which may be vacant or occupied.",null,null],[13,"Occupied","","An occupied Entry",4,null],[13,"Vacant","","A vacant Entry",4,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[11,"default","","",5,{"inputs":[],"output":{"name":"rawmap"}}],[11,"new","","Create an empty collection.",5,{"inputs":[],"output":{"name":"rawmap"}}],[11,"with_capacity","","Creates an empty collection with the given initial capacity.",5,{"inputs":[{"name":"usize"}],"output":{"name":"rawmap"}}],[11,"capacity","","Returns the number of elements the collection can hold without reallocating.",5,null],[11,"reserve","","Reserves capacity for at least `additional` more elements to be inserted\nin the collection. The collection may reserve more space to avoid\nfrequent reallocations.",5,null],[11,"shrink_to_fit","","Shrinks the capacity of the collection as much as possible. It will drop\ndown as much as possible while maintaining the internal rules\nand possibly leaving some space in accordance with the resize policy.",5,null],[11,"len","","Returns the number of items in the collection.",5,null],[11,"is_empty","","Returns true if there are no items in the collection.",5,null],[11,"clear","","Removes all items from the collection. Keeps the allocated memory for reuse.",5,null],[11,"clone","","",6,null],[11,"next","","",6,null],[11,"size_hint","","",6,null],[11,"len","","",6,null],[11,"next","","",7,null],[11,"size_hint","","",7,null],[11,"len","","",7,null],[11,"next","","",8,null],[11,"size_hint","","",8,null],[11,"len","","",8,null],[11,"iter","","An iterator visiting all entries in arbitrary order.",5,null],[11,"iter_mut","","An iterator visiting all entries in arbitrary order.",5,null],[11,"entry","","Gets the entry for the given type in the collection for in-place manipulation.",5,null],[11,"get","","Returns a reference to the value corresponding to the key.",5,null],[11,"contains_key","","Returns true if the map contains a value for the specified key.",5,null],[11,"get_mut","","Returns a mutable reference to the value corresponding to the key.",5,null],[11,"insert","","Inserts a key-value pair from the map. If the key already had a value present in the map,\nthat value is returned. Otherwise, None is returned.",5,null],[11,"remove","","Removes a key from the map, returning the value at the key if the key was previously in the\nmap.",5,null],[11,"index","","",5,null],[11,"index_mut","","",5,null],[11,"into_iter","","",5,null],[11,"or_insert","","Ensures a value is in the entry by inserting the default if empty, and returns\na mutable reference to the value in the entry.",4,null],[11,"or_insert_with","","Ensures a value is in the entry by inserting the result of the default function if empty,\nand returns a mutable reference to the value in the entry.",4,null],[11,"get","","Gets a reference to the value in the entry.",9,null],[11,"get_mut","","Gets a mutable reference to the value in the entry.",9,null],[11,"into_mut","","Converts the OccupiedEntry into a mutable reference to the value in the entry\nwith a lifetime bound to the collection itself.",9,null],[11,"insert","","Sets the value of the entry, and returns the entry's old value.",9,null],[11,"remove","","Takes the value out of the entry, and returns it.",9,null],[11,"insert","","Sets the value of the entry with the VacantEntry's key,\nand returns a mutable reference to it",10,null],[6,"AnyMap","anymap","The most common type of `Map`: just using `Any`.",null,null],[11,"fmt","","",11,null],[11,"clone","","",11,null],[11,"new","","Create an empty collection.",11,{"inputs":[],"output":{"name":"map"}}],[11,"with_capacity","","Creates an empty collection with the given initial capacity.",11,{"inputs":[{"name":"usize"}],"output":{"name":"map"}}],[11,"capacity","","Returns the number of elements the collection can hold without reallocating.",11,null],[11,"reserve","","Reserves capacity for at least `additional` more elements to be inserted\nin the collection. The collection may reserve more space to avoid\nfrequent reallocations.",11,null],[11,"shrink_to_fit","","Shrinks the capacity of the collection as much as possible. It will drop\ndown as much as possible while maintaining the internal rules\nand possibly leaving some space in accordance with the resize policy.",11,null],[11,"len","","Returns the number of items in the collection.",11,null],[11,"is_empty","","Returns true if there are no items in the collection.",11,null],[11,"clear","","Removes all items from the collection. Keeps the allocated memory for reuse.",11,null],[11,"get","","Returns a reference to the value stored in the collection for the type `T`, if it exists.",11,null],[11,"get_mut","","Returns a mutable reference to the value stored in the collection for the type `T`,\nif it exists.",11,null],[11,"insert","","Sets the value stored in the collection for the type `T`.\nIf the collection already had a value of type `T`, that value is returned.\nOtherwise, `None` is returned.",11,null],[11,"remove","","Removes the `T` value from the collection,\nreturning it if there was one or `None` if there was not.",11,null],[11,"contains","","Returns true if the collection contains a value of type `T`.",11,null],[11,"entry","","Gets the entry for the given type in the collection for in-place manipulation",11,null],[11,"as_ref","","",11,null],[11,"as_mut","","",11,null],[11,"into","","",11,null],[11,"or_insert","","Ensures a value is in the entry by inserting the default if empty, and returns\na mutable reference to the value in the entry.",0,null],[11,"or_insert_with","","Ensures a value is in the entry by inserting the result of the default function if empty,\nand returns a mutable reference to the value in the entry.",0,null],[11,"get","","Gets a reference to the value in the entry",12,null],[11,"get_mut","","Gets a mutable reference to the value in the entry",12,null],[11,"into_mut","","Converts the OccupiedEntry into a mutable reference to the value in the entry\nwith a lifetime bound to the collection itself",12,null],[11,"insert","","Sets the value of the entry, and returns the entry's old value",12,null],[11,"remove","","Takes the value out of the entry, and returns it",12,null],[11,"insert","","Sets the value of the entry with the VacantEntry's key,\nand returns a mutable reference to it",13,null]],"paths":[[4,"Entry"],[8,"UncheckedAnyExt"],[8,"Any"],[8,"CloneAny"],[4,"Entry"],[3,"RawMap"],[3,"Iter"],[3,"IterMut"],[3,"IntoIter"],[3,"OccupiedEntry"],[3,"VacantEntry"],[3,"Map"],[3,"OccupiedEntry"],[3,"VacantEntry"]]}; initSearch(searchIndex);