mirror of
https://github.com/neogeek23/rusty_snek_gaem.git
synced 2026-02-07 20:39:37 +00:00
1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"config":{"output_file":null,"full_docs":false,"pub_only":true,"reachable_only":true,"distro_crate":false,"signatures":false,"borrow_data":false},"prelude":{"crate_id":{"name":"scoped_threadpool","disambiguator":[17705996700289353095,2791192175868146049]},"crate_root":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src","external_crates":[{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":1,"id":{"name":"std","disambiguator":[9585301629330894657,2988139860475965212]}},{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":2,"id":{"name":"core","disambiguator":[6357402705278437736,15396228000174385779]}},{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":3,"id":{"name":"compiler_builtins","disambiguator":[15656677349667522462,981408973859384302]}},{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":4,"id":{"name":"alloc","disambiguator":[10867707675671826130,15962273691783661441]}},{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":5,"id":{"name":"alloc_system","disambiguator":[12150198854270067491,9945263365427243254]}},{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":6,"id":{"name":"libc","disambiguator":[8689393118962671966,13316658367717829988]}},{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":7,"id":{"name":"unwind","disambiguator":[11087397179380250019,16173628695450963038]}},{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":8,"id":{"name":"alloc_jemalloc","disambiguator":[15668163579258084147,15586271759104334837]}},{"file_name":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","num":9,"id":{"name":"panic_unwind","disambiguator":[5446911583689922829,16172663846372972649]}}],"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":0,"byte_end":15322,"line_start":1,"line_end":518,"column_start":1,"column_end":2}},"imports":[],"defs":[{"kind":"Mod","id":{"krate":0,"index":0},"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":0,"byte_end":15322,"line_start":1,"line_end":518,"column_start":1,"column_end":2},"name":"","qualname":"::","value":"/home/brad/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs","parent":null,"children":[{"krate":0,"index":2},{"krate":0,"index":4},{"krate":0,"index":6},{"krate":0,"index":12},{"krate":0,"index":26},{"krate":0,"index":32},{"krate":0,"index":34},{"krate":0,"index":36},{"krate":0,"index":38},{"krate":0,"index":42},{"krate":0,"index":46},{"krate":0,"index":48},{"krate":0,"index":52},{"krate":0,"index":54},{"krate":0,"index":56},{"krate":0,"index":64},{"krate":0,"index":66},{"krate":0,"index":74}],"decl_id":null,"docs":" This crate provides a stable, safe and scoped threadpool.","sig":null,"attributes":[{"value":"warn(missing_docs)","span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":1656,"byte_end":1678,"line_start":48,"line_end":48,"column_start":1,"column_end":23}}]},{"kind":"Struct","id":{"krate":0,"index":52},"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":2360,"byte_end":2364,"line_start":85,"line_end":85,"column_start":12,"column_end":16},"name":"Pool","qualname":"::Pool","value":"Pool { }","parent":null,"children":[{"krate":0,"index":29},{"krate":0,"index":31}],"decl_id":null,"docs":" A threadpool that acts as a handle to a number\n of threads spawned at construction.\n","sig":null,"attributes":[]},{"kind":"Method","id":{"krate":0,"index":58},"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":2690,"byte_end":2693,"line_start":99,"line_end":99,"column_start":12,"column_end":15},"name":"new","qualname":"<Pool>::new","value":"fn (n: u32) -> Pool","parent":null,"children":[],"decl_id":null,"docs":" Construct a threadpool with the given number of threads.\n Minimum value is `1`.\n","sig":null,"attributes":[]},{"kind":"Method","id":{"krate":0,"index":60},"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":5396,"byte_end":5402,"line_start":174,"line_end":174,"column_start":12,"column_end":18},"name":"scoped","qualname":"<Pool>::scoped","value":"fn <'pool, 'scope, F, R> (&'pool mut self, f: F) -> R","parent":null,"children":[],"decl_id":null,"docs":" Borrows the pool and allows executing jobs on other\n threads during that scope via the argument of the closure.","sig":null,"attributes":[]},{"kind":"Method","id":{"krate":0,"index":62},"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":5699,"byte_end":5711,"line_start":185,"line_end":185,"column_start":12,"column_end":24},"name":"thread_count","qualname":"<Pool>::thread_count","value":"fn (&self) -> u32","parent":null,"children":[],"decl_id":null,"docs":" Returns the number of threads inside this pool.\n","sig":null,"attributes":[]},{"kind":"Struct","id":{"krate":0,"index":64},"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":5926,"byte_end":5931,"line_start":193,"line_end":193,"column_start":12,"column_end":17},"name":"Scope","qualname":"::Scope","value":"Scope { }","parent":null,"children":[{"krate":0,"index":53},{"krate":0,"index":55}],"decl_id":null,"docs":" Handle to the scope during which the threadpool is borrowed.\n","sig":null,"attributes":[]},{"kind":"Method","id":{"krate":0,"index":68},"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":6346,"byte_end":6353,"line_start":205,"line_end":205,"column_start":12,"column_end":19},"name":"execute","qualname":"<Scope<'pool, 'scope>>::execute","value":"fn <F> (&self, f: F) -> ()","parent":null,"children":[],"decl_id":null,"docs":" Execute a job on the threadpool.","sig":null,"attributes":[]},{"kind":"Method","id":{"krate":0,"index":72},"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":6786,"byte_end":6794,"line_start":217,"line_end":217,"column_start":12,"column_end":20},"name":"join_all","qualname":"<Scope<'pool, 'scope>>::join_all","value":"fn (&self) -> ()","parent":null,"children":[],"decl_id":null,"docs":" Blocks until all currently queued jobs have run to completion.\n","sig":null,"attributes":[]}],"impls":[{"id":0,"kind":"Direct","span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":2066,"byte_end":2067,"line_start":69,"line_end":69,"column_start":29,"column_end":30},"value":"","parent":null,"children":[{"krate":0,"index":44}],"docs":"","sig":null,"attributes":[]},{"id":1,"kind":"Direct","span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":2185,"byte_end":2189,"line_start":77,"line_end":77,"column_start":15,"column_end":19},"value":"","parent":null,"children":[{"krate":0,"index":50}],"docs":"","sig":null,"attributes":[]},{"id":2,"kind":"Inherent","span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":2577,"byte_end":2581,"line_start":96,"line_end":96,"column_start":6,"column_end":10},"value":"","parent":null,"children":[{"krate":0,"index":58},{"krate":0,"index":60},{"krate":0,"index":62}],"docs":"","sig":null,"attributes":[]},{"id":3,"kind":"Inherent","span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":6113,"byte_end":6118,"line_start":199,"line_end":199,"column_start":21,"column_end":26},"value":"","parent":null,"children":[{"krate":0,"index":68},{"krate":0,"index":70},{"krate":0,"index":72}],"docs":"","sig":null,"attributes":[]},{"id":4,"kind":"Direct","span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":7816,"byte_end":7821,"line_start":246,"line_end":246,"column_start":30,"column_end":35},"value":"","parent":null,"children":[{"krate":0,"index":76}],"docs":"","sig":null,"attributes":[]}],"refs":[],"macro_refs":[],"relations":[{"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":2066,"byte_end":2067,"line_start":69,"line_end":69,"column_start":29,"column_end":30},"kind":{"variant":"Impl","fields":[0]},"from":{"krate":0,"index":25},"to":{"krate":0,"index":38}},{"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":2185,"byte_end":2189,"line_start":77,"line_end":77,"column_start":15,"column_end":19},"kind":{"variant":"Impl","fields":[1]},"from":{"krate":0,"index":52},"to":{"krate":2,"index":1984}},{"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":2577,"byte_end":2581,"line_start":96,"line_end":96,"column_start":6,"column_end":10},"kind":{"variant":"Impl","fields":[2]},"from":{"krate":0,"index":52},"to":{"krate":4294967295,"index":4294967295}},{"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":6113,"byte_end":6118,"line_start":199,"line_end":199,"column_start":21,"column_end":26},"kind":{"variant":"Impl","fields":[3]},"from":{"krate":0,"index":64},"to":{"krate":4294967295,"index":4294967295}},{"span":{"file_name":[47,104,111,109,101,47,98,114,97,100,47,46,99,97,114,103,111,47,114,101,103,105,115,116,114,121,47,115,114,99,47,103,105,116,104,117,98,46,99,111,109,45,49,101,99,99,54,50,57,57,100,98,57,101,99,56,50,51,47,115,99,111,112,101,100,95,116,104,114,101,97,100,112,111,111,108,45,48,46,49,46,57,47,115,114,99,47,108,105,98,46,114,115],"byte_start":7816,"byte_end":7821,"line_start":246,"line_end":246,"column_start":30,"column_end":35},"kind":{"variant":"Impl","fields":[4]},"from":{"krate":0,"index":64},"to":{"krate":2,"index":1984}}]} |