{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.AxotmmgL/b1/rustc_1.85.0~beta.9+dfsg1-1~exp1_amd64.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.AxotmmgL/b2/rustc_1.85.0~beta.9+dfsg1-1~exp1_amd64.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,21 +1,21 @@\n \n 094f40147f76fd56d7a1a6331f1e79a6 73533792 debug optional cargo-dbgsym_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n- 42ad61c80e49eb88195fca4d15fe2ab3 4370656 doc optional cargo-doc_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n+ 885bb70c18e1b1b25b14740cfb1c9fc2 4370428 doc optional cargo-doc_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n d53616404c305148c002d79a53576eec 6442480 devel optional cargo_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n 650e9fa3bc3ddcc09eaf176b1c460f3e 261472344 debug optional libstd-rust-1.85-dbgsym_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n 47eac1c38bd0b66d928813eb7e90c013 19726300 libs optional libstd-rust-1.85_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n 217091c5364e14ce8b679f8520a794b3 91417168 libdevel optional libstd-rust-dev-wasm32_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n 1dfa30a70c56eedd6f0cab451a62bb0e 39295156 libdevel optional libstd-rust-dev_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n 31d7b47c33936a642141ee7112e055b8 238548 devel optional rust-all_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n 0d9d11284d0dcd68a21541dadc945b0d 101405836 debug optional rust-analyzer-dbgsym_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n 2b914a2ae8430b0b1ca441b9172ee0a0 8256356 devel optional rust-analyzer_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n c57ea477ea7e8bfb6fc22cef2891d398 61845032 debug optional rust-clippy-dbgsym_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n ba3c654d1487db1463129a7e01de9246 3319504 devel optional rust-clippy_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n- b362a82c31cc5f505b2892a95f9152c1 22854496 doc optional rust-doc_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n+ 711958be5b542d9d08fb39e27906a316 22854076 doc optional rust-doc_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n b1ec15835c1ba13624d697a4fac48dd9 244236 devel optional rust-gdb_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n 6b868368dc880c4f868917099d3f3ab4 245208 devel optional rust-lldb_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n 9c15869281ccd79641c8ac08a2421d2a 1758828 devel optional rust-llvm_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n 1b03b9356580579442e50b7e821f907f 47187040 devel optional rust-src_1.85.0~beta.9+dfsg1-1~exp1_all.deb\n 4cfd440845e4c0ca8cc2a7610b935bce 34575944 debug optional rustc-dbgsym_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n 1e9cca608c090f17780b1d2a9f2a736d 3839568 devel optional rustc_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n 1616cb3cfb296fbaa1ce4e4b56462cd7 23449148 debug optional rustfmt-dbgsym_1.85.0~beta.9+dfsg1-1~exp1_amd64.deb\n"}, {"source1": "cargo-doc_1.85.0~beta.9+dfsg1-1~exp1_all.deb", "source2": "cargo-doc_1.85.0~beta.9+dfsg1-1~exp1_all.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2025-02-17 12:24:42.000000 debian-binary\n -rw-r--r-- 0 0 0 75612 2025-02-17 12:24:42.000000 control.tar.xz\n--rw-r--r-- 0 0 0 4294852 2025-02-17 12:24:42.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 4294624 2025-02-17 12:24:42.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -2784,15 +2784,15 @@\n -rw-r--r-- 0 root (0) root (0) 36178 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/crates_io/struct.Registry.html\n -rw-r--r-- 0 root (0) root (0) 23354 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/crates_io/struct.TotalCrates.html\n -rw-r--r-- 0 root (0) root (0) 25774 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/crates_io/struct.User.html\n -rw-r--r-- 0 root (0) root (0) 23308 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/crates_io/struct.Users.html\n -rw-r--r-- 0 root (0) root (0) 22279 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/crates_io/struct.Warnings.html\n -rw-r--r-- 0 root (0) root (0) 4858 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/crates_io/type.Result.html\n -rw-r--r-- 0 root (0) root (0) 2882 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/help.html\n--rw-r--r-- 0 root (0) root (0) 3087 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/index.html\n+-rw-r--r-- 0 root (0) root (0) 3074 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/index.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/mdman/\n -rw-r--r-- 0 root (0) root (0) 5245 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/mdman/all.html\n -rw-r--r-- 0 root (0) root (0) 29115 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/mdman/enum.Format.html\n -rw-r--r-- 0 root (0) root (0) 4059 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/mdman/fn.convert.html\n -rw-r--r-- 0 root (0) root (0) 3291 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/mdman/fn.extract_section.html\n -rw-r--r-- 0 root (0) root (0) 3101 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/mdman/fn.join_url.html\n -rw-r--r-- 0 root (0) root (0) 3927 2025-02-17 12:24:42.000000 ./usr/share/doc/cargo/reference/mdman/fn.md_parser.html\n"}, {"source1": "./usr/share/doc/cargo/reference/index.html", "source2": "./usr/share/doc/cargo/reference/index.html", "unified_diff": "@@ -1,2 +1,2 @@\n-Index of crates

List of all crates

\n-\n+Index of crates

List of all crates

\n+\n"}]}]}]}, {"source1": "rust-doc_1.85.0~beta.9+dfsg1-1~exp1_all.deb", "source2": "rust-doc_1.85.0~beta.9+dfsg1-1~exp1_all.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2025-02-17 12:24:42.000000 debian-binary\n -rw-r--r-- 0 0 0 949852 2025-02-17 12:24:42.000000 control.tar.xz\n--rw-r--r-- 0 0 0 21904452 2025-02-17 12:24:42.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 21904032 2025-02-17 12:24:42.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./control", "source2": "./control", "unified_diff": "@@ -1,13 +1,13 @@\n Package: rust-doc\n Source: rustc\n Version: 1.85.0~beta.9+dfsg1-1~exp1\n Architecture: all\n Maintainer: Debian Rust Maintainers \n-Installed-Size: 522756\n+Installed-Size: 522770\n Depends: libjs-jquery, libjs-highlight.js, libjs-mathjax, fonts-open-sans, fonts-font-awesome\n Recommends: cargo-doc\n Section: doc\n Priority: optional\n Homepage: http://www.rust-lang.org/\n Description: Rust systems programming language - Documentation\n Rust is a curly-brace, block-structured expression language. It\n"}, {"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -44737,42 +44737,42 @@\n -rw-r--r-- 0 root (0) root (0) 2829 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/style-guide/toc.html\n -rw-r--r-- 0 root (0) root (0) 4453 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/style-guide/toc.js\n -rw-r--r-- 0 root (0) root (0) 1694 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/style-guide/tomorrow-night.css\n -rw-r--r-- 0 root (0) root (0) 12533 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/style-guide/types.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/\n -rw-r--r-- 0 root (0) root (0) 6060 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/all.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/\n--rw-r--r-- 0 root (0) root (0) 4385 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.html\n+-rw-r--r-- 0 root (0) root (0) 4460 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.html\n -rw-r--r-- 0 root (0) root (0) 3883 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.black_box.html\n -rw-r--r-- 0 root (0) root (0) 3645 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.fmt_bench_samples.html\n--rw-r--r-- 0 root (0) root (0) 3730 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.iter.html\n--rw-r--r-- 0 root (0) root (0) 4234 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html\n+-rw-r--r-- 0 root (0) root (0) 3755 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.iter.html\n+-rw-r--r-- 0 root (0) root (0) 4284 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html\n -rw-r--r-- 0 root (0) root (0) 5520 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/index.html\n -rw-r--r-- 0 root (0) root (0) 130 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/sidebar-items1.85.0.js\n--rw-r--r-- 0 root (0) root (0) 29352 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html\n--rw-r--r-- 0 root (0) root (0) 27595 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html\n+-rw-r--r-- 0 root (0) root (0) 29602 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html\n+-rw-r--r-- 0 root (0) root (0) 27795 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/cli/\n -rw-r--r-- 0 root (0) root (0) 408 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/cli/fn.parse_opts.html\n -rw-r--r-- 0 root (0) root (0) 396 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/cli/struct.TestOpts.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/console/\n -rw-r--r-- 0 root (0) root (0) 416 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/console/fn.run_tests_console.html\n--rw-r--r-- 0 root (0) root (0) 28045 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html\n--rw-r--r-- 0 root (0) root (0) 31772 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.NamePadding.html\n--rw-r--r-- 0 root (0) root (0) 31704 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html\n--rw-r--r-- 0 root (0) root (0) 29754 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html\n--rw-r--r-- 0 root (0) root (0) 32459 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html\n--rw-r--r-- 0 root (0) root (0) 29210 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.TestFn.html\n--rw-r--r-- 0 root (0) root (0) 37575 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.TestName.html\n--rw-r--r-- 0 root (0) root (0) 33147 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.TestType.html\n--rw-r--r-- 0 root (0) root (0) 4105 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html\n+-rw-r--r-- 0 root (0) root (0) 28185 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html\n+-rw-r--r-- 0 root (0) root (0) 32052 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.NamePadding.html\n+-rw-r--r-- 0 root (0) root (0) 31928 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html\n+-rw-r--r-- 0 root (0) root (0) 29978 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html\n+-rw-r--r-- 0 root (0) root (0) 32795 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html\n+-rw-r--r-- 0 root (0) root (0) 29770 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.TestFn.html\n+-rw-r--r-- 0 root (0) root (0) 37995 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.TestName.html\n+-rw-r--r-- 0 root (0) root (0) 33427 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/enum.TestType.html\n+-rw-r--r-- 0 root (0) root (0) 4161 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html\n -rw-r--r-- 0 root (0) root (0) 3731 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.convert_benchmarks_to_tests.html\n -rw-r--r-- 0 root (0) root (0) 3776 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.filter_tests.html\n--rw-r--r-- 0 root (0) root (0) 4189 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.run_test.html\n--rw-r--r-- 0 root (0) root (0) 4113 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.run_tests.html\n--rw-r--r-- 0 root (0) root (0) 4036 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html\n+-rw-r--r-- 0 root (0) root (0) 4301 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.run_test.html\n+-rw-r--r-- 0 root (0) root (0) 4225 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.run_tests.html\n+-rw-r--r-- 0 root (0) root (0) 4092 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html\n -rw-r--r-- 0 root (0) root (0) 3781 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.test_main.html\n -rw-r--r-- 0 root (0) root (0) 3814 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.test_main_static.html\n -rw-r--r-- 0 root (0) root (0) 3918 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/fn.test_main_static_abort.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/helpers/\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/helpers/metrics/\n -rw-r--r-- 0 root (0) root (0) 420 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/helpers/metrics/struct.Metric.html\n -rw-r--r-- 0 root (0) root (0) 432 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/helpers/metrics/struct.MetricMap.html\n@@ -44782,43 +44782,43 @@\n -rw-r--r-- 0 root (0) root (0) 404 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/options/enum.OutputFormat.html\n -rw-r--r-- 0 root (0) root (0) 396 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/options/enum.RunIgnored.html\n -rw-r--r-- 0 root (0) root (0) 420 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/options/enum.RunStrategy.html\n -rw-r--r-- 0 root (0) root (0) 400 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/options/enum.ShouldPanic.html\n -rw-r--r-- 0 root (0) root (0) 392 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/options/struct.Options.html\n -rw-r--r-- 0 root (0) root (0) 406 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/sidebar-items1.85.0.js\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/\n--rw-r--r-- 0 root (0) root (0) 4465 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html\n+-rw-r--r-- 0 root (0) root (0) 4515 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html\n -rw-r--r-- 0 root (0) root (0) 5159 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/index.html\n -rw-r--r-- 0 root (0) root (0) 83 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/sidebar-items1.85.0.js\n--rw-r--r-- 0 root (0) root (0) 36613 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html\n--rw-r--r-- 0 root (0) root (0) 27694 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html\n--rw-r--r-- 0 root (0) root (0) 29172 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.Options.html\n--rw-r--r-- 0 root (0) root (0) 34111 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.TestDesc.html\n--rw-r--r-- 0 root (0) root (0) 22120 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html\n--rw-r--r-- 0 root (0) root (0) 31103 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.TestId.html\n--rw-r--r-- 0 root (0) root (0) 32782 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.TestOpts.html\n+-rw-r--r-- 0 root (0) root (0) 37538 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html\n+-rw-r--r-- 0 root (0) root (0) 28919 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html\n+-rw-r--r-- 0 root (0) root (0) 29480 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.Options.html\n+-rw-r--r-- 0 root (0) root (0) 34811 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.TestDesc.html\n+-rw-r--r-- 0 root (0) root (0) 22344 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html\n+-rw-r--r-- 0 root (0) root (0) 31439 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.TestId.html\n+-rw-r--r-- 0 root (0) root (0) 33538 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/struct.TestOpts.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/\n--rw-r--r-- 0 root (0) root (0) 30207 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html\n--rw-r--r-- 0 root (0) root (0) 25643 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html\n--rw-r--r-- 0 root (0) root (0) 32966 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html\n--rw-r--r-- 0 root (0) root (0) 38172 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestName.html\n--rw-r--r-- 0 root (0) root (0) 30851 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html\n--rw-r--r-- 0 root (0) root (0) 33648 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestType.html\n+-rw-r--r-- 0 root (0) root (0) 30407 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html\n+-rw-r--r-- 0 root (0) root (0) 25768 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html\n+-rw-r--r-- 0 root (0) root (0) 33266 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html\n+-rw-r--r-- 0 root (0) root (0) 38547 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestName.html\n+-rw-r--r-- 0 root (0) root (0) 31051 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html\n+-rw-r--r-- 0 root (0) root (0) 33898 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestType.html\n -rw-r--r-- 0 root (0) root (0) 4566 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/fn.parse_opts.html\n -rw-r--r-- 0 root (0) root (0) 12678 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/index.html\n -rw-r--r-- 0 root (0) root (0) 252 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/sidebar-items1.85.0.js\n--rw-r--r-- 0 root (0) root (0) 29487 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.Metric.html\n--rw-r--r-- 0 root (0) root (0) 29944 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html\n--rw-r--r-- 0 root (0) root (0) 29616 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.Options.html\n--rw-r--r-- 0 root (0) root (0) 34609 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html\n--rw-r--r-- 0 root (0) root (0) 22465 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html\n--rw-r--r-- 0 root (0) root (0) 31755 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html\n--rw-r--r-- 0 root (0) root (0) 31610 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestId.html\n--rw-r--r-- 0 root (0) root (0) 33231 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html\n--rw-r--r-- 0 root (0) root (0) 35962 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestTimeOptions.html\n+-rw-r--r-- 0 root (0) root (0) 29737 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.Metric.html\n+-rw-r--r-- 0 root (0) root (0) 30219 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html\n+-rw-r--r-- 0 root (0) root (0) 29891 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.Options.html\n+-rw-r--r-- 0 root (0) root (0) 35234 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html\n+-rw-r--r-- 0 root (0) root (0) 22665 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html\n+-rw-r--r-- 0 root (0) root (0) 31955 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html\n+-rw-r--r-- 0 root (0) root (0) 31910 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestId.html\n+-rw-r--r-- 0 root (0) root (0) 33906 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html\n+-rw-r--r-- 0 root (0) root (0) 36287 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestTimeOptions.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test_result/\n -rw-r--r-- 0 root (0) root (0) 416 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/test_result/enum.TestResult.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/time/\n -rw-r--r-- 0 root (0) root (0) 432 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/time/struct.TestExecTime.html\n -rw-r--r-- 0 root (0) root (0) 444 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/time/struct.TestTimeOptions.html\n drwxr-xr-x 0 root (0) root (0) 0 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/types/\n -rw-r--r-- 0 root (0) root (0) 400 2025-02-17 12:24:42.000000 ./usr/share/doc/rust-doc/html/test/types/enum.NamePadding.html\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.html", "source2": "./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.html", "unified_diff": "@@ -1,8 +1,8 @@\n benchmark in test::bench - Rust
test::bench

Function benchmark

Source
pub fn benchmark<F>(\n     id: TestId,\n     desc: TestDesc,\n-    monitor_ch: Sender<CompletedTest>,\n-    nocapture: bool,\n+    monitor_ch: Sender<CompletedTest>,\n+    nocapture: bool,\n     f: F,\n )
where\n- F: FnMut(&mut Bencher) -> Result<(), String>,
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n+ F: FnMut(&mut Bencher) -> Result<(), String>,
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/bench/fn.iter.html", "source2": "./usr/share/doc/rust-doc/html/test/bench/fn.iter.html", "unified_diff": "@@ -1,2 +1,2 @@\n-iter in test::bench - Rust
test::bench

Function iter

Source
pub fn iter<T, F>(inner: &mut F) -> Summary
where\n+iter in test::bench - Rust
test::bench

Function iter

Source
pub fn iter<T, F>(inner: &mut F) -> Summary
where\n F: FnMut() -> T,
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html", "source2": "./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html", "unified_diff": "@@ -1,2 +1,2 @@\n-run_once in test::bench - Rust
test::bench

Function run_once

Source
pub fn run_once<F>(f: F) -> Result<(), String>
where\n- F: FnMut(&mut Bencher) -> Result<(), String>,
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n+run_once in test::bench - Rust
test::bench

Function run_once

Source
pub fn run_once<F>(f: F) -> Result<(), String>
where\n+ F: FnMut(&mut Bencher) -> Result<(), String>,
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html", "source2": "./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html", "unified_diff": "@@ -1,17 +1,17 @@\n BenchSamples in test::bench - Rust
test::bench

Struct BenchSamples

Source
pub struct BenchSamples {\n     pub ns_iter_summ: Summary,\n-    pub mb_s: usize,\n-}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7ns_iter_summ: Summary
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7mb_s: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for BenchSamples

Source\u00a7

fn clone(&self) -> BenchSamples

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for BenchSamples

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for BenchSamples

Source\u00a7

fn eq(&self, other: &BenchSamples) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ pub mb_s: usize,\n+}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7ns_iter_summ: Summary
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7mb_s: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for BenchSamples

