var searchIndex = {}; searchIndex["dynamic_reload"] = {"doc":"dynamic_reload is a cross platform library written in [Rust](https://www.rust-lang.org) that makes it easier to do reloading of shared libraries (dll:s on windows, .so on *nix, .dylib on Mac, etc)\nThe intended use is to allow applications to reload code on the fly without closing down the application when some code changes. \nThis can be seen as a lite version of "live" coding for Rust. \nIt's worth to mention here that reloading of shared libraries isn't limited to libraries written in Rust but can be done in any language that can target shared libraries. \nA typical scenario can look like this:","items":[[3,"Symbol","dynamic_reload","Symbol from a library.",null,null],[3,"Lib","","",null,null],[12,"lib","","The actual loaded library. Refer to the libloading documentation on how to use this.",0,null],[12,"loaded_path","","This is the path from where the library was loaded (which may be in a temporary directory)",0,null],[12,"original_path","","Original location of the file. This is keep so dynamic_reload knows which file to look for\nupdates in case the library has been changed.",0,null],[3,"DynamicReload","","",null,null],[4,"Search","","",null,null],[13,"Default","","Search in current directory only",1,null],[13,"Backwards","","Allow searching in current directory and backwards of parent directories as well",1,null],[4,"UpdateState","","",null,null],[13,"Before","","Set when a shared library is about to be reloaded. Gives application time to save state, do\nclean up, etc",2,null],[13,"After","","Called when a library has been reloaded. Allows application to restore state.",2,null],[13,"ReloadFalied","","In case reloading of the library failed (broken file, etc) this will be set and allow the\napplication to to deal with the issue. ",2,null],[4,"PlatformName","","",null,null],[13,"No","","Leave name as is and don't do any formating.",3,null],[13,"Yes","","Format the name according to standard shared library name on the platform.",3,null],[11,"eq","","",2,null],[11,"eq","","",3,null],[11,"new","","",4,{"inputs":[{"name":"option"},{"name":"option"},{"name":"search"}],"output":{"name":"dynamicreload"}}],[11,"add_library","","",4,null],[11,"update","","",4,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",5,null],[11,"deref","","",5,null],[11,"fmt","","",5,null]],"paths":[[3,"Lib"],[4,"Search"],[4,"UpdateState"],[4,"PlatformName"],[3,"DynamicReload"],[3,"Symbol"]]}; initSearch(searchIndex);