var searchIndex = {}; searchIndex["current"] = {"doc":"A library for setting current values for stack scope,\nsuch as application structure.","items":[[3,"CurrentGuard","current","Puts back the previous current pointer.",null,null],[3,"Current","","The current value of a type.",null,null],[11,"new","","Creates a new current guard.",0,{"inputs":[{"name":"t"}],"output":{"name":"currentguard"}}],[11,"drop","","",0,null],[11,"new","","Creates a new current object",1,{"inputs":[],"output":{"name":"current"}}],[11,"current","","Gets mutable reference to current object.\nRequires mutable reference to prevent access to globals in safe code,\nand to prevent mutable borrows of same value in scope.\nIs unsafe because returned reference inherits lifetime from argument.",1,null],[11,"current_unwrap","","Unwraps mutable reference to current object,\nbut with nicer error message.",1,null],[11,"deref","","",1,null],[11,"deref_mut","","",1,null]],"paths":[[3,"CurrentGuard"],[3,"Current"]]}; initSearch(searchIndex);