var searchIndex = {}; searchIndex["pbr"] = {"doc":"# Console progress bar for Rust","items":[[3,"ProgressBar","pbr","",null,null],[12,"total","","",0,null],[12,"is_finish","","",0,null],[12,"show_bar","","",0,null],[12,"show_speed","","",0,null],[12,"show_percent","","",0,null],[12,"show_counter","","",0,null],[12,"show_time_left","","",0,null],[12,"show_tick","","",0,null],[12,"show_message","","",0,null],[3,"PbIter","","",null,null],[4,"Units","","",null,null],[13,"Default","","",1,null],[13,"Bytes","","",1,null],[11,"fmt","","",1,null],[11,"new","","Create a new ProgressBar with default configuration.",0,{"inputs":[{"name":"u64"}],"output":{"name":"progressbar"}}],[11,"on","","Create a new ProgressBar with default configuration but\npass an arbitrary writer.",0,{"inputs":[{"name":"t"},{"name":"u64"}],"output":{"name":"progressbar"}}],[11,"set_units","","Set units, default is simple numbers",0,null],[11,"format","","Set custom format to the drawing bar, default is `[=>-]`",0,null],[11,"message","","Set message to display in the prefix, call with "" to stop printing a message.",0,null],[11,"tick_format","","Set tick format for the progressBar, default is \\\\|/-",0,null],[11,"tick","","Update progress bar even though no progress are made\nUseful to see if a program is bricked or just\nnot doing any progress.",0,null],[11,"add","","Add to current value",0,null],[11,"inc","","Increment current value",0,null],[11,"finish","","Calling finish manually will set current to total and draw\nthe last time",0,null],[11,"finish_print","","Call finish and write string 's'",0,null],[11,"write","","",0,null],[11,"flush","","",0,null],[11,"new","","",2,{"inputs":[{"name":"i"}],"output":{"name":"self"}}],[11,"on","","",2,{"inputs":[{"name":"t"},{"name":"i"}],"output":{"name":"self"}}],[11,"next","","",2,null],[11,"size_hint","","",2,null]],"paths":[[3,"ProgressBar"],[4,"Units"],[3,"PbIter"]]}; initSearch(searchIndex);