var searchIndex = {}; searchIndex["jobsteal"] = {"doc":"A work-stealing fork-join thread pool used to perform work asynchronously.\nTasks submitted are intended to be short-lived. Long running asynchronous tasks should use another method.\nThis crate is fairly experimental and should be used with caution.","items":[[3,"Spawner","jobsteal","A job spawner associated with a specific scope.",null,null],[3,"Pool","","The work pool manages worker threads in a work-stealing fork-join thread pool.",null,null],[5,"make_pool","","Create a pool with `n` worker threads.",null,{"inputs":[{"name":"usize"}],"output":{"name":"result"}}],[0,"iter","","Jobsteal's Parallel iterators.",null,null],[3,"Cloned","jobsteal::iter","",null,null],[3,"Enumerate","","Enumerate iterator adapter",null,null],[3,"Filter","","Filter ilterator adapter.",null,null],[3,"FlatMap","","Flat Mapping iterator adapter.",null,null],[3,"Map","","Map iterator adapter.",null,null],[3,"Zip","","Zip iterator adapter.",null,null],[3,"CostMul","","A cost multiplier.\nSee the docs of `Split::with_cost_mul` for more.",null,null],[3,"Hide","","Used to mask data so that implementations don't conflict.",null,null],[3,"SliceSplit","","A split iterator over an immutable slice.",null,null],[3,"SliceSplitMut","","A split iterator over a mutable slice.",null,null],[0,"all_any","","Whether all or any of the elements in a `SplitIterator` fulfill a predicate.",null,null],[5,"all","jobsteal::iter::all_any","Consumes the iterator, returning true if all elements fulfill the predicate\nand false otherwise.",null,{"inputs":[{"name":"i"},{"name":"spawner"},{"name":"p"}],"output":{"name":"bool"}}],[5,"any","","Consumes the iterator, returning true if any element fulfills the predicate\nand false otherwise.",null,{"inputs":[{"name":"i"},{"name":"spawner"},{"name":"p"}],"output":{"name":"bool"}}],[0,"collect","jobsteal::iter","Collect SplitIterators into collections.",null,null],[5,"collect","jobsteal::iter::collect","Collect the elements of this iterator into a collection.",null,{"inputs":[{"name":"i"},{"name":"spawner"}],"output":{"name":"t"}}],[8,"Combine","","Items that can be combined with another of the same type.",null,null],[10,"combine","","Combine `self` with `other`.",0,null],[0,"fold","jobsteal::iter","Fold or reduce the items of a `SplitIterator` into one.",null,null],[5,"fold","jobsteal::iter::fold","",null,{"inputs":[{"name":"i"},{"name":"spawner"},{"name":"item"},{"name":"f"}],"output":{"name":"item"}}],[8,"Folder","","Something which can "fold" two items together.",null,null],[10,"fold","","",1,null],[11,"into_iter","jobsteal::iter","",2,null],[11,"should_split","","",2,null],[11,"split","","",2,null],[11,"size_hint","","",2,null],[11,"destructure","","",3,null],[11,"size_hint","","",3,null],[11,"size","","",3,null],[11,"destructure","","",4,null],[11,"size_hint","","",4,null],[11,"size","","",4,null],[11,"into_iter","","",2,null],[11,"should_split","","",2,null],[11,"split","","",2,null],[11,"size_hint","","",2,null],[11,"consume","","",5,null],[11,"destructure","","",5,null],[11,"size_hint","","",5,null],[11,"destructure","","",6,null],[11,"consume","","",6,null],[11,"consume","","",7,null],[11,"destructure","","",7,null],[11,"size_hint","","",7,null],[11,"size","","",7,null],[11,"destructure","","",8,null],[11,"size_hint","","",8,null],[11,"consume","","",9,null],[11,"destructure","","",9,null],[11,"size_hint","","",9,null],[11,"size","","",9,null],[11,"into_iter","","",2,null],[11,"should_split","","",2,null],[11,"split","","",2,null],[8,"SplitIterator","","A parallel iterator which works by splitting the underlying data\nand sharing it between threads.",null,null],[16,"Item","","The item this iterator produces.",10,null],[16,"Base","","The splittable base data which this consists of.",10,null],[16,"Consumer","","A consumer which can act as an ad-hoc iterator adapter\nchain while being shared across threads.",10,null],[10,"destructure","","Destructure this iterator into a splittable base and\na shareable consumer of that base.",10,null],[11,"cloned","","Clone the items of this iterator to get owned copies.",10,null],[11,"enumerate","","Enumerate items by their index.",10,null],[11,"filter","","Filter items by some predicate.",10,null],[11,"flat_map","","Produce an iterator for each element, and then yield the elements of those iterators.",10,null],[11,"map","","Map the items of this iterator to another type using the supplied function.",10,null],[11,"zip","","Zip this iterator with another, combining their items\nin a tuple.",10,null],[11,"any","","Whether any of the elements fulfill the supplied predicate.",10,null],[11,"all","","Whether all of the elements fulfill the supplied predicate.",10,null],[11,"for_each","","Consume this iterator, performing an action for each item.",10,null],[11,"collect","","Collect the items of this iterator into a combinable collection.",10,null],[11,"fold","","Fold the items of the iterator together with the given operation and\ninitial state.",10,null],[11,"size_hint","","A lower bound and optional upper bound on the size of this iterator.",10,null],[11,"with_cost_mul","","Uses a cost multiplier for this iterator.",10,null],[8,"ExactSizeSplitIterator","","An iterator for which the exact number of elements is known.",null,null],[10,"size","","Get the number of elements in this iterator.",11,null],[8,"Split","","Data which can be split in two at an index.",null,null],[10,"should_split","","Whether this should split.",12,null],[10,"split","","Split the data at the specified index.\nNote that this may not always be the same as the index\nyou return from should_split.",12,null],[11,"size_hint","","A hint for the size of this data, containing\na known lower bound (potentially zero) and an optional upper bound.",12,null],[8,"IntoSplitIterator","","Things that can be turned into a `SplitIterator`.",null,null],[16,"Item","","The item the split iterator will produce.",13,null],[16,"SplitIter","","The iterator this will turn into.",13,null],[10,"into_split_iter","","",13,null],[8,"Callback","","A callback which takes an iterator of the given item type,\nprocesses it, and produces a result.",null,null],[16,"Out","","",14,null],[10,"call","","",14,null],[8,"Consumer","","A consumer takes an `IntoIterator`, which is usually the\n`Base` of a `SplitIterator`, produces the desired iterator,\nand passes it to the callback given.",null,null],[16,"Item","","",15,null],[10,"consume","","Consume the iterator, typically by passing it on to the\nparent consumer along with a callback which will receive\na producer of items to transform.",15,null],[11,"clone","","",8,null],[11,"clone","","",4,null],[11,"clone","","",5,null],[11,"clone","","",6,null],[11,"clone","","",7,null],[11,"clone","","",9,null],[11,"clone","","",3,null],[11,"clone","","",16,null],[11,"into_iter","","",16,null],[11,"into_iter","","",17,null],[11,"should_split","","",16,null],[11,"split","","",16,null],[11,"size_hint","","",16,null],[11,"should_split","","",17,null],[11,"split","","",17,null],[11,"size_hint","","",17,null],[11,"size","","",16,null],[11,"size","","",17,null],[11,"recurse","jobsteal","Submit a job to be executed by the thread pool and given access to the thread pool.",18,null],[11,"submit","","Submit a job to be executed by the thread pool.",18,null],[11,"scope","","Construct a new spawning scope smaller than the one this spawner resides in.",18,null],[11,"join","","Execute two closures, possibly asynchronously, and return their results.\nThis will block until they are both complete.",18,null],[11,"synchronize","","Finish all current jobs which are queued, and synchronize the workers until\nit's time to start again.",19,null],[11,"scope","","Create a new spawning scope for submitting jobs.",19,null],[11,"recurse","","Execute a job which strictly owns its contents and is to be given access to the thread pool.",19,null],[11,"submit","","Execute a job which strictly owns its contents.",19,null],[11,"spin_up","","Spin up all the workers, in case they were in a paused\nstate.",19,null],[11,"spawner","","Get the pool's spawner.",19,null],[11,"drop","","",19,null]],"paths":[[8,"Combine"],[8,"Folder"],[3,"Hide"],[3,"CostMul"],[3,"Enumerate"],[3,"Filter"],[3,"FlatMap"],[3,"Map"],[3,"Cloned"],[3,"Zip"],[8,"SplitIterator"],[8,"ExactSizeSplitIterator"],[8,"Split"],[8,"IntoSplitIterator"],[8,"Callback"],[8,"Consumer"],[3,"SliceSplit"],[3,"SliceSplitMut"],[3,"Spawner"],[3,"Pool"]]}; initSearch(searchIndex);