Source\u00a7

fn clone(&self) -> BenchSamples

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for BenchSamples

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for BenchSamples

Source\u00a7

fn eq(&self, other: &BenchSamples) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl StructuralPartialEq for BenchSamples

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html", "source2": "./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html", "unified_diff": "@@ -1,23 +1,23 @@\n Bencher in test::bench - Rust
test::bench

Struct Bencher

Source
pub struct Bencher {\n-    pub bytes: u64,\n+    pub bytes: u64,\n     /* private fields */\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Manager of the benchmarking runs.

\n

This is fed into functions marked with #[bench] to allow for\n set-up & tear-down before running a piece of code repeatedly via a\n call to iter.

\n-

Fields\u00a7

\u00a7bytes: u64
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Bencher

Source

pub fn iter<T, F>(&mut self, inner: F)
where\n+

Fields\u00a7

\u00a7bytes: u64
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Bencher

Source

pub fn iter<T, F>(&mut self, inner: F)
where\n F: FnMut() -> T,

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Callback for benchmark functions to run in their body.

\n
Source

pub fn bench<F>(&mut self, f: F) -> Result<Option<Summary>, String>
where\n- F: FnMut(&mut Bencher) -> Result<(), String>,

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for Bencher

Source\u00a7

fn clone(&self) -> Bencher

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n+ F: FnMut(&mut Bencher) -> Result<(), String>,

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for Bencher

Source\u00a7

fn clone(&self) -> Bencher

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html", "source2": "./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html", "unified_diff": "@@ -1,18 +1,18 @@\n ColorConfig in test - Rust
test

Enum ColorConfig

Source
pub enum ColorConfig {\n     AutoColor,\n     AlwaysColor,\n     NeverColor,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Whether should console output be colored or not

\n

Variants\u00a7

\u00a7

AutoColor

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

AlwaysColor

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

NeverColor

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for ColorConfig

Source\u00a7

fn clone(&self) -> ColorConfig

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for ColorConfig

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Default for ColorConfig

Source\u00a7

fn default() -> ColorConfig

Returns the \u201cdefault value\u201d for a type. Read more
Source\u00a7

impl Copy for ColorConfig

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/enum.NamePadding.html", "source2": "./usr/share/doc/rust-doc/html/test/enum.NamePadding.html", "unified_diff": "@@ -1,19 +1,19 @@\n NamePadding in test - Rust
test

Enum NamePadding

Source
pub enum NamePadding {\n     PadNone,\n     PadOnRight,\n-}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

PadNone

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

PadOnRight

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for NamePadding

Source\u00a7

fn clone(&self) -> NamePadding

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for NamePadding

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for NamePadding

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

PadNone

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

PadOnRight

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for NamePadding

Source\u00a7

fn clone(&self) -> NamePadding

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for NamePadding

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for NamePadding

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for NamePadding

Source\u00a7

fn eq(&self, other: &NamePadding) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for NamePadding

Source\u00a7

fn eq(&self, other: &NamePadding) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for NamePadding

Source\u00a7

impl Eq for NamePadding

Source\u00a7

impl StructuralPartialEq for NamePadding

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html", "source2": "./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html", "unified_diff": "@@ -4,21 +4,21 @@\n Json,\n Junit,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Format of the test results output

\n

Variants\u00a7

\u00a7

Pretty

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Verbose output

\n
\u00a7

Terse

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Quiet output

\n
\u00a7

Json

\ud83d\udd2cThis is a nightly-only experimental API. (test)

JSON output

\n
\u00a7

Junit

\ud83d\udd2cThis is a nightly-only experimental API. (test)

JUnit output

\n-

Trait Implementations\u00a7

Source\u00a7

impl Clone for OutputFormat

Source\u00a7

fn clone(&self) -> OutputFormat

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for OutputFormat

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Default for OutputFormat

Source\u00a7

fn default() -> OutputFormat

Returns the \u201cdefault value\u201d for a type. Read more
Source\u00a7

impl PartialEq for OutputFormat

Source\u00a7

fn eq(&self, other: &OutputFormat) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+

Trait Implementations\u00a7

Source\u00a7

impl Clone for OutputFormat

Source\u00a7

fn clone(&self) -> OutputFormat

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for OutputFormat

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Default for OutputFormat

Source\u00a7

fn default() -> OutputFormat

Returns the \u201cdefault value\u201d for a type. Read more
Source\u00a7

impl PartialEq for OutputFormat

Source\u00a7

fn eq(&self, other: &OutputFormat) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for OutputFormat

Source\u00a7

impl Eq for OutputFormat

Source\u00a7

impl StructuralPartialEq for OutputFormat

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html", "source2": "./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html", "unified_diff": "@@ -1,20 +1,20 @@\n RunIgnored in test - Rust
test

Enum RunIgnored

Source
pub enum RunIgnored {\n     Yes,\n     No,\n     Only,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Whether ignored test should be run or not

\n

Variants\u00a7

\u00a7

Yes

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

No

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

Only

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Run only ignored tests

\n-

Trait Implementations\u00a7

Source\u00a7

impl Clone for RunIgnored

Source\u00a7

fn clone(&self) -> RunIgnored

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for RunIgnored

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for RunIgnored

Source\u00a7

fn eq(&self, other: &RunIgnored) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+

Trait Implementations\u00a7

Source\u00a7

impl Clone for RunIgnored

Source\u00a7

fn clone(&self) -> RunIgnored

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for RunIgnored

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for RunIgnored

Source\u00a7

fn eq(&self, other: &RunIgnored) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for RunIgnored

Source\u00a7

impl Eq for RunIgnored

Source\u00a7

impl StructuralPartialEq for RunIgnored

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html", "source2": "./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html", "unified_diff": "@@ -1,21 +1,21 @@\n ShouldPanic in test - Rust
test

Enum ShouldPanic

Source
pub enum ShouldPanic {\n     No,\n     Yes,\n-    YesWithMessage(&'static str),\n+    YesWithMessage(&'static str),\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Whether test is expected to panic or not

\n-

Variants\u00a7

\u00a7

No

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

Yes

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

YesWithMessage(&'static str)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for ShouldPanic

Source\u00a7

fn clone(&self) -> ShouldPanic

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for ShouldPanic

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for ShouldPanic

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+

Variants\u00a7

\u00a7

No

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

Yes

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

YesWithMessage(&'static str)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for ShouldPanic

Source\u00a7

fn clone(&self) -> ShouldPanic

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for ShouldPanic

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for ShouldPanic

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for ShouldPanic

Source\u00a7

fn eq(&self, other: &ShouldPanic) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for ShouldPanic

Source\u00a7

fn eq(&self, other: &ShouldPanic) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for ShouldPanic

Source\u00a7

impl Eq for ShouldPanic

Source\u00a7

impl StructuralPartialEq for ShouldPanic

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/enum.TestFn.html", "source2": "./usr/share/doc/rust-doc/html/test/enum.TestFn.html", "unified_diff": "@@ -1,18 +1,18 @@\n TestFn in test - Rust
test

Enum TestFn

Source
pub enum TestFn {\n-    StaticTestFn(fn() -> Result<(), String>),\n-    StaticBenchFn(fn(_: &mut Bencher) -> Result<(), String>),\n-    StaticBenchAsTestFn(fn(_: &mut Bencher) -> Result<(), String>),\n-    DynTestFn(Box<dyn FnOnce() -> Result<(), String> + Send>),\n-    DynBenchFn(Box<dyn Fn(&mut Bencher) -> Result<(), String> + Send>),\n-    DynBenchAsTestFn(Box<dyn Fn(&mut Bencher) -> Result<(), String> + Send>),\n-}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

StaticTestFn(fn() -> Result<(), String>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

StaticBenchFn(fn(_: &mut Bencher) -> Result<(), String>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

StaticBenchAsTestFn(fn(_: &mut Bencher) -> Result<(), String>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynTestFn(Box<dyn FnOnce() -> Result<(), String> + Send>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynBenchFn(Box<dyn Fn(&mut Bencher) -> Result<(), String> + Send>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynBenchAsTestFn(Box<dyn Fn(&mut Bencher) -> Result<(), String> + Send>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestFn

Source

pub fn padding(&self) -> NamePadding

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Debug for TestFn

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n+ StaticTestFn(fn() -> Result<(), String>),\n+ StaticBenchFn(fn(_: &mut Bencher) -> Result<(), String>),\n+ StaticBenchAsTestFn(fn(_: &mut Bencher) -> Result<(), String>),\n+ DynTestFn(Box<dyn FnOnce() -> Result<(), String> + Send>),\n+ DynBenchFn(Box<dyn Fn(&mut Bencher) -> Result<(), String> + Send>),\n+ DynBenchAsTestFn(Box<dyn Fn(&mut Bencher) -> Result<(), String> + Send>),\n+}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

StaticTestFn(fn() -> Result<(), String>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

StaticBenchFn(fn(_: &mut Bencher) -> Result<(), String>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

StaticBenchAsTestFn(fn(_: &mut Bencher) -> Result<(), String>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynTestFn(Box<dyn FnOnce() -> Result<(), String> + Send>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynBenchFn(Box<dyn Fn(&mut Bencher) -> Result<(), String> + Send>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynBenchAsTestFn(Box<dyn Fn(&mut Bencher) -> Result<(), String> + Send>)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestFn

Source

pub fn padding(&self) -> NamePadding

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Debug for TestFn

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/enum.TestName.html", "source2": "./usr/share/doc/rust-doc/html/test/enum.TestName.html", "unified_diff": "@@ -1,21 +1,21 @@\n TestName in test - Rust
test

Enum TestName

Source
pub enum TestName {\n-    StaticTestName(&'static str),\n+    StaticTestName(&'static str),\n     DynTestName(String),\n-    AlignedTestName(Cow<'static, str>, NamePadding),\n-}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

StaticTestName(&'static str)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynTestName(String)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

AlignedTestName(Cow<'static, str>, NamePadding)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestName

Source

pub fn as_slice(&self) -> &str

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn padding(&self) -> NamePadding

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn with_padding(&self, padding: NamePadding) -> TestName

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestName

Source\u00a7

fn clone(&self) -> TestName

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestName

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Display for TestName

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestName

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+ AlignedTestName(Cow<'static, str>, NamePadding),\n+}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

StaticTestName(&'static str)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynTestName(String)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

AlignedTestName(Cow<'static, str>, NamePadding)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestName

Source

pub fn as_slice(&self) -> &str

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn padding(&self) -> NamePadding

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn with_padding(&self, padding: NamePadding) -> TestName

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestName

Source\u00a7

fn clone(&self) -> TestName

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestName

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Display for TestName

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestName

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestName

Source\u00a7

fn eq(&self, other: &TestName) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestName

Source\u00a7

fn eq(&self, other: &TestName) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Eq for TestName

Source\u00a7

impl StructuralPartialEq for TestName

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T> ToString for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T> ToString for T
where\n T: Display + ?Sized,

Source\u00a7

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/enum.TestType.html", "source2": "./usr/share/doc/rust-doc/html/test/enum.TestType.html", "unified_diff": "@@ -6,23 +6,23 @@\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Type of the test according to the Rust book\n conventions.

\n

Variants\u00a7

\u00a7

UnitTest

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Unit-tests are expected to be in the src folder of the crate.

\n
\u00a7

IntegrationTest

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Integration-style tests are expected to be in the tests folder of the crate.

\n
\u00a7

DocTest

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Doctests are created by the librustdoc manually, so it\u2019s a different type of test.

\n
\u00a7

Unknown

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Tests for the sources that don\u2019t follow the project layout convention\n (e.g. tests in raw main.rs compiled by calling rustc --test directly).

\n-

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestType

Source\u00a7

fn clone(&self) -> TestType

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestType

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestType

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestType

Source\u00a7

fn clone(&self) -> TestType

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestType

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestType

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestType

Source\u00a7

fn eq(&self, other: &TestType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestType

Source\u00a7

fn eq(&self, other: &TestType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for TestType

Source\u00a7

impl Eq for TestType

Source\u00a7

impl StructuralPartialEq for TestType

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html", "source2": "./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html", "unified_diff": "@@ -1,4 +1,4 @@\n-assert_test_result in test - Rust
test

Function assert_test_result

Source
pub fn assert_test_result<T: Termination>(result: T) -> Result<(), String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Invoked when unit tests terminate. Returns Result::Err if the test is\n+assert_test_result in test - Rust

test

Function assert_test_result

Source
pub fn assert_test_result<T: Termination>(result: T) -> Result<(), String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Invoked when unit tests terminate. Returns Result::Err if the test is\n considered a failure. By default, invokes report() and checks for a 0\n result.

\n
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/fn.run_test.html", "source2": "./usr/share/doc/rust-doc/html/test/fn.run_test.html", "unified_diff": "@@ -1,8 +1,8 @@\n run_test in test - Rust
test

Function run_test

Source
pub fn run_test(\n     opts: &TestOpts,\n-    force_ignore: bool,\n+    force_ignore: bool,\n     id: TestId,\n     test: TestDescAndFn,\n     strategy: RunStrategy,\n-    monitor_ch: Sender<CompletedTest>,\n-) -> Option<JoinHandle<()>>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n+ monitor_ch: Sender<CompletedTest>,\n+) -> Option<JoinHandle<()>>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/fn.run_tests.html", "source2": "./usr/share/doc/rust-doc/html/test/fn.run_tests.html", "unified_diff": "@@ -1,6 +1,6 @@\n run_tests in test - Rust
test

Function run_tests

Source
pub fn run_tests<F>(\n     opts: &TestOpts,\n     tests: Vec<TestDescAndFn>,\n     notify_about_test_event: F,\n-) -> Result<()>
where\n- F: FnMut(TestEvent) -> Result<()>,
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n+) -> Result<()>
where\n+ F: FnMut(TestEvent) -> Result<()>,
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html", "source2": "./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html", "unified_diff": "@@ -1,6 +1,6 @@\n run_tests_console in test - Rust
test

Function run_tests_console

Source
pub fn run_tests_console(\n     opts: &TestOpts,\n     tests: Vec<TestDescAndFn>,\n-) -> Result<bool>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

A simple console test runner.\n+) -> Result<bool>

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

A simple console test runner.\n Runs provided tests reporting process and results to the stdout.

\n
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html", "source2": "./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html", "unified_diff": "@@ -1,7 +1,7 @@\n-winsorize in test::stats - Rust
test::stats

Function winsorize

Source
pub fn winsorize(samples: &mut [f64], pct: f64)
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Winsorize a set of samples, replacing values above the 100-pct percentile\n+winsorize in test::stats - Rust

test::stats

Function winsorize

Source
pub fn winsorize(samples: &mut [f64], pct: f64)
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Winsorize a set of samples, replacing values above the 100-pct percentile\n and below the pct percentile with those percentiles themselves. This is a\n way of minimizing the effect of outliers, at the cost of biasing the sample.\n It differs from trimming in that it does not change the number of samples,\n just changes the values of those that are outliers.

\n

See: https://en.wikipedia.org/wiki/Winsorising

\n
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html", "source2": "./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html", "unified_diff": "@@ -1,29 +1,29 @@\n Summary in test::stats - Rust
test::stats

Struct Summary

Source
pub struct Summary {\n-    pub sum: f64,\n-    pub min: f64,\n-    pub max: f64,\n-    pub mean: f64,\n-    pub median: f64,\n-    pub var: f64,\n-    pub std_dev: f64,\n-    pub std_dev_pct: f64,\n-    pub median_abs_dev: f64,\n-    pub median_abs_dev_pct: f64,\n-    pub quartiles: (f64, f64, f64),\n-    pub iqr: f64,\n+    pub sum: f64,\n+    pub min: f64,\n+    pub max: f64,\n+    pub mean: f64,\n+    pub median: f64,\n+    pub var: f64,\n+    pub std_dev: f64,\n+    pub std_dev_pct: f64,\n+    pub median_abs_dev: f64,\n+    pub median_abs_dev_pct: f64,\n+    pub quartiles: (f64, f64, f64),\n+    pub iqr: f64,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Extracted collection of all the summary statistics of a sample set.

\n-

Fields\u00a7

\u00a7sum: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7min: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7max: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7mean: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7median: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7var: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7std_dev: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7std_dev_pct: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7median_abs_dev: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7median_abs_dev_pct: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7quartiles: (f64, f64, f64)
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7iqr: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Summary

Source

pub fn new(samples: &[f64]) -> Summary

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Constructs a new summary of a sample set.

\n-

Trait Implementations\u00a7

Source\u00a7

impl Clone for Summary

Source\u00a7

fn clone(&self) -> Summary

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for Summary

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for Summary

Source\u00a7

fn eq(&self, other: &Summary) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+

Fields\u00a7

\u00a7sum: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7min: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7max: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7mean: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7median: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7var: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7std_dev: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7std_dev_pct: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7median_abs_dev: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7median_abs_dev_pct: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7quartiles: (f64, f64, f64)
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7iqr: f64
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Summary

Source

pub fn new(samples: &[f64]) -> Summary

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Constructs a new summary of a sample set.

\n+

Trait Implementations\u00a7

Source\u00a7

impl Clone for Summary

Source\u00a7

fn clone(&self) -> Summary

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for Summary

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for Summary

Source\u00a7

fn eq(&self, other: &Summary) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for Summary

Source\u00a7

impl StructuralPartialEq for Summary

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html", "source2": "./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html", "unified_diff": "@@ -1,62 +1,62 @@\n Stats in test::stats - Rust
test::stats

Trait Stats

Source
pub trait Stats {\n 
Show 13 methods // Required methods\n- fn sum(&self) -> f64;\n- fn min(&self) -> f64;\n- fn max(&self) -> f64;\n- fn mean(&self) -> f64;\n- fn median(&self) -> f64;\n- fn var(&self) -> f64;\n- fn std_dev(&self) -> f64;\n- fn std_dev_pct(&self) -> f64;\n- fn median_abs_dev(&self) -> f64;\n- fn median_abs_dev_pct(&self) -> f64;\n- fn percentile(&self, pct: f64) -> f64;\n- fn quartiles(&self) -> (f64, f64, f64);\n- fn iqr(&self) -> f64;\n+ fn sum(&self) -> f64;\n+ fn min(&self) -> f64;\n+ fn max(&self) -> f64;\n+ fn mean(&self) -> f64;\n+ fn median(&self) -> f64;\n+ fn var(&self) -> f64;\n+ fn std_dev(&self) -> f64;\n+ fn std_dev_pct(&self) -> f64;\n+ fn median_abs_dev(&self) -> f64;\n+ fn median_abs_dev_pct(&self) -> f64;\n+ fn percentile(&self, pct: f64) -> f64;\n+ fn quartiles(&self) -> (f64, f64, f64);\n+ fn iqr(&self) -> f64;\n
}
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Trait that provides simple descriptive statistics on a univariate set of numeric samples.

\n-

Required Methods\u00a7

Source

fn sum(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Sum of the samples.

\n+

Required Methods\u00a7

Source

fn sum(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Sum of the samples.

\n

Note: this method sacrifices performance at the altar of accuracy\n Depends on IEEE 754 arithmetic guarantees. See proof of correctness at:\n \u201cAdaptive Precision Floating-Point Arithmetic and Fast Robust Geometric\n Predicates\u201d

\n-
Source

fn min(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Minimum value of the samples.

\n-
Source

fn max(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Maximum value of the samples.

\n-
Source

fn mean(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Arithmetic mean (average) of the samples: sum divided by sample-count.

\n+
Source

fn min(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Minimum value of the samples.

\n+
Source

fn max(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Maximum value of the samples.

\n+
Source

fn mean(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Arithmetic mean (average) of the samples: sum divided by sample-count.

\n

See: https://en.wikipedia.org/wiki/Arithmetic_mean

\n-
Source

fn median(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Median of the samples: value separating the lower half of the samples from the higher half.\n+

Source

fn median(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Median of the samples: value separating the lower half of the samples from the higher half.\n Equal to self.percentile(50.0).

\n

See: https://en.wikipedia.org/wiki/Median

\n-
Source

fn var(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variance of the samples: bias-corrected mean of the squares of the differences of each\n+

Source

fn var(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variance of the samples: bias-corrected mean of the squares of the differences of each\n sample from the sample mean. Note that this calculates the sample variance rather than the\n population variance, which is assumed to be unknown. It therefore corrects the (n-1)/n\n bias that would appear if we calculated a population variance, by dividing by (n-1) rather\n than n.

\n

See: https://en.wikipedia.org/wiki/Variance

\n-
Source

fn std_dev(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Standard deviation: the square root of the sample variance.

\n+
Source

fn std_dev(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Standard deviation: the square root of the sample variance.

\n

Note: this is not a robust statistic for non-normal distributions. Prefer the\n median_abs_dev for unknown distributions.

\n

See: https://en.wikipedia.org/wiki/Standard_deviation

\n-
Source

fn std_dev_pct(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Standard deviation as a percent of the mean value. See std_dev and mean.

\n+
Source

fn std_dev_pct(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Standard deviation as a percent of the mean value. See std_dev and mean.

\n

Note: this is not a robust statistic for non-normal distributions. Prefer the\n median_abs_dev_pct for unknown distributions.

\n-
Source

fn median_abs_dev(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Scaled median of the absolute deviations of each sample from the sample median. This is a\n+

Source

fn median_abs_dev(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Scaled median of the absolute deviations of each sample from the sample median. This is a\n robust (distribution-agnostic) estimator of sample variability. Use this in preference to\n std_dev if you cannot assume your sample is normally distributed. Note that this is scaled\n by the constant 1.4826 to allow its use as a consistent estimator for the standard\n deviation.

\n

See: https://en.wikipedia.org/wiki/Median_absolute_deviation

\n-
Source

fn median_abs_dev_pct(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Median absolute deviation as a percent of the median. See median_abs_dev and median.

\n-
Source

fn percentile(&self, pct: f64) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Percentile: the value below which pct percent of the values in self fall. For example,\n+

Source

fn median_abs_dev_pct(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Median absolute deviation as a percent of the median. See median_abs_dev and median.

\n+
Source

fn percentile(&self, pct: f64) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Percentile: the value below which pct percent of the values in self fall. For example,\n percentile(95.0) will return the value v such that 95% of the samples s in self\n satisfy s <= v.

\n

Calculated by linear interpolation between closest ranks.

\n

See: https://en.wikipedia.org/wiki/Percentile

\n-
Source

fn quartiles(&self) -> (f64, f64, f64)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Quartiles of the sample: three values that divide the sample into four equal groups, each\n+

Source

fn quartiles(&self) -> (f64, f64, f64)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Quartiles of the sample: three values that divide the sample into four equal groups, each\n with 1/4 of the data. The middle value is the median. See median and percentile. This\n function may calculate the 3 quartiles more efficiently than 3 calls to percentile, but\n is otherwise equivalent.

\n

See also: https://en.wikipedia.org/wiki/Quartile

\n-
Source

fn iqr(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Inter-quartile range: the difference between the 25th percentile (1st quartile) and the 75th\n+

Source

fn iqr(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Inter-quartile range: the difference between the 25th percentile (1st quartile) and the 75th\n percentile (3rd quartile). See quartiles.

\n

See also: https://en.wikipedia.org/wiki/Interquartile_range

\n-

Implementations on Foreign Types\u00a7

Source\u00a7

impl Stats for [f64]

Source\u00a7

fn sum(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn min(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn max(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn mean(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn median(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn var(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn std_dev(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn std_dev_pct(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn median_abs_dev(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn median_abs_dev_pct(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn percentile(&self, pct: f64) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn quartiles(&self) -> (f64, f64, f64)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn iqr(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementors\u00a7

\n+

Implementations on Foreign Types\u00a7

Source\u00a7

impl Stats for [f64]

Source\u00a7

fn sum(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn min(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn max(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn mean(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn median(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn var(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn std_dev(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn std_dev_pct(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn median_abs_dev(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn median_abs_dev_pct(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn percentile(&self, pct: f64) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn quartiles(&self) -> (f64, f64, f64)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source\u00a7

fn iqr(&self) -> f64

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementors\u00a7

\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/struct.Options.html", "source2": "./usr/share/doc/rust-doc/html/test/struct.Options.html", "unified_diff": "@@ -1,18 +1,18 @@\n Options in test - Rust
test

Struct Options

Source
pub struct Options {\n-    pub display_output: bool,\n-    pub panic_abort: bool,\n+    pub display_output: bool,\n+    pub panic_abort: bool,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Options for the test run defined by the caller (instead of CLI arguments).\n In case we want to add other options as well, just add them in this struct.

\n-

Fields\u00a7

\u00a7display_output: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7panic_abort: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Options

Source

pub fn new() -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn display_output(self, display_output: bool) -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn panic_abort(self, panic_abort: bool) -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for Options

Source\u00a7

fn clone(&self) -> Options

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for Options

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Copy for Options

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n+

Fields\u00a7

\u00a7display_output: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7panic_abort: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Options

Source

pub fn new() -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn display_output(self, display_output: bool) -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn panic_abort(self, panic_abort: bool) -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for Options

Source\u00a7

fn clone(&self) -> Options

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for Options

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Copy for Options

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/struct.TestDesc.html", "source2": "./usr/share/doc/rust-doc/html/test/struct.TestDesc.html", "unified_diff": "@@ -1,28 +1,28 @@\n TestDesc in test - Rust
test

Struct TestDesc

Source
pub struct TestDesc {\n     pub name: TestName,\n-    pub ignore: bool,\n-    pub ignore_message: Option<&'static str>,\n-    pub source_file: &'static str,\n-    pub start_line: usize,\n-    pub start_col: usize,\n-    pub end_line: usize,\n-    pub end_col: usize,\n+    pub ignore: bool,\n+    pub ignore_message: Option<&'static str>,\n+    pub source_file: &'static str,\n+    pub start_line: usize,\n+    pub start_col: usize,\n+    pub end_line: usize,\n+    pub end_col: usize,\n     pub should_panic: ShouldPanic,\n-    pub compile_fail: bool,\n-    pub no_run: bool,\n+    pub compile_fail: bool,\n+    pub no_run: bool,\n     pub test_type: TestType,\n-}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7name: TestName
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7ignore: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7ignore_message: Option<&'static str>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7source_file: &'static str
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7start_line: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7start_col: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7end_line: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7end_col: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7should_panic: ShouldPanic
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7compile_fail: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7no_run: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7test_type: TestType
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestDesc

Source

pub fn padded_name(&self, column_count: usize, align: NamePadding) -> String

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn test_mode(&self) -> Option<&'static str>

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Returns None for ignored test or tests that are just run, otherwise returns a description of the type of test.\n+}

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7name: TestName
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7ignore: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7ignore_message: Option<&'static str>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7source_file: &'static str
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7start_line: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7start_col: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7end_line: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7end_col: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7should_panic: ShouldPanic
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7compile_fail: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7no_run: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7test_type: TestType
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestDesc

Source

pub fn padded_name(&self, column_count: usize, align: NamePadding) -> String

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn test_mode(&self) -> Option<&'static str>

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Returns None for ignored test or tests that are just run, otherwise returns a description of the type of test.\n Descriptions include \u201cshould panic\u201d, \u201ccompile fail\u201d and \u201ccompile\u201d.

\n

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestDesc

Source\u00a7

fn clone(&self) -> TestDesc

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestDesc

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html", "source2": "./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html", "unified_diff": "@@ -1,22 +1,22 @@\n TestDescAndFn in test - Rust
test

Struct TestDescAndFn

Source
pub struct TestDescAndFn {\n     pub desc: TestDesc,\n     pub testfn: TestFn,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7desc: TestDesc
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7testfn: TestFn
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestDescAndFn

Source

pub const fn new_doctest(\n- test_name: &'static str,\n- ignore: bool,\n- source_file: &'static str,\n- start_line: usize,\n- no_run: bool,\n- should_panic: bool,\n+ test_name: &'static str,\n+ ignore: bool,\n+ source_file: &'static str,\n+ start_line: usize,\n+ no_run: bool,\n+ should_panic: bool,\n testfn: TestFn,\n ) -> Self

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Debug for TestDescAndFn

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/struct.TestId.html", "source2": "./usr/share/doc/rust-doc/html/test/struct.TestId.html", "unified_diff": "@@ -1,16 +1,16 @@\n-TestId in test - Rust
test

Struct TestId

Source
pub struct TestId(pub usize);
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Tuple Fields\u00a7

\u00a70: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestId

Source\u00a7

fn clone(&self) -> TestId

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestId

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestId

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+TestId in test - Rust
test

Struct TestId

Source
pub struct TestId(pub usize);
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Tuple Fields\u00a7

\u00a70: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestId

Source\u00a7

fn clone(&self) -> TestId

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestId

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestId

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestId

Source\u00a7

fn eq(&self, other: &TestId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestId

Source\u00a7

fn eq(&self, other: &TestId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for TestId

Source\u00a7

impl Eq for TestId

Source\u00a7

impl StructuralPartialEq for TestId

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/struct.TestOpts.html", "source2": "./usr/share/doc/rust-doc/html/test/struct.TestOpts.html", "unified_diff": "@@ -1,34 +1,34 @@\n TestOpts in test - Rust
test

Struct TestOpts

Source
pub struct TestOpts {
Show 19 fields\n- pub list: bool,\n+ pub list: bool,\n pub filters: Vec<String>,\n- pub filter_exact: bool,\n- pub force_run_in_process: bool,\n- pub exclude_should_panic: bool,\n+ pub filter_exact: bool,\n+ pub force_run_in_process: bool,\n+ pub exclude_should_panic: bool,\n pub run_ignored: RunIgnored,\n- pub run_tests: bool,\n- pub bench_benchmarks: bool,\n- pub logfile: Option<PathBuf>,\n- pub nocapture: bool,\n+ pub run_tests: bool,\n+ pub bench_benchmarks: bool,\n+ pub logfile: Option<PathBuf>,\n+ pub nocapture: bool,\n pub color: ColorConfig,\n pub format: OutputFormat,\n- pub shuffle: bool,\n- pub shuffle_seed: Option<u64>,\n- pub test_threads: Option<usize>,\n+ pub shuffle: bool,\n+ pub shuffle_seed: Option<u64>,\n+ pub test_threads: Option<usize>,\n pub skip: Vec<String>,\n pub time_options: Option<TestTimeOptions>,\n- pub fail_fast: bool,\n+ pub fail_fast: bool,\n pub options: Options,\n-
}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7list: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7filters: Vec<String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7filter_exact: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7force_run_in_process: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7exclude_should_panic: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7run_ignored: RunIgnored
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7run_tests: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7bench_benchmarks: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7logfile: Option<PathBuf>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7nocapture: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7color: ColorConfig
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7format: OutputFormat
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7shuffle: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7shuffle_seed: Option<u64>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7test_threads: Option<usize>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7skip: Vec<String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7time_options: Option<TestTimeOptions>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7fail_fast: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Stop at first failing test.\n+}

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7list: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7filters: Vec<String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7filter_exact: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7force_run_in_process: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7exclude_should_panic: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7run_ignored: RunIgnored
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7run_tests: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7bench_benchmarks: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7logfile: Option<PathBuf>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7nocapture: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7color: ColorConfig
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7format: OutputFormat
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7shuffle: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7shuffle_seed: Option<u64>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7test_threads: Option<usize>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7skip: Vec<String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7time_options: Option<TestTimeOptions>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7fail_fast: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Stop at first failing test.\n May run a few more tests due to threading, but will\n abort as soon as possible.

\n-
\u00a7options: Options
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestOpts

Source

pub fn use_color(&self) -> bool

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Debug for TestOpts

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n+
\u00a7options: Options
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestOpts

Source

pub fn use_color(&self) -> bool

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Debug for TestOpts

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html", "source2": "./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html", "unified_diff": "@@ -1,20 +1,20 @@\n RunIgnored in test::test - Rust
test::test

Enum RunIgnored

Source
pub enum RunIgnored {\n     Yes,\n     No,\n     Only,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Whether ignored test should be run or not

\n

Variants\u00a7

\u00a7

Yes

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

No

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

Only

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Run only ignored tests

\n-

Trait Implementations\u00a7

Source\u00a7

impl Clone for RunIgnored

Source\u00a7

fn clone(&self) -> RunIgnored

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for RunIgnored

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for RunIgnored

Source\u00a7

fn eq(&self, other: &RunIgnored) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+

Trait Implementations\u00a7

Source\u00a7

impl Clone for RunIgnored

Source\u00a7

fn clone(&self) -> RunIgnored

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for RunIgnored

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for RunIgnored

Source\u00a7

fn eq(&self, other: &RunIgnored) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for RunIgnored

Source\u00a7

impl Eq for RunIgnored

Source\u00a7

impl StructuralPartialEq for RunIgnored

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html", "source2": "./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html", "unified_diff": "@@ -4,18 +4,18 @@\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

InProcess

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Runs the test in the current process, and sends the result back over the\n supplied channel.

\n
\u00a7

SpawnPrimary

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Spawns a subprocess to run the test, and sends the result back over the\n supplied channel. Requires argv[0] to exist and point to the binary\n that\u2019s currently running.

\n

Trait Implementations\u00a7

Source\u00a7

impl Clone for RunStrategy

Source\u00a7

fn clone(&self) -> RunStrategy

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Copy for RunStrategy

Auto Trait Implementations\u00a7

\u00a7

impl Freeze for RunStrategy

\u00a7

impl RefUnwindSafe for RunStrategy

\u00a7

impl Send for RunStrategy

\u00a7

impl Sync for RunStrategy

\u00a7

impl Unpin for RunStrategy

\u00a7

impl UnwindSafe for RunStrategy

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html", "source2": "./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html", "unified_diff": "@@ -1,21 +1,21 @@\n ShouldPanic in test::test - Rust
test::test

Enum ShouldPanic

Source
pub enum ShouldPanic {\n     No,\n     Yes,\n-    YesWithMessage(&'static str),\n+    YesWithMessage(&'static str),\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Whether test is expected to panic or not

\n-

Variants\u00a7

\u00a7

No

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

Yes

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

YesWithMessage(&'static str)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for ShouldPanic

Source\u00a7

fn clone(&self) -> ShouldPanic

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for ShouldPanic

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for ShouldPanic

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+

Variants\u00a7

\u00a7

No

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

Yes

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

YesWithMessage(&'static str)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for ShouldPanic

Source\u00a7

fn clone(&self) -> ShouldPanic

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for ShouldPanic

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for ShouldPanic

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for ShouldPanic

Source\u00a7

fn eq(&self, other: &ShouldPanic) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for ShouldPanic

Source\u00a7

fn eq(&self, other: &ShouldPanic) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for ShouldPanic

Source\u00a7

impl Eq for ShouldPanic

Source\u00a7

impl StructuralPartialEq for ShouldPanic

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/enum.TestName.html", "source2": "./usr/share/doc/rust-doc/html/test/test/enum.TestName.html", "unified_diff": "@@ -1,21 +1,21 @@\n TestName in test::test - Rust
test::test

Enum TestName

Source
pub enum TestName {\n-    StaticTestName(&'static str),\n+    StaticTestName(&'static str),\n     DynTestName(String),\n-    AlignedTestName(Cow<'static, str>, NamePadding),\n-}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

StaticTestName(&'static str)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynTestName(String)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

AlignedTestName(Cow<'static, str>, NamePadding)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestName

Source

pub fn as_slice(&self) -> &str

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn padding(&self) -> NamePadding

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn with_padding(&self, padding: NamePadding) -> TestName

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestName

Source\u00a7

fn clone(&self) -> TestName

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestName

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Display for TestName

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestName

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+ AlignedTestName(Cow<'static, str>, NamePadding),\n+}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

StaticTestName(&'static str)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

DynTestName(String)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

AlignedTestName(Cow<'static, str>, NamePadding)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestName

Source

pub fn as_slice(&self) -> &str

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn padding(&self) -> NamePadding

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn with_padding(&self, padding: NamePadding) -> TestName

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestName

Source\u00a7

fn clone(&self) -> TestName

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestName

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Display for TestName

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestName

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestName

Source\u00a7

fn eq(&self, other: &TestName) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestName

Source\u00a7

fn eq(&self, other: &TestName) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Eq for TestName

Source\u00a7

impl StructuralPartialEq for TestName

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T> ToString for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T> ToString for T
where\n T: Display + ?Sized,

Source\u00a7

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html", "source2": "./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html", "unified_diff": "@@ -1,21 +1,21 @@\n TestResult in test::test - Rust
test::test

Enum TestResult

Source
pub enum TestResult {\n     TrOk,\n     TrFailed,\n     TrFailedMsg(String),\n     TrIgnored,\n     TrBench(BenchSamples),\n     TrTimedFail,\n-}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

TrOk

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrFailed

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrFailedMsg(String)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrIgnored

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrBench(BenchSamples)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrTimedFail

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestResult

Source\u00a7

fn clone(&self) -> TestResult

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestResult

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for TestResult

Source\u00a7

fn eq(&self, other: &TestResult) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Variants\u00a7

\u00a7

TrOk

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrFailed

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrFailedMsg(String)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrIgnored

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrBench(BenchSamples)

\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7

TrTimedFail

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestResult

Source\u00a7

fn clone(&self) -> TestResult

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestResult

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for TestResult

Source\u00a7

fn eq(&self, other: &TestResult) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl StructuralPartialEq for TestResult

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/enum.TestType.html", "source2": "./usr/share/doc/rust-doc/html/test/test/enum.TestType.html", "unified_diff": "@@ -6,23 +6,23 @@\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Type of the test according to the Rust book\n conventions.

\n

Variants\u00a7

\u00a7

UnitTest

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Unit-tests are expected to be in the src folder of the crate.

\n
\u00a7

IntegrationTest

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Integration-style tests are expected to be in the tests folder of the crate.

\n
\u00a7

DocTest

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Doctests are created by the librustdoc manually, so it\u2019s a different type of test.

\n
\u00a7

Unknown

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Tests for the sources that don\u2019t follow the project layout convention\n (e.g. tests in raw main.rs compiled by calling rustc --test directly).

\n-

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestType

Source\u00a7

fn clone(&self) -> TestType

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestType

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestType

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestType

Source\u00a7

fn clone(&self) -> TestType

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestType

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestType

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestType

Source\u00a7

fn eq(&self, other: &TestType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestType

Source\u00a7

fn eq(&self, other: &TestType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for TestType

Source\u00a7

impl Eq for TestType

Source\u00a7

impl StructuralPartialEq for TestType

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.Metric.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.Metric.html", "unified_diff": "@@ -1,14 +1,14 @@\n-Metric in test::test - Rust
test::test

Struct Metric

Source
pub struct Metric { /* private fields */ }
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Metric

Source

pub fn new(value: f64, noise: f64) -> Metric

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for Metric

Source\u00a7

fn clone(&self) -> Metric

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for Metric

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for Metric

Source\u00a7

fn eq(&self, other: &Metric) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+Metric in test::test - Rust
test::test

Struct Metric

Source
pub struct Metric { /* private fields */ }
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Metric

Source

pub fn new(value: f64, noise: f64) -> Metric

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for Metric

Source\u00a7

fn clone(&self) -> Metric

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for Metric

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for Metric

Source\u00a7

fn eq(&self, other: &Metric) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for Metric

Source\u00a7

impl StructuralPartialEq for Metric

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html", "unified_diff": "@@ -1,25 +1,25 @@\n-MetricMap in test::test - Rust
test::test

Struct MetricMap

Source
pub struct MetricMap(/* private fields */);
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl MetricMap

Source

pub fn new() -> MetricMap

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn insert_metric(&mut self, name: &str, value: f64, noise: f64)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Insert a named value (+/- noise) metric into the map. The value\n+MetricMap in test::test - Rust

test::test

Struct MetricMap

Source
pub struct MetricMap(/* private fields */);
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl MetricMap

Source

pub fn new() -> MetricMap

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn insert_metric(&mut self, name: &str, value: f64, noise: f64)

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Insert a named value (+/- noise) metric into the map. The value\n must be non-negative. The noise indicates the uncertainty of the\n metric, which doubles as the \u201cnoise range\u201d of acceptable\n pairwise-regressions on this named value, when comparing from one\n metric to the next using compare_to_old.

\n

If noise is positive, then it means this metric is of a value\n you want to see grow smaller, so a change larger than noise in the\n positive direction represents a regression.

\n

If noise is negative, then it means this metric is of a value\n you want to see grow larger, so a change larger than noise in the\n negative direction represents a regression.

\n-
Source

pub fn fmt_metrics(&self) -> String

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for MetricMap

Source\u00a7

fn clone(&self) -> MetricMap

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl PartialEq for MetricMap

Source\u00a7

fn eq(&self, other: &MetricMap) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+
Source

pub fn fmt_metrics(&self) -> String

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for MetricMap

Source\u00a7

fn clone(&self) -> MetricMap

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl PartialEq for MetricMap

Source\u00a7

fn eq(&self, other: &MetricMap) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl StructuralPartialEq for MetricMap

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.Options.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.Options.html", "unified_diff": "@@ -1,18 +1,18 @@\n Options in test::test - Rust
test::test

Struct Options

Source
pub struct Options {\n-    pub display_output: bool,\n-    pub panic_abort: bool,\n+    pub display_output: bool,\n+    pub panic_abort: bool,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Options for the test run defined by the caller (instead of CLI arguments).\n In case we want to add other options as well, just add them in this struct.

\n-

Fields\u00a7

\u00a7display_output: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7panic_abort: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Options

Source

pub fn new() -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn display_output(self, display_output: bool) -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn panic_abort(self, panic_abort: bool) -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for Options

Source\u00a7

fn clone(&self) -> Options

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for Options

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Copy for Options

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n+

Fields\u00a7

\u00a7display_output: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7panic_abort: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl Options

Source

pub fn new() -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn display_output(self, display_output: bool) -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn panic_abort(self, panic_abort: bool) -> Options

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for Options

Source\u00a7

fn clone(&self) -> Options

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for Options

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Copy for Options

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html", "unified_diff": "@@ -1,28 +1,28 @@\n TestDesc in test::test - Rust
test::test

Struct TestDesc

Source
pub struct TestDesc {\n     pub name: TestName,\n-    pub ignore: bool,\n-    pub ignore_message: Option<&'static str>,\n-    pub source_file: &'static str,\n-    pub start_line: usize,\n-    pub start_col: usize,\n-    pub end_line: usize,\n-    pub end_col: usize,\n+    pub ignore: bool,\n+    pub ignore_message: Option<&'static str>,\n+    pub source_file: &'static str,\n+    pub start_line: usize,\n+    pub start_col: usize,\n+    pub end_line: usize,\n+    pub end_col: usize,\n     pub should_panic: ShouldPanic,\n-    pub compile_fail: bool,\n-    pub no_run: bool,\n+    pub compile_fail: bool,\n+    pub no_run: bool,\n     pub test_type: TestType,\n-}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7name: TestName
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7ignore: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7ignore_message: Option<&'static str>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7source_file: &'static str
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7start_line: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7start_col: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7end_line: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7end_col: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7should_panic: ShouldPanic
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7compile_fail: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7no_run: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7test_type: TestType
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestDesc

Source

pub fn padded_name(&self, column_count: usize, align: NamePadding) -> String

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn test_mode(&self) -> Option<&'static str>

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Returns None for ignored test or tests that are just run, otherwise returns a description of the type of test.\n+}

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7name: TestName
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7ignore: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7ignore_message: Option<&'static str>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7source_file: &'static str
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7start_line: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7start_col: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7end_line: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7end_col: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7should_panic: ShouldPanic
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7compile_fail: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7no_run: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7test_type: TestType
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestDesc

Source

pub fn padded_name(&self, column_count: usize, align: NamePadding) -> String

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn test_mode(&self) -> Option<&'static str>

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Returns None for ignored test or tests that are just run, otherwise returns a description of the type of test.\n Descriptions include \u201cshould panic\u201d, \u201ccompile fail\u201d and \u201ccompile\u201d.

\n

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestDesc

Source\u00a7

fn clone(&self) -> TestDesc

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestDesc

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html", "unified_diff": "@@ -1,22 +1,22 @@\n TestDescAndFn in test::test - Rust
test::test

Struct TestDescAndFn

Source
pub struct TestDescAndFn {\n     pub desc: TestDesc,\n     pub testfn: TestFn,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7desc: TestDesc
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7testfn: TestFn
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestDescAndFn

Source

pub const fn new_doctest(\n- test_name: &'static str,\n- ignore: bool,\n- source_file: &'static str,\n- start_line: usize,\n- no_run: bool,\n- should_panic: bool,\n+ test_name: &'static str,\n+ ignore: bool,\n+ source_file: &'static str,\n+ start_line: usize,\n+ no_run: bool,\n+ should_panic: bool,\n testfn: TestFn,\n ) -> Self

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Debug for TestDescAndFn

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html", "unified_diff": "@@ -1,16 +1,16 @@\n TestExecTime in test::test - Rust
test::test

Struct TestExecTime

Source
pub struct TestExecTime(pub Duration);
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

The measured execution time of a unit test.

\n-

Tuple Fields\u00a7

\u00a70: Duration
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestExecTime

Source\u00a7

fn clone(&self) -> TestExecTime

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestExecTime

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Display for TestExecTime

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for TestExecTime

Source\u00a7

fn eq(&self, other: &TestExecTime) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+

Tuple Fields\u00a7

\u00a70: Duration
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestExecTime

Source\u00a7

fn clone(&self) -> TestExecTime

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestExecTime

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Display for TestExecTime

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl PartialEq for TestExecTime

Source\u00a7

fn eq(&self, other: &TestExecTime) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl StructuralPartialEq for TestExecTime

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T> ToString for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T> ToString for T
where\n T: Display + ?Sized,

Source\u00a7

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.TestId.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.TestId.html", "unified_diff": "@@ -1,16 +1,16 @@\n-TestId in test::test - Rust
test::test

Struct TestId

Source
pub struct TestId(pub usize);
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Tuple Fields\u00a7

\u00a70: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestId

Source\u00a7

fn clone(&self) -> TestId

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestId

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestId

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n+TestId in test::test - Rust
test::test

Struct TestId

Source
pub struct TestId(pub usize);
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Tuple Fields\u00a7

\u00a70: usize
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestId

Source\u00a7

fn clone(&self) -> TestId

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestId

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Hash for TestId

Source\u00a7

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 \u00b7 Source\u00a7

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n- Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestId

Source\u00a7

fn eq(&self, other: &TestId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+ Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source\u00a7

impl PartialEq for TestId

Source\u00a7

fn eq(&self, other: &TestId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for TestId

Source\u00a7

impl Eq for TestId

Source\u00a7

impl StructuralPartialEq for TestId

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html", "unified_diff": "@@ -1,34 +1,34 @@\n TestOpts in test::test - Rust
test::test

Struct TestOpts

Source
pub struct TestOpts {
Show 19 fields\n- pub list: bool,\n+ pub list: bool,\n pub filters: Vec<String>,\n- pub filter_exact: bool,\n- pub force_run_in_process: bool,\n- pub exclude_should_panic: bool,\n+ pub filter_exact: bool,\n+ pub force_run_in_process: bool,\n+ pub exclude_should_panic: bool,\n pub run_ignored: RunIgnored,\n- pub run_tests: bool,\n- pub bench_benchmarks: bool,\n- pub logfile: Option<PathBuf>,\n- pub nocapture: bool,\n+ pub run_tests: bool,\n+ pub bench_benchmarks: bool,\n+ pub logfile: Option<PathBuf>,\n+ pub nocapture: bool,\n pub color: ColorConfig,\n pub format: OutputFormat,\n- pub shuffle: bool,\n- pub shuffle_seed: Option<u64>,\n- pub test_threads: Option<usize>,\n+ pub shuffle: bool,\n+ pub shuffle_seed: Option<u64>,\n+ pub test_threads: Option<usize>,\n pub skip: Vec<String>,\n pub time_options: Option<TestTimeOptions>,\n- pub fail_fast: bool,\n+ pub fail_fast: bool,\n pub options: Options,\n-
}
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7list: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7filters: Vec<String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7filter_exact: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7force_run_in_process: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7exclude_should_panic: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7run_ignored: RunIgnored
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7run_tests: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7bench_benchmarks: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7logfile: Option<PathBuf>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7nocapture: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7color: ColorConfig
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7format: OutputFormat
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7shuffle: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7shuffle_seed: Option<u64>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7test_threads: Option<usize>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7skip: Vec<String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7time_options: Option<TestTimeOptions>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7fail_fast: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Stop at first failing test.\n+}

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Fields\u00a7

\u00a7list: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7filters: Vec<String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7filter_exact: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7force_run_in_process: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7exclude_should_panic: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7run_ignored: RunIgnored
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7run_tests: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7bench_benchmarks: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7logfile: Option<PathBuf>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7nocapture: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7color: ColorConfig
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7format: OutputFormat
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7shuffle: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7shuffle_seed: Option<u64>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7test_threads: Option<usize>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7skip: Vec<String>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7time_options: Option<TestTimeOptions>
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7fail_fast: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Stop at first failing test.\n May run a few more tests due to threading, but will\n abort as soon as possible.

\n-
\u00a7options: Options
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestOpts

Source

pub fn use_color(&self) -> bool

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Debug for TestOpts

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n+
\u00a7options: Options
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestOpts

Source

pub fn use_color(&self) -> bool

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Debug for TestOpts

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}, {"source1": "./usr/share/doc/rust-doc/html/test/test/struct.TestTimeOptions.html", "source2": "./usr/share/doc/rust-doc/html/test/test/struct.TestTimeOptions.html", "unified_diff": "@@ -1,22 +1,22 @@\n TestTimeOptions in test::test - Rust
test::test

Struct TestTimeOptions

Source
pub struct TestTimeOptions {\n-    pub error_on_excess: bool,\n+    pub error_on_excess: bool,\n     pub unit_threshold: TimeThreshold,\n     pub integration_threshold: TimeThreshold,\n     pub doctest_threshold: TimeThreshold,\n }
\ud83d\udd2cThis is a nightly-only experimental API. (test)
Expand description

Structure with parameters for calculating test execution time.

\n-

Fields\u00a7

\u00a7error_on_excess: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Denotes if the test critical execution time limit excess should be considered\n+

Fields\u00a7

\u00a7error_on_excess: bool
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Denotes if the test critical execution time limit excess should be considered\n a test failure.

\n-
\u00a7unit_threshold: TimeThreshold
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7integration_threshold: TimeThreshold
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7doctest_threshold: TimeThreshold
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestTimeOptions

Source

pub fn new_from_env(error_on_excess: bool) -> Self

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn is_warn(&self, test: &TestDesc, exec_time: &TestExecTime) -> bool

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn is_critical(&self, test: &TestDesc, exec_time: &TestExecTime) -> bool

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestTimeOptions

Source\u00a7

fn clone(&self) -> TestTimeOptions

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestTimeOptions

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Default for TestTimeOptions

Source\u00a7

fn default() -> TestTimeOptions

Returns the \u201cdefault value\u201d for a type. Read more
Source\u00a7

impl PartialEq for TestTimeOptions

Source\u00a7

fn eq(&self, other: &TestTimeOptions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n+
\u00a7unit_threshold: TimeThreshold
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7integration_threshold: TimeThreshold
\ud83d\udd2cThis is a nightly-only experimental API. (test)
\u00a7doctest_threshold: TimeThreshold
\ud83d\udd2cThis is a nightly-only experimental API. (test)

Implementations\u00a7

Source\u00a7

impl TestTimeOptions

Source

pub fn new_from_env(error_on_excess: bool) -> Self

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn is_warn(&self, test: &TestDesc, exec_time: &TestExecTime) -> bool

\ud83d\udd2cThis is a nightly-only experimental API. (test)
Source

pub fn is_critical(&self, test: &TestDesc, exec_time: &TestExecTime) -> bool

\ud83d\udd2cThis is a nightly-only experimental API. (test)

Trait Implementations\u00a7

Source\u00a7

impl Clone for TestTimeOptions

Source\u00a7

fn clone(&self) -> TestTimeOptions

Returns a copy of the value. Read more
1.0.0 \u00b7 Source\u00a7

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source\u00a7

impl Debug for TestTimeOptions

Source\u00a7

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source\u00a7

impl Default for TestTimeOptions

Source\u00a7

fn default() -> TestTimeOptions

Returns the \u201cdefault value\u201d for a type. Read more
Source\u00a7

impl PartialEq for TestTimeOptions

Source\u00a7

fn eq(&self, other: &TestTimeOptions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 \u00b7 Source\u00a7

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\n and should not be overridden without very good reason.
Source\u00a7

impl Copy for TestTimeOptions

Source\u00a7

impl Eq for TestTimeOptions

Source\u00a7

impl StructuralPartialEq for TestTimeOptions

Auto Trait Implementations\u00a7

Blanket Implementations\u00a7

Source\u00a7

impl<T> Any for T
where\n T: 'static + ?Sized,

Source\u00a7

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source\u00a7

impl<T> Borrow<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n- T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n- T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n+ T: ?Sized,
Source\u00a7

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source\u00a7

impl<T> BorrowMut<T> for T
where\n+ T: ?Sized,

Source\u00a7

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source\u00a7

impl<T> CloneToUninit for T
where\n+ T: Clone,

Source\u00a7

unsafe fn clone_to_uninit(&self, dst: *mut u8)

\ud83d\udd2cThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source\u00a7

impl<T> From<T> for T

Source\u00a7

fn from(t: T) -> T

Returns the argument unchanged.

\n
Source\u00a7

impl<T, U> Into<U> for T
where\n U: From<T>,

Source\u00a7

fn into(self) -> U

Calls U::from(self).

\n

That is, this conversion is whatever the implementation of\n From<T> for U chooses to do.

\n
Source\u00a7

impl<T> ToOwned for T
where\n- T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n+ T: Clone,

Source\u00a7

type Owned = T

The resulting type after obtaining ownership.
Source\u00a7

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source\u00a7

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source\u00a7

impl<T, U> TryFrom<U> for T
where\n U: Into<T>,

Source\u00a7

type Error = Infallible

The type returned in the event of a conversion error.
Source\u00a7

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source\u00a7

impl<T, U> TryInto<U> for T
where\n U: TryFrom<T>,

Source\u00a7

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source\u00a7

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\n"}]}]}]}]}