--- /srv/rebuilderd/tmp/rebuilderduRAZLy/inputs/rust-doc_1.85.0+dfsg3-1_all.deb +++ /srv/rebuilderd/tmp/rebuilderduRAZLy/out/rust-doc_1.85.0+dfsg3-1_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2025-04-24 15:47:57.000000 debian-binary │ --rw-r--r-- 0 0 0 948584 2025-04-24 15:47:57.000000 control.tar.xz │ --rw-r--r-- 0 0 0 21945340 2025-04-24 15:47:57.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 949304 2025-04-24 15:47:57.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 21930756 2025-04-24 15:47:57.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./control │ │ │ @@ -1,13 +1,13 @@ │ │ │ Package: rust-doc │ │ │ Source: rustc │ │ │ Version: 1.85.0+dfsg3-1 │ │ │ Architecture: all │ │ │ Maintainer: Debian Rust Maintainers │ │ │ -Installed-Size: 522387 │ │ │ +Installed-Size: 522372 │ │ │ Depends: libjs-jquery, libjs-highlight.js, libjs-mathjax, fonts-open-sans, fonts-font-awesome │ │ │ Recommends: cargo-doc │ │ │ Section: doc │ │ │ Priority: optional │ │ │ Homepage: http://www.rust-lang.org/ │ │ │ Description: Rust systems programming language - Documentation │ │ │ Rust is a curly-brace, block-structured expression language. It │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -995,17 +995,17 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 18547 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/clippy/searcher.js │ │ │ -rw-r--r-- 0 root (0) root (0) 1212790 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/clippy/searchindex.js │ │ │ -rw-r--r-- 0 root (0) root (0) 154684 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/clippy/searchindex.json.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 6827 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/clippy/toc.html │ │ │ -rw-r--r-- 0 root (0) root (0) 8060 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/clippy/toc.js │ │ │ -rw-r--r-- 0 root (0) root (0) 1694 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/clippy/tomorrow-night.css │ │ │ -rw-r--r-- 0 root (0) root (0) 16629 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/clippy/usage.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1514 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/complement-design-faq.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1518 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/complement-lang-faq.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1516 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/complement-project-faq.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1450 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/complement-design-faq.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1454 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/complement-lang-faq.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1452 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/complement-project-faq.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/core/ │ │ │ -rw-r--r-- 0 root (0) root (0) 2151945 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/core/all.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/core/alloc/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/core/alloc/global/ │ │ │ -rw-r--r-- 0 root (0) root (0) 440 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/core/alloc/global/trait.GlobalAlloc.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5953 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/core/alloc/index.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/core/alloc/layout/ │ │ │ @@ -39740,30 +39740,30 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 433 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/error_codes/redirect.js │ │ │ -rw-r--r-- 0 root (0) root (0) 18547 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/error_codes/searcher.js │ │ │ -rw-r--r-- 0 root (0) root (0) 1992667 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/error_codes/searchindex.js │ │ │ -rw-r--r-- 0 root (0) root (0) 273182 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/error_codes/searchindex.json.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 49346 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/error_codes/toc.html │ │ │ -rw-r--r-- 0 root (0) root (0) 42347 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/error_codes/toc.js │ │ │ -rw-r--r-- 0 root (0) root (0) 1694 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/error_codes/tomorrow-night.css │ │ │ --rw-r--r-- 0 root (0) root (0) 1651 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/grammar.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1581 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-crates.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1551 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-error-handling.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1582 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-ffi.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1545 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-macros.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1576 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-ownership.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1508 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-plugins.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1729 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-pointers.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1554 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-strings.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1588 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-tasks.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1556 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-testing.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1583 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-unsafe.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1531 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1587 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/grammar.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1517 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-crates.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1487 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-error-handling.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1518 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-ffi.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1481 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-macros.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1512 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-ownership.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1444 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-plugins.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1665 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-pointers.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1490 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-strings.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1524 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-tasks.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1492 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-testing.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1519 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide-unsafe.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1467 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/guide.html │ │ │ -rw-r--r-- 0 root (0) root (0) 2867 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/help.html │ │ │ -rw-r--r-- 0 root (0) root (0) 10742 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/index.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1569 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/intro.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1505 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/intro.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/ │ │ │ -rw-r--r-- 0 root (0) root (0) 72 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/.nojekyll │ │ │ -rw-r--r-- 0 root (0) root (0) 15948 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/aliasing.html │ │ │ -rw-r--r-- 0 root (0) root (0) 393 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/arc-and-mutex.html │ │ │ -rw-r--r-- 0 root (0) root (0) 373 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/arc-base.html │ │ │ -rw-r--r-- 0 root (0) root (0) 377 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/arc-clone.html │ │ │ -rw-r--r-- 0 root (0) root (0) 373 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/arc-drop.html │ │ │ @@ -39863,15 +39863,15 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 357 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/vec-layout.html │ │ │ -rw-r--r-- 0 root (0) root (0) 365 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/vec-push-pop.html │ │ │ -rw-r--r-- 0 root (0) root (0) 345 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/vec-raw.html │ │ │ -rw-r--r-- 0 root (0) root (0) 349 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/vec-zsts.html │ │ │ -rw-r--r-- 0 root (0) root (0) 329 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/vec.html │ │ │ -rw-r--r-- 0 root (0) root (0) 14848 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/what-unsafe-does.html │ │ │ -rw-r--r-- 0 root (0) root (0) 14509 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/nomicon/working-with-unsafe.html │ │ │ --rw-r--r-- 0 root (0) root (0) 4303 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/not_found.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4239 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/not_found.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/proc_macro/ │ │ │ -rw-r--r-- 0 root (0) root (0) 4475 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/proc_macro/all.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/proc_macro/diagnostic/ │ │ │ -rw-r--r-- 0 root (0) root (0) 400 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/proc_macro/diagnostic/enum.Level.html │ │ │ -rw-r--r-- 0 root (0) root (0) 428 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/proc_macro/diagnostic/struct.Diagnostic.html │ │ │ -rw-r--r-- 0 root (0) root (0) 420 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/proc_macro/diagnostic/trait.MultiSpan.html │ │ │ -rw-r--r-- 0 root (0) root (0) 31966 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/proc_macro/enum.Delimiter.html │ │ │ @@ -40056,15 +40056,15 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 349 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference/unsafe-blocks.html │ │ │ -rw-r--r-- 0 root (0) root (0) 349 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference/unsafe-functions.html │ │ │ -rw-r--r-- 0 root (0) root (0) 18402 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference/unsafe-keyword.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12277 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference/unsafety.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12514 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference/variables.html │ │ │ -rw-r--r-- 0 root (0) root (0) 22814 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference/visibility-and-privacy.html │ │ │ -rw-r--r-- 0 root (0) root (0) 11403 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference/whitespace.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1610 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1546 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/reference.html │ │ │ -rw-r--r-- 0 root (0) root (0) 982282 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/releases.html │ │ │ -rw-r--r-- 0 root (0) root (0) 200507 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/releases.md.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 334 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/robots.txt │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/ │ │ │ -rw-r--r-- 0 root (0) root (0) 72 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/.nojekyll │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/attribute/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/attribute/cfg/ │ │ │ @@ -40857,15 +40857,15 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 12235 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/zh/variable_bindings/declare.html │ │ │ -rw-r--r-- 0 root (0) root (0) 11818 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/zh/variable_bindings/freeze.html │ │ │ -rw-r--r-- 0 root (0) root (0) 11704 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/zh/variable_bindings/mut.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12699 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/zh/variable_bindings/scope.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12091 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust-by-example/zh/variable_bindings.html │ │ │ -rw-r--r-- 0 root (0) root (0) 691 2025-03-17 18:06:58.000000 ./usr/share/doc/rust-doc/html/rust-logo-32x32-blk.png │ │ │ -rw-r--r-- 0 root (0) root (0) 5636 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust.css │ │ │ --rw-r--r-- 0 root (0) root (0) 1536 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1472 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rust.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustc/ │ │ │ -rw-r--r-- 0 root (0) root (0) 72 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustc/.nojekyll │ │ │ -rw-r--r-- 0 root (0) root (0) 929 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustc/ayu-highlight.css │ │ │ -rw-r--r-- 0 root (0) root (0) 25254 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustc/book.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustc/check-cfg/ │ │ │ -rw-r--r-- 0 root (0) root (0) 13278 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustc/check-cfg/cargo-specifics.html │ │ │ -rw-r--r-- 0 root (0) root (0) 22373 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustc/check-cfg.html │ │ │ @@ -41051,15 +41051,15 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 433 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc/what-to-include.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc/write-documentation/ │ │ │ -rw-r--r-- 0 root (0) root (0) 33606 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc/write-documentation/documentation-tests.html │ │ │ -rw-r--r-- 0 root (0) root (0) 17617 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc/write-documentation/linking-to-items-by-name.html │ │ │ -rw-r--r-- 0 root (0) root (0) 16315 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc/write-documentation/re-exports.html │ │ │ -rw-r--r-- 0 root (0) root (0) 22627 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc/write-documentation/the-doc-attribute.html │ │ │ -rw-r--r-- 0 root (0) root (0) 14596 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc/write-documentation/what-to-include.html │ │ │ --rw-r--r-- 0 root (0) root (0) 1505 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1441 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/rustdoc.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3434074 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/search-index1.85.0.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/search.desc/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/search.desc/alloc/ │ │ │ -rw-r--r-- 0 root (0) root (0) 87100 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/search.desc/alloc/alloc-desc-0-1.85.0.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/search.desc/core/ │ │ │ -rw-r--r-- 0 root (0) root (0) 133238 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/search.desc/core/core-desc-0-1.85.0.js │ │ │ -rw-r--r-- 0 root (0) root (0) 134045 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/search.desc/core/core-desc-1-1.85.0.js │ │ │ @@ -44737,42 +44737,42 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 2829 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/style-guide/toc.html │ │ │ -rw-r--r-- 0 root (0) root (0) 4453 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/style-guide/toc.js │ │ │ -rw-r--r-- 0 root (0) root (0) 1694 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/style-guide/tomorrow-night.css │ │ │ -rw-r--r-- 0 root (0) root (0) 12533 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/style-guide/types.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/ │ │ │ -rw-r--r-- 0 root (0) root (0) 6052 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/all.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/ │ │ │ --rw-r--r-- 0 root (0) root (0) 4458 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4377 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3875 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.black_box.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3637 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.fmt_bench_samples.html │ │ │ --rw-r--r-- 0 root (0) root (0) 3749 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.iter.html │ │ │ --rw-r--r-- 0 root (0) root (0) 4280 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 3722 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.iter.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4226 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5512 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 130 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/sidebar-items1.85.0.js │ │ │ --rw-r--r-- 0 root (0) root (0) 29614 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html │ │ │ --rw-r--r-- 0 root (0) root (0) 27803 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 29344 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 27587 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/cli/ │ │ │ -rw-r--r-- 0 root (0) root (0) 408 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/cli/fn.parse_opts.html │ │ │ -rw-r--r-- 0 root (0) root (0) 396 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/cli/struct.TestOpts.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/console/ │ │ │ -rw-r--r-- 0 root (0) root (0) 416 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/console/fn.run_tests_console.html │ │ │ --rw-r--r-- 0 root (0) root (0) 28187 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html │ │ │ --rw-r--r-- 0 root (0) root (0) 32064 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.NamePadding.html │ │ │ --rw-r--r-- 0 root (0) root (0) 31936 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html │ │ │ --rw-r--r-- 0 root (0) root (0) 29986 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html │ │ │ --rw-r--r-- 0 root (0) root (0) 32811 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html │ │ │ --rw-r--r-- 0 root (0) root (0) 29802 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.TestFn.html │ │ │ --rw-r--r-- 0 root (0) root (0) 38017 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.TestName.html │ │ │ --rw-r--r-- 0 root (0) root (0) 33439 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.TestType.html │ │ │ --rw-r--r-- 0 root (0) root (0) 4157 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 28037 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 31764 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.NamePadding.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 31696 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 29746 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 32451 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 29202 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.TestFn.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 37567 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.TestName.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 33139 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/enum.TestType.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4097 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3723 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.convert_benchmarks_to_tests.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3768 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.filter_tests.html │ │ │ --rw-r--r-- 0 root (0) root (0) 4301 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.run_test.html │ │ │ --rw-r--r-- 0 root (0) root (0) 4225 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.run_tests.html │ │ │ --rw-r--r-- 0 root (0) root (0) 4088 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4181 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.run_test.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4105 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.run_tests.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4028 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3773 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.test_main.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3806 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.test_main_static.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3910 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/fn.test_main_static_abort.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/helpers/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/helpers/metrics/ │ │ │ -rw-r--r-- 0 root (0) root (0) 420 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/helpers/metrics/struct.Metric.html │ │ │ -rw-r--r-- 0 root (0) root (0) 432 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/helpers/metrics/struct.MetricMap.html │ │ │ @@ -44782,43 +44782,43 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 404 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/options/enum.OutputFormat.html │ │ │ -rw-r--r-- 0 root (0) root (0) 396 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/options/enum.RunIgnored.html │ │ │ -rw-r--r-- 0 root (0) root (0) 420 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/options/enum.RunStrategy.html │ │ │ -rw-r--r-- 0 root (0) root (0) 400 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/options/enum.ShouldPanic.html │ │ │ -rw-r--r-- 0 root (0) root (0) 392 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/options/struct.Options.html │ │ │ -rw-r--r-- 0 root (0) root (0) 406 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/sidebar-items1.85.0.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/ │ │ │ --rw-r--r-- 0 root (0) root (0) 4511 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 4457 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5151 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 83 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/sidebar-items1.85.0.js │ │ │ --rw-r--r-- 0 root (0) root (0) 37604 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html │ │ │ --rw-r--r-- 0 root (0) root (0) 29009 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html │ │ │ --rw-r--r-- 0 root (0) root (0) 29494 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.Options.html │ │ │ --rw-r--r-- 0 root (0) root (0) 34853 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.TestDesc.html │ │ │ --rw-r--r-- 0 root (0) root (0) 22352 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html │ │ │ --rw-r--r-- 0 root (0) root (0) 31455 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.TestId.html │ │ │ --rw-r--r-- 0 root (0) root (0) 33584 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.TestOpts.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 36605 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 27686 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 29164 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.Options.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 34103 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.TestDesc.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 22112 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 31095 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.TestId.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 32774 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/struct.TestOpts.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/ │ │ │ --rw-r--r-- 0 root (0) root (0) 30415 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html │ │ │ --rw-r--r-- 0 root (0) root (0) 25770 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html │ │ │ --rw-r--r-- 0 root (0) root (0) 33282 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html │ │ │ --rw-r--r-- 0 root (0) root (0) 38569 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestName.html │ │ │ --rw-r--r-- 0 root (0) root (0) 31059 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html │ │ │ --rw-r--r-- 0 root (0) root (0) 33910 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestType.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 30199 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 25635 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 32958 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 38164 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestName.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 30843 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 33640 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/enum.TestType.html │ │ │ -rw-r--r-- 0 root (0) root (0) 4558 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/fn.parse_opts.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12670 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 252 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/sidebar-items1.85.0.js │ │ │ --rw-r--r-- 0 root (0) root (0) 29749 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.Metric.html │ │ │ --rw-r--r-- 0 root (0) root (0) 30233 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html │ │ │ --rw-r--r-- 0 root (0) root (0) 29905 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.Options.html │ │ │ --rw-r--r-- 0 root (0) root (0) 35276 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html │ │ │ --rw-r--r-- 0 root (0) root (0) 22673 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html │ │ │ --rw-r--r-- 0 root (0) root (0) 31963 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html │ │ │ --rw-r--r-- 0 root (0) root (0) 31926 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestId.html │ │ │ --rw-r--r-- 0 root (0) root (0) 33952 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html │ │ │ --rw-r--r-- 0 root (0) root (0) 36305 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestTimeOptions.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 29479 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.Metric.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 29936 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 29608 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.Options.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 34601 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 22457 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 31747 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 31602 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestId.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 33223 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 35954 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test/struct.TestTimeOptions.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test_result/ │ │ │ -rw-r--r-- 0 root (0) root (0) 416 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/test_result/enum.TestResult.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/time/ │ │ │ -rw-r--r-- 0 root (0) root (0) 432 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/time/struct.TestExecTime.html │ │ │ -rw-r--r-- 0 root (0) root (0) 444 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/time/struct.TestTimeOptions.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/types/ │ │ │ -rw-r--r-- 0 root (0) root (0) 400 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/test/types/enum.NamePadding.html │ │ │ @@ -45142,15 +45142,15 @@ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/trait.impl/std/process/ │ │ │ -rw-r--r-- 0 root (0) root (0) 277 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/trait.impl/std/process/trait.Termination.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/trait.impl/std/std_float/ │ │ │ -rw-r--r-- 0 root (0) root (0) 277 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/trait.impl/std/std_float/trait.StdFloat.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/trait.impl/test/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/trait.impl/test/stats/ │ │ │ -rw-r--r-- 0 root (0) root (0) 278 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/trait.impl/test/stats/trait.Stats.js │ │ │ --rw-r--r-- 0 root (0) root (0) 1597 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/tutorial.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 1533 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/tutorial.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/type.impl/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/type.impl/alloc/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/type.impl/alloc/alloc/ │ │ │ -rw-r--r-- 0 root (0) root (0) 13608 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/type.impl/alloc/alloc/struct.LayoutError.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/type.impl/core/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/type.impl/core/alloc/ │ │ │ -rw-r--r-- 0 root (0) root (0) 13293 2025-04-24 15:47:57.000000 ./usr/share/doc/rust-doc/html/type.impl/core/alloc/struct.LayoutError.js │ │ ├── ./usr/share/doc/rust-doc/html/complement-design-faq.html │ │ │ @@ -2,15 +2,15 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ The Rust Design FAQ │ │ │ │ │ │ - │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
test::bench

Function benchmark

Source
pub fn benchmark<F>(
│ │ │      id: TestId,
│ │ │      desc: TestDesc,
│ │ │ -    monitor_ch: Sender<CompletedTest>,
│ │ │ -    nocapture: bool,
│ │ │ +    monitor_ch: Sender<CompletedTest>,
│ │ │ +    nocapture: bool,
│ │ │      f: F,
│ │ │  )
where │ │ │ - F: FnMut(&mut Bencher) -> Result<(), String>,
🔬This is a nightly-only experimental API. (test)
│ │ │ + F: FnMut(&mut Bencher) -> Result<(), String>,
🔬This is a nightly-only experimental API. (test)
│ │ ├── ./usr/share/doc/rust-doc/html/test/bench/fn.iter.html │ │ │ @@ -1,2 +1,2 @@ │ │ │ -iter in test::bench - Rust
test::bench

Function iter

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

Function iter

Source
pub fn iter<T, F>(inner: &mut F) -> Summary
where │ │ │ F: FnMut() -> T,
🔬This is a nightly-only experimental API. (test)
│ │ ├── ./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html │ │ │ @@ -1,2 +1,2 @@ │ │ │ -run_once in test::bench - Rust
test::bench

Function run_once

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

Function run_once

Source
pub fn run_once<F>(f: F) -> Result<(), String>
where │ │ │ + F: FnMut(&mut Bencher) -> Result<(), String>,
🔬This is a nightly-only experimental API. (test)
│ │ ├── ./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html │ │ │ @@ -1,17 +1,17 @@ │ │ │ BenchSamples in test::bench - Rust
test::bench

Struct BenchSamples

Source
pub struct BenchSamples {
│ │ │      pub ns_iter_summ: Summary,
│ │ │ -    pub mb_s: usize,
│ │ │ -}
🔬This is a nightly-only experimental API. (test)

Fields§

§ns_iter_summ: Summary
🔬This is a nightly-only experimental API. (test)
§mb_s: usize
🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for BenchSamples

Source§

fn clone(&self) -> BenchSamples

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for BenchSamples

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for BenchSamples

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

Fields§

§ns_iter_summ: Summary
🔬This is a nightly-only experimental API. (test)
§mb_s: usize
🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for BenchSamples

Source§

fn clone(&self) -> BenchSamples

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for BenchSamples

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for BenchSamples

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl StructuralPartialEq for BenchSamples

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html │ │ │ @@ -1,23 +1,23 @@ │ │ │ Bencher in test::bench - Rust
test::bench

Struct Bencher

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

Manager of the benchmarking runs.

│ │ │

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

│ │ │ -

Fields§

§bytes: u64
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Bencher

Source

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

Fields§

§bytes: u64
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Bencher

Source

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

🔬This is a nightly-only experimental API. (test)

Callback for benchmark functions to run in their body.

│ │ │
Source

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for Bencher

Source§

fn clone(&self) -> Bencher

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for Bencher

Source§

fn clone(&self) -> Bencher

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html │ │ │ @@ -1,18 +1,18 @@ │ │ │ ColorConfig in test - Rust
test

Enum ColorConfig

Source
pub enum ColorConfig {
│ │ │      AutoColor,
│ │ │      AlwaysColor,
│ │ │      NeverColor,
│ │ │  }
🔬This is a nightly-only experimental API. (test)
Expand description

Whether should console output be colored or not

│ │ │

Variants§

§

AutoColor

🔬This is a nightly-only experimental API. (test)
§

AlwaysColor

🔬This is a nightly-only experimental API. (test)
§

NeverColor

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for ColorConfig

Source§

fn clone(&self) -> ColorConfig

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ColorConfig

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for ColorConfig

Source§

fn default() -> ColorConfig

Returns the “default value” for a type. Read more
Source§

impl Copy for ColorConfig

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/enum.NamePadding.html │ │ │ @@ -1,19 +1,19 @@ │ │ │ NamePadding in test - Rust
test

Enum NamePadding

Source
pub enum NamePadding {
│ │ │      PadNone,
│ │ │      PadOnRight,
│ │ │ -}
🔬This is a nightly-only experimental API. (test)

Variants§

§

PadNone

🔬This is a nightly-only experimental API. (test)
§

PadOnRight

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for NamePadding

Source§

fn clone(&self) -> NamePadding

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for NamePadding

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for NamePadding

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Variants§

§

PadNone

🔬This is a nightly-only experimental API. (test)
§

PadOnRight

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for NamePadding

Source§

fn clone(&self) -> NamePadding

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for NamePadding

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for NamePadding

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq for NamePadding

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

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

impl PartialEq for NamePadding

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for NamePadding

Source§

impl Eq for NamePadding

Source§

impl StructuralPartialEq for NamePadding

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html │ │ │ @@ -4,21 +4,21 @@ │ │ │ Json, │ │ │ Junit, │ │ │ }
🔬This is a nightly-only experimental API. (test)
Expand description

Format of the test results output

│ │ │

Variants§

§

Pretty

🔬This is a nightly-only experimental API. (test)

Verbose output

│ │ │
§

Terse

🔬This is a nightly-only experimental API. (test)

Quiet output

│ │ │
§

Json

🔬This is a nightly-only experimental API. (test)

JSON output

│ │ │
§

Junit

🔬This is a nightly-only experimental API. (test)

JUnit output

│ │ │ -

Trait Implementations§

Source§

impl Clone for OutputFormat

Source§

fn clone(&self) -> OutputFormat

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for OutputFormat

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for OutputFormat

Source§

fn default() -> OutputFormat

Returns the “default value” for a type. Read more
Source§

impl PartialEq for OutputFormat

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

Trait Implementations§

Source§

impl Clone for OutputFormat

Source§

fn clone(&self) -> OutputFormat

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for OutputFormat

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for OutputFormat

Source§

fn default() -> OutputFormat

Returns the “default value” for a type. Read more
Source§

impl PartialEq for OutputFormat

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for OutputFormat

Source§

impl Eq for OutputFormat

Source§

impl StructuralPartialEq for OutputFormat

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html │ │ │ @@ -1,20 +1,20 @@ │ │ │ RunIgnored in test - Rust
test

Enum RunIgnored

Source
pub enum RunIgnored {
│ │ │      Yes,
│ │ │      No,
│ │ │      Only,
│ │ │  }
🔬This is a nightly-only experimental API. (test)
Expand description

Whether ignored test should be run or not

│ │ │

Variants§

§

Yes

🔬This is a nightly-only experimental API. (test)
§

No

🔬This is a nightly-only experimental API. (test)
§

Only

🔬This is a nightly-only experimental API. (test)

Run only ignored tests

│ │ │ -

Trait Implementations§

Source§

impl Clone for RunIgnored

Source§

fn clone(&self) -> RunIgnored

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for RunIgnored

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for RunIgnored

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

Trait Implementations§

Source§

impl Clone for RunIgnored

Source§

fn clone(&self) -> RunIgnored

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for RunIgnored

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for RunIgnored

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for RunIgnored

Source§

impl Eq for RunIgnored

Source§

impl StructuralPartialEq for RunIgnored

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html │ │ │ @@ -1,21 +1,21 @@ │ │ │ ShouldPanic in test - Rust
test

Enum ShouldPanic

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

Whether test is expected to panic or not

│ │ │ -

Variants§

§

No

🔬This is a nightly-only experimental API. (test)
§

Yes

🔬This is a nightly-only experimental API. (test)
§

YesWithMessage(&'static str)

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for ShouldPanic

Source§

fn clone(&self) -> ShouldPanic

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ShouldPanic

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for ShouldPanic

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Variants§

§

No

🔬This is a nightly-only experimental API. (test)
§

Yes

🔬This is a nightly-only experimental API. (test)
§

YesWithMessage(&'static str)

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for ShouldPanic

Source§

fn clone(&self) -> ShouldPanic

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ShouldPanic

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for ShouldPanic

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq for ShouldPanic

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl PartialEq for ShouldPanic

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for ShouldPanic

Source§

impl Eq for ShouldPanic

Source§

impl StructuralPartialEq for ShouldPanic

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/enum.TestFn.html │ │ │ @@ -1,18 +1,18 @@ │ │ │ TestFn in test - Rust
test

Enum TestFn

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

Variants§

§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestFn

Source

pub fn padding(&self) -> NamePadding

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Debug for TestFn

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for TestFn

§

impl !RefUnwindSafe for TestFn

§

impl Send for TestFn

§

impl !Sync for TestFn

§

impl Unpin for TestFn

§

impl !UnwindSafe for TestFn

Blanket Implementations§

Source§

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

Variants§

§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestFn

Source

pub fn padding(&self) -> NamePadding

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Debug for TestFn

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for TestFn

§

impl !RefUnwindSafe for TestFn

§

impl Send for TestFn

§

impl !Sync for TestFn

§

impl Unpin for TestFn

§

impl !UnwindSafe for TestFn

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/enum.TestName.html │ │ │ @@ -1,21 +1,21 @@ │ │ │ TestName in test - Rust
test

Enum TestName

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

Variants§

§

StaticTestName(&'static str)

🔬This is a nightly-only experimental API. (test)
§

DynTestName(String)

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestName

Source

pub fn as_slice(&self) -> &str

🔬This is a nightly-only experimental API. (test)
Source

pub fn padding(&self) -> NamePadding

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestName

Source§

fn clone(&self) -> TestName

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestName

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Display for TestName

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestName

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Variants§

§

StaticTestName(&'static str)

🔬This is a nightly-only experimental API. (test)
§

DynTestName(String)

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestName

Source

pub fn as_slice(&self) -> &str

🔬This is a nightly-only experimental API. (test)
Source

pub fn padding(&self) -> NamePadding

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestName

Source§

fn clone(&self) -> TestName

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestName

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Display for TestName

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestName

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq for TestName

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

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

impl PartialEq for TestName

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Eq for TestName

Source§

impl StructuralPartialEq for TestName

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T> ToString for T
where │ │ │ + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/enum.TestType.html │ │ │ @@ -6,23 +6,23 @@ │ │ │ }
🔬This is a nightly-only experimental API. (test)
Expand description

Type of the test according to the Rust book │ │ │ conventions.

│ │ │

Variants§

§

UnitTest

🔬This is a nightly-only experimental API. (test)

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

│ │ │
§

IntegrationTest

🔬This is a nightly-only experimental API. (test)

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

│ │ │
§

DocTest

🔬This is a nightly-only experimental API. (test)

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

│ │ │
§

Unknown

🔬This is a nightly-only experimental API. (test)

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

│ │ │ -

Trait Implementations§

Source§

impl Clone for TestType

Source§

fn clone(&self) -> TestType

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestType

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestType

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Trait Implementations§

Source§

impl Clone for TestType

Source§

fn clone(&self) -> TestType

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestType

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestType

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq for TestType

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl PartialEq for TestType

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for TestType

Source§

impl Eq for TestType

Source§

impl StructuralPartialEq for TestType

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html │ │ │ @@ -1,4 +1,4 @@ │ │ │ -assert_test_result in test - Rust
test

Function assert_test_result

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

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

test

Function assert_test_result

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

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

│ │ │
│ │ ├── ./usr/share/doc/rust-doc/html/test/fn.run_test.html │ │ │ @@ -1,8 +1,8 @@ │ │ │ run_test in test - Rust
test

Function run_test

Source
pub fn run_test(
│ │ │      opts: &TestOpts,
│ │ │ -    force_ignore: bool,
│ │ │ +    force_ignore: bool,
│ │ │      id: TestId,
│ │ │      test: TestDescAndFn,
│ │ │      strategy: RunStrategy,
│ │ │ -    monitor_ch: Sender<CompletedTest>,
│ │ │ -) -> Option<JoinHandle<()>>
🔬This is a nightly-only experimental API. (test)
│ │ │ + monitor_ch: Sender<CompletedTest>, │ │ │ +) -> Option<JoinHandle<()>>
🔬This is a nightly-only experimental API. (test)
│ │ ├── ./usr/share/doc/rust-doc/html/test/fn.run_tests.html │ │ │ @@ -1,6 +1,6 @@ │ │ │ run_tests in test - Rust
test

Function run_tests

Source
pub fn run_tests<F>(
│ │ │      opts: &TestOpts,
│ │ │      tests: Vec<TestDescAndFn>,
│ │ │      notify_about_test_event: F,
│ │ │ -) -> Result<()>
where │ │ │ - F: FnMut(TestEvent) -> Result<()>,
🔬This is a nightly-only experimental API. (test)
│ │ │ +) -> Result<()>
where │ │ │ + F: FnMut(TestEvent) -> Result<()>,
🔬This is a nightly-only experimental API. (test)
│ │ ├── ./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html │ │ │ @@ -1,6 +1,6 @@ │ │ │ run_tests_console in test - Rust
test

Function run_tests_console

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

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

🔬This is a nightly-only experimental API. (test)
Expand description

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

│ │ │
│ │ ├── ./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html │ │ │ @@ -1,7 +1,7 @@ │ │ │ -winsorize in test::stats - Rust
test::stats

Function winsorize

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

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

test::stats

Function winsorize

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

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

│ │ │

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

│ │ │
│ │ ├── ./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html │ │ │ @@ -1,29 +1,29 @@ │ │ │ Summary in test::stats - Rust
test::stats

Struct Summary

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

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

│ │ │ -

Fields§

§sum: f64
🔬This is a nightly-only experimental API. (test)
§min: f64
🔬This is a nightly-only experimental API. (test)
§max: f64
🔬This is a nightly-only experimental API. (test)
§mean: f64
🔬This is a nightly-only experimental API. (test)
§median: f64
🔬This is a nightly-only experimental API. (test)
§var: f64
🔬This is a nightly-only experimental API. (test)
§std_dev: f64
🔬This is a nightly-only experimental API. (test)
§std_dev_pct: f64
🔬This is a nightly-only experimental API. (test)
§median_abs_dev: f64
🔬This is a nightly-only experimental API. (test)
§median_abs_dev_pct: f64
🔬This is a nightly-only experimental API. (test)
§quartiles: (f64, f64, f64)
🔬This is a nightly-only experimental API. (test)
§iqr: f64
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Summary

Source

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

🔬This is a nightly-only experimental API. (test)

Constructs a new summary of a sample set.

│ │ │ -

Trait Implementations§

Source§

impl Clone for Summary

Source§

fn clone(&self) -> Summary

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Summary

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Summary

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

Fields§

§sum: f64
🔬This is a nightly-only experimental API. (test)
§min: f64
🔬This is a nightly-only experimental API. (test)
§max: f64
🔬This is a nightly-only experimental API. (test)
§mean: f64
🔬This is a nightly-only experimental API. (test)
§median: f64
🔬This is a nightly-only experimental API. (test)
§var: f64
🔬This is a nightly-only experimental API. (test)
§std_dev: f64
🔬This is a nightly-only experimental API. (test)
§std_dev_pct: f64
🔬This is a nightly-only experimental API. (test)
§median_abs_dev: f64
🔬This is a nightly-only experimental API. (test)
§median_abs_dev_pct: f64
🔬This is a nightly-only experimental API. (test)
§quartiles: (f64, f64, f64)
🔬This is a nightly-only experimental API. (test)
§iqr: f64
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Summary

Source

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

🔬This is a nightly-only experimental API. (test)

Constructs a new summary of a sample set.

│ │ │ +

Trait Implementations§

Source§

impl Clone for Summary

Source§

fn clone(&self) -> Summary

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Summary

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Summary

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for Summary

Source§

impl StructuralPartialEq for Summary

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html │ │ │ @@ -1,62 +1,62 @@ │ │ │ Stats in test::stats - Rust
test::stats

Trait Stats

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

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

│ │ │ -

Required Methods§

Source

fn sum(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Sum of the samples.

│ │ │ +

Required Methods§

Source

fn sum(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Sum of the samples.

│ │ │

Note: this method sacrifices performance at the altar of accuracy │ │ │ Depends on IEEE 754 arithmetic guarantees. See proof of correctness at: │ │ │ “Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric │ │ │ Predicates”

│ │ │ -
Source

fn min(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Minimum value of the samples.

│ │ │ -
Source

fn max(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Maximum value of the samples.

│ │ │ -
Source

fn mean(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │ +
Source

fn min(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Minimum value of the samples.

│ │ │ +
Source

fn max(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Maximum value of the samples.

│ │ │ +
Source

fn mean(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │

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

│ │ │ -
Source

fn median(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

Source

fn median(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │

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

│ │ │ -
Source

fn var(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

Source

fn var(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │

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

│ │ │ -
Source

fn std_dev(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Standard deviation: the square root of the sample variance.

│ │ │ +
Source

fn std_dev(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Standard deviation: the square root of the sample variance.

│ │ │

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

│ │ │

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

│ │ │ -
Source

fn std_dev_pct(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │ +
Source

fn std_dev_pct(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │

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

│ │ │ -
Source

fn median_abs_dev(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

Source

fn median_abs_dev(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │

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

│ │ │ -
Source

fn median_abs_dev_pct(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │ -
Source

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

🔬This is a nightly-only experimental API. (test)

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

Source

fn median_abs_dev_pct(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │ +
Source

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

🔬This is a nightly-only experimental API. (test)

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

│ │ │

Calculated by linear interpolation between closest ranks.

│ │ │

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

│ │ │ -
Source

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

🔬This is a nightly-only experimental API. (test)

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

Source

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

🔬This is a nightly-only experimental API. (test)

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

│ │ │

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

│ │ │ -
Source

fn iqr(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

Source

fn iqr(&self) -> f64

🔬This is a nightly-only experimental API. (test)

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

│ │ │

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

│ │ │ -

Implementations on Foreign Types§

Source§

impl Stats for [f64]

Source§

fn sum(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn min(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn max(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn mean(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn median(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn var(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn std_dev(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn std_dev_pct(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn median_abs_dev(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn median_abs_dev_pct(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

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

🔬This is a nightly-only experimental API. (test)
Source§

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

🔬This is a nightly-only experimental API. (test)
Source§

fn iqr(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Implementors§

│ │ │ +

Implementations on Foreign Types§

Source§

impl Stats for [f64]

Source§

fn sum(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn min(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn max(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn mean(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn median(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn var(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn std_dev(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn std_dev_pct(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn median_abs_dev(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

fn median_abs_dev_pct(&self) -> f64

🔬This is a nightly-only experimental API. (test)
Source§

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

🔬This is a nightly-only experimental API. (test)
Source§

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

🔬This is a nightly-only experimental API. (test)
Source§

fn iqr(&self) -> f64

🔬This is a nightly-only experimental API. (test)

Implementors§

│ │ ├── ./usr/share/doc/rust-doc/html/test/struct.Options.html │ │ │ @@ -1,18 +1,18 @@ │ │ │ Options in test - Rust
test

Struct Options

Source
pub struct Options {
│ │ │ -    pub display_output: bool,
│ │ │ -    pub panic_abort: bool,
│ │ │ +    pub display_output: bool,
│ │ │ +    pub panic_abort: bool,
│ │ │  }
🔬This is a nightly-only experimental API. (test)
Expand description

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

│ │ │ -

Fields§

§display_output: bool
🔬This is a nightly-only experimental API. (test)
§panic_abort: bool
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Options

Source

pub fn new() -> Options

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for Options

Source§

fn clone(&self) -> Options

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Options

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Copy for Options

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ +

Fields§

§display_output: bool
🔬This is a nightly-only experimental API. (test)
§panic_abort: bool
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Options

Source

pub fn new() -> Options

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for Options

Source§

fn clone(&self) -> Options

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Options

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Copy for Options

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/struct.TestDesc.html │ │ │ @@ -1,28 +1,28 @@ │ │ │ TestDesc in test - Rust
test

Struct TestDesc

Source
pub struct TestDesc {
│ │ │      pub name: TestName,
│ │ │ -    pub ignore: bool,
│ │ │ -    pub ignore_message: Option<&'static str>,
│ │ │ -    pub source_file: &'static str,
│ │ │ -    pub start_line: usize,
│ │ │ -    pub start_col: usize,
│ │ │ -    pub end_line: usize,
│ │ │ -    pub end_col: usize,
│ │ │ +    pub ignore: bool,
│ │ │ +    pub ignore_message: Option<&'static str>,
│ │ │ +    pub source_file: &'static str,
│ │ │ +    pub start_line: usize,
│ │ │ +    pub start_col: usize,
│ │ │ +    pub end_line: usize,
│ │ │ +    pub end_col: usize,
│ │ │      pub should_panic: ShouldPanic,
│ │ │ -    pub compile_fail: bool,
│ │ │ -    pub no_run: bool,
│ │ │ +    pub compile_fail: bool,
│ │ │ +    pub no_run: bool,
│ │ │      pub test_type: TestType,
│ │ │ -}
🔬This is a nightly-only experimental API. (test)

Fields§

§name: TestName
🔬This is a nightly-only experimental API. (test)
§ignore: bool
🔬This is a nightly-only experimental API. (test)
§ignore_message: Option<&'static str>
🔬This is a nightly-only experimental API. (test)
§source_file: &'static str
🔬This is a nightly-only experimental API. (test)
§start_line: usize
🔬This is a nightly-only experimental API. (test)
§start_col: usize
🔬This is a nightly-only experimental API. (test)
§end_line: usize
🔬This is a nightly-only experimental API. (test)
§end_col: usize
🔬This is a nightly-only experimental API. (test)
§should_panic: ShouldPanic
🔬This is a nightly-only experimental API. (test)
§compile_fail: bool
🔬This is a nightly-only experimental API. (test)
§no_run: bool
🔬This is a nightly-only experimental API. (test)
§test_type: TestType
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestDesc

Source

pub fn padded_name(&self, column_count: usize, align: NamePadding) -> String

🔬This is a nightly-only experimental API. (test)
Source

pub fn test_mode(&self) -> Option<&'static str>

🔬This 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. │ │ │ +}

🔬This is a nightly-only experimental API. (test)

Fields§

§name: TestName
🔬This is a nightly-only experimental API. (test)
§ignore: bool
🔬This is a nightly-only experimental API. (test)
§ignore_message: Option<&'static str>
🔬This is a nightly-only experimental API. (test)
§source_file: &'static str
🔬This is a nightly-only experimental API. (test)
§start_line: usize
🔬This is a nightly-only experimental API. (test)
§start_col: usize
🔬This is a nightly-only experimental API. (test)
§end_line: usize
🔬This is a nightly-only experimental API. (test)
§end_col: usize
🔬This is a nightly-only experimental API. (test)
§should_panic: ShouldPanic
🔬This is a nightly-only experimental API. (test)
§compile_fail: bool
🔬This is a nightly-only experimental API. (test)
§no_run: bool
🔬This is a nightly-only experimental API. (test)
§test_type: TestType
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestDesc

Source

pub fn padded_name(&self, column_count: usize, align: NamePadding) -> String

🔬This is a nightly-only experimental API. (test)
Source

pub fn test_mode(&self) -> Option<&'static str>

🔬This 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. │ │ │ Descriptions include “should panic”, “compile fail” and “compile”.

│ │ │

Trait Implementations§

Source§

impl Clone for TestDesc

Source§

fn clone(&self) -> TestDesc

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestDesc

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html │ │ │ @@ -1,22 +1,22 @@ │ │ │ TestDescAndFn in test - Rust
test

Struct TestDescAndFn

Source
pub struct TestDescAndFn {
│ │ │      pub desc: TestDesc,
│ │ │      pub testfn: TestFn,
│ │ │  }
🔬This is a nightly-only experimental API. (test)

Fields§

§desc: TestDesc
🔬This is a nightly-only experimental API. (test)
§testfn: TestFn
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestDescAndFn

Source

pub const fn new_doctest( │ │ │ - test_name: &'static str, │ │ │ - ignore: bool, │ │ │ - source_file: &'static str, │ │ │ - start_line: usize, │ │ │ - no_run: bool, │ │ │ - should_panic: bool, │ │ │ + test_name: &'static str, │ │ │ + ignore: bool, │ │ │ + source_file: &'static str, │ │ │ + start_line: usize, │ │ │ + no_run: bool, │ │ │ + should_panic: bool, │ │ │ testfn: TestFn, │ │ │ ) -> Self

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Debug for TestDescAndFn

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/struct.TestId.html │ │ │ @@ -1,16 +1,16 @@ │ │ │ -TestId in test - Rust
test

Struct TestId

Source
pub struct TestId(pub usize);
🔬This is a nightly-only experimental API. (test)

Tuple Fields§

§0: usize
🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestId

Source§

fn clone(&self) -> TestId

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestId

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestId

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where │ │ │ +TestId in test - Rust
test

Struct TestId

Source
pub struct TestId(pub usize);
🔬This is a nightly-only experimental API. (test)

Tuple Fields§

§0: usize
🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestId

Source§

fn clone(&self) -> TestId

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestId

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestId

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq for TestId

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

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

impl PartialEq for TestId

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for TestId

Source§

impl Eq for TestId

Source§

impl StructuralPartialEq for TestId

Auto Trait Implementations§

§

impl Freeze for TestId

§

impl RefUnwindSafe for TestId

§

impl Send for TestId

§

impl Sync for TestId

§

impl Unpin for TestId

§

impl UnwindSafe for TestId

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/struct.TestOpts.html │ │ │ @@ -1,34 +1,34 @@ │ │ │ TestOpts in test - Rust
test

Struct TestOpts

Source
pub struct TestOpts {
Show 19 fields │ │ │ - pub list: bool, │ │ │ + pub list: bool, │ │ │ pub filters: Vec<String>, │ │ │ - pub filter_exact: bool, │ │ │ - pub force_run_in_process: bool, │ │ │ - pub exclude_should_panic: bool, │ │ │ + pub filter_exact: bool, │ │ │ + pub force_run_in_process: bool, │ │ │ + pub exclude_should_panic: bool, │ │ │ pub run_ignored: RunIgnored, │ │ │ - pub run_tests: bool, │ │ │ - pub bench_benchmarks: bool, │ │ │ - pub logfile: Option<PathBuf>, │ │ │ - pub nocapture: bool, │ │ │ + pub run_tests: bool, │ │ │ + pub bench_benchmarks: bool, │ │ │ + pub logfile: Option<PathBuf>, │ │ │ + pub nocapture: bool, │ │ │ pub color: ColorConfig, │ │ │ pub format: OutputFormat, │ │ │ - pub shuffle: bool, │ │ │ - pub shuffle_seed: Option<u64>, │ │ │ - pub test_threads: Option<usize>, │ │ │ + pub shuffle: bool, │ │ │ + pub shuffle_seed: Option<u64>, │ │ │ + pub test_threads: Option<usize>, │ │ │ pub skip: Vec<String>, │ │ │ pub time_options: Option<TestTimeOptions>, │ │ │ - pub fail_fast: bool, │ │ │ + pub fail_fast: bool, │ │ │ pub options: Options, │ │ │ -
}
🔬This is a nightly-only experimental API. (test)

Fields§

§list: bool
🔬This is a nightly-only experimental API. (test)
§filters: Vec<String>
🔬This is a nightly-only experimental API. (test)
§filter_exact: bool
🔬This is a nightly-only experimental API. (test)
§force_run_in_process: bool
🔬This is a nightly-only experimental API. (test)
§exclude_should_panic: bool
🔬This is a nightly-only experimental API. (test)
§run_ignored: RunIgnored
🔬This is a nightly-only experimental API. (test)
§run_tests: bool
🔬This is a nightly-only experimental API. (test)
§bench_benchmarks: bool
🔬This is a nightly-only experimental API. (test)
§logfile: Option<PathBuf>
🔬This is a nightly-only experimental API. (test)
§nocapture: bool
🔬This is a nightly-only experimental API. (test)
§color: ColorConfig
🔬This is a nightly-only experimental API. (test)
§format: OutputFormat
🔬This is a nightly-only experimental API. (test)
§shuffle: bool
🔬This is a nightly-only experimental API. (test)
§shuffle_seed: Option<u64>
🔬This is a nightly-only experimental API. (test)
§test_threads: Option<usize>
🔬This is a nightly-only experimental API. (test)
§skip: Vec<String>
🔬This is a nightly-only experimental API. (test)
§time_options: Option<TestTimeOptions>
🔬This is a nightly-only experimental API. (test)
§fail_fast: bool
🔬This is a nightly-only experimental API. (test)

Stop at first failing test. │ │ │ +}

🔬This is a nightly-only experimental API. (test)

Fields§

§list: bool
🔬This is a nightly-only experimental API. (test)
§filters: Vec<String>
🔬This is a nightly-only experimental API. (test)
§filter_exact: bool
🔬This is a nightly-only experimental API. (test)
§force_run_in_process: bool
🔬This is a nightly-only experimental API. (test)
§exclude_should_panic: bool
🔬This is a nightly-only experimental API. (test)
§run_ignored: RunIgnored
🔬This is a nightly-only experimental API. (test)
§run_tests: bool
🔬This is a nightly-only experimental API. (test)
§bench_benchmarks: bool
🔬This is a nightly-only experimental API. (test)
§logfile: Option<PathBuf>
🔬This is a nightly-only experimental API. (test)
§nocapture: bool
🔬This is a nightly-only experimental API. (test)
§color: ColorConfig
🔬This is a nightly-only experimental API. (test)
§format: OutputFormat
🔬This is a nightly-only experimental API. (test)
§shuffle: bool
🔬This is a nightly-only experimental API. (test)
§shuffle_seed: Option<u64>
🔬This is a nightly-only experimental API. (test)
§test_threads: Option<usize>
🔬This is a nightly-only experimental API. (test)
§skip: Vec<String>
🔬This is a nightly-only experimental API. (test)
§time_options: Option<TestTimeOptions>
🔬This is a nightly-only experimental API. (test)
§fail_fast: bool
🔬This is a nightly-only experimental API. (test)

Stop at first failing test. │ │ │ May run a few more tests due to threading, but will │ │ │ abort as soon as possible.

│ │ │ -
§options: Options
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestOpts

Source

pub fn use_color(&self) -> bool

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Debug for TestOpts

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ +
§options: Options
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestOpts

Source

pub fn use_color(&self) -> bool

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Debug for TestOpts

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html │ │ │ @@ -1,20 +1,20 @@ │ │ │ RunIgnored in test::test - Rust
test::test

Enum RunIgnored

Source
pub enum RunIgnored {
│ │ │      Yes,
│ │ │      No,
│ │ │      Only,
│ │ │  }
🔬This is a nightly-only experimental API. (test)
Expand description

Whether ignored test should be run or not

│ │ │

Variants§

§

Yes

🔬This is a nightly-only experimental API. (test)
§

No

🔬This is a nightly-only experimental API. (test)
§

Only

🔬This is a nightly-only experimental API. (test)

Run only ignored tests

│ │ │ -

Trait Implementations§

Source§

impl Clone for RunIgnored

Source§

fn clone(&self) -> RunIgnored

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for RunIgnored

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for RunIgnored

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

Trait Implementations§

Source§

impl Clone for RunIgnored

Source§

fn clone(&self) -> RunIgnored

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for RunIgnored

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for RunIgnored

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for RunIgnored

Source§

impl Eq for RunIgnored

Source§

impl StructuralPartialEq for RunIgnored

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html │ │ │ @@ -4,18 +4,18 @@ │ │ │ }
🔬This is a nightly-only experimental API. (test)

Variants§

§

InProcess

🔬This is a nightly-only experimental API. (test)

Runs the test in the current process, and sends the result back over the │ │ │ supplied channel.

│ │ │
§

SpawnPrimary

🔬This is a nightly-only experimental API. (test)

Spawns a subprocess to run the test, and sends the result back over the │ │ │ supplied channel. Requires argv[0] to exist and point to the binary │ │ │ that’s currently running.

│ │ │

Trait Implementations§

Source§

impl Clone for RunStrategy

Source§

fn clone(&self) -> RunStrategy

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for RunStrategy

Auto Trait Implementations§

§

impl Freeze for RunStrategy

§

impl RefUnwindSafe for RunStrategy

§

impl Send for RunStrategy

§

impl Sync for RunStrategy

§

impl Unpin for RunStrategy

§

impl UnwindSafe for RunStrategy

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html │ │ │ @@ -1,21 +1,21 @@ │ │ │ ShouldPanic in test::test - Rust
test::test

Enum ShouldPanic

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

Whether test is expected to panic or not

│ │ │ -

Variants§

§

No

🔬This is a nightly-only experimental API. (test)
§

Yes

🔬This is a nightly-only experimental API. (test)
§

YesWithMessage(&'static str)

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for ShouldPanic

Source§

fn clone(&self) -> ShouldPanic

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ShouldPanic

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for ShouldPanic

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Variants§

§

No

🔬This is a nightly-only experimental API. (test)
§

Yes

🔬This is a nightly-only experimental API. (test)
§

YesWithMessage(&'static str)

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for ShouldPanic

Source§

fn clone(&self) -> ShouldPanic

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ShouldPanic

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for ShouldPanic

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq for ShouldPanic

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl PartialEq for ShouldPanic

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for ShouldPanic

Source§

impl Eq for ShouldPanic

Source§

impl StructuralPartialEq for ShouldPanic

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/enum.TestName.html │ │ │ @@ -1,21 +1,21 @@ │ │ │ TestName in test::test - Rust
test::test

Enum TestName

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

Variants§

§

StaticTestName(&'static str)

🔬This is a nightly-only experimental API. (test)
§

DynTestName(String)

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestName

Source

pub fn as_slice(&self) -> &str

🔬This is a nightly-only experimental API. (test)
Source

pub fn padding(&self) -> NamePadding

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestName

Source§

fn clone(&self) -> TestName

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestName

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Display for TestName

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestName

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Variants§

§

StaticTestName(&'static str)

🔬This is a nightly-only experimental API. (test)
§

DynTestName(String)

🔬This is a nightly-only experimental API. (test)
§

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

🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestName

Source

pub fn as_slice(&self) -> &str

🔬This is a nightly-only experimental API. (test)
Source

pub fn padding(&self) -> NamePadding

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestName

Source§

fn clone(&self) -> TestName

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestName

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Display for TestName

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestName

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq for TestName

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

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

impl PartialEq for TestName

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Eq for TestName

Source§

impl StructuralPartialEq for TestName

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T> ToString for T
where │ │ │ + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html │ │ │ @@ -1,21 +1,21 @@ │ │ │ TestResult in test::test - Rust
test::test

Enum TestResult

Source
pub enum TestResult {
│ │ │      TrOk,
│ │ │      TrFailed,
│ │ │      TrFailedMsg(String),
│ │ │      TrIgnored,
│ │ │      TrBench(BenchSamples),
│ │ │      TrTimedFail,
│ │ │ -}
🔬This is a nightly-only experimental API. (test)

Variants§

§

TrOk

🔬This is a nightly-only experimental API. (test)
§

TrFailed

🔬This is a nightly-only experimental API. (test)
§

TrFailedMsg(String)

🔬This is a nightly-only experimental API. (test)
§

TrIgnored

🔬This is a nightly-only experimental API. (test)
§

TrBench(BenchSamples)

🔬This is a nightly-only experimental API. (test)
§

TrTimedFail

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestResult

Source§

fn clone(&self) -> TestResult

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestResult

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TestResult

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, │ │ │ +}
🔬This is a nightly-only experimental API. (test)

Variants§

§

TrOk

🔬This is a nightly-only experimental API. (test)
§

TrFailed

🔬This is a nightly-only experimental API. (test)
§

TrFailedMsg(String)

🔬This is a nightly-only experimental API. (test)
§

TrIgnored

🔬This is a nightly-only experimental API. (test)
§

TrBench(BenchSamples)

🔬This is a nightly-only experimental API. (test)
§

TrTimedFail

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestResult

Source§

fn clone(&self) -> TestResult

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestResult

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TestResult

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl StructuralPartialEq for TestResult

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/enum.TestType.html │ │ │ @@ -6,23 +6,23 @@ │ │ │ }
🔬This is a nightly-only experimental API. (test)
Expand description

Type of the test according to the Rust book │ │ │ conventions.

│ │ │

Variants§

§

UnitTest

🔬This is a nightly-only experimental API. (test)

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

│ │ │
§

IntegrationTest

🔬This is a nightly-only experimental API. (test)

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

│ │ │
§

DocTest

🔬This is a nightly-only experimental API. (test)

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

│ │ │
§

Unknown

🔬This is a nightly-only experimental API. (test)

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

│ │ │ -

Trait Implementations§

Source§

impl Clone for TestType

Source§

fn clone(&self) -> TestType

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestType

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestType

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

Trait Implementations§

Source§

impl Clone for TestType

Source§

fn clone(&self) -> TestType

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for TestType

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hash for TestType

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq for TestType

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl PartialEq for TestType

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for TestType

Source§

impl Eq for TestType

Source§

impl StructuralPartialEq for TestType

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.Metric.html │ │ │ @@ -1,14 +1,14 @@ │ │ │ -Metric in test::test - Rust
test::test

Struct Metric

Source
pub struct Metric { /* private fields */ }
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Metric

Source

pub fn new(value: f64, noise: f64) -> Metric

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for Metric

Source§

fn clone(&self) -> Metric

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Metric

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Metric

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, │ │ │ +Metric in test::test - Rust
test::test

Struct Metric

Source
pub struct Metric { /* private fields */ }
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Metric

Source

pub fn new(value: f64, noise: f64) -> Metric

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for Metric

Source§

fn clone(&self) -> Metric

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Metric

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Metric

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for Metric

Source§

impl StructuralPartialEq for Metric

Auto Trait Implementations§

§

impl Freeze for Metric

§

impl RefUnwindSafe for Metric

§

impl Send for Metric

§

impl Sync for Metric

§

impl Unpin for Metric

§

impl UnwindSafe for Metric

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html │ │ │ @@ -1,25 +1,25 @@ │ │ │ -MetricMap in test::test - Rust
test::test

Struct MetricMap

Source
pub struct MetricMap(/* private fields */);
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl MetricMap

Source

pub fn new() -> MetricMap

🔬This is a nightly-only experimental API. (test)
Source

pub fn insert_metric(&mut self, name: &str, value: f64, noise: f64)

🔬This is a nightly-only experimental API. (test)

Insert a named value (+/- noise) metric into the map. The value │ │ │ +MetricMap in test::test - Rust

test::test

Struct MetricMap

Source
pub struct MetricMap(/* private fields */);
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl MetricMap

Source

pub fn new() -> MetricMap

🔬This is a nightly-only experimental API. (test)
Source

pub fn insert_metric(&mut self, name: &str, value: f64, noise: f64)

🔬This is a nightly-only experimental API. (test)

Insert a named value (+/- noise) metric into the map. The value │ │ │ must be non-negative. The noise indicates the uncertainty of the │ │ │ metric, which doubles as the “noise range” of acceptable │ │ │ pairwise-regressions on this named value, when comparing from one │ │ │ metric to the next using compare_to_old.

│ │ │

If noise is positive, then it means this metric is of a value │ │ │ you want to see grow smaller, so a change larger than noise in the │ │ │ positive direction represents a regression.

│ │ │

If noise is negative, then it means this metric is of a value │ │ │ you want to see grow larger, so a change larger than noise in the │ │ │ negative direction represents a regression.

│ │ │ -
Source

pub fn fmt_metrics(&self) -> String

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for MetricMap

Source§

fn clone(&self) -> MetricMap

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl PartialEq for MetricMap

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, │ │ │ +
Source

pub fn fmt_metrics(&self) -> String

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for MetricMap

Source§

fn clone(&self) -> MetricMap

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl PartialEq for MetricMap

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl StructuralPartialEq for MetricMap

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

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

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

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

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

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

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

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

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

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.Options.html │ │ │ @@ -1,18 +1,18 @@ │ │ │ Options in test::test - Rust
test::test

Struct Options

Source
pub struct Options {
│ │ │ -    pub display_output: bool,
│ │ │ -    pub panic_abort: bool,
│ │ │ +    pub display_output: bool,
│ │ │ +    pub panic_abort: bool,
│ │ │  }
🔬This is a nightly-only experimental API. (test)
Expand description

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

│ │ │ -

Fields§

§display_output: bool
🔬This is a nightly-only experimental API. (test)
§panic_abort: bool
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Options

Source

pub fn new() -> Options

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)
Source

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

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for Options

Source§

fn clone(&self) -> Options

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Options

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for Options

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ +

Fields§

§display_output: bool
🔬This is a nightly-only experimental API. (test)
§panic_abort: bool
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl Options

Source

pub fn new() -> Options

🔬This is a nightly-only experimental API. (test)
Source

pub fn display_output(self, display_output: bool) -> Options

🔬This is a nightly-only experimental API. (test)
Source

pub fn panic_abort(self, panic_abort: bool) -> Options

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for Options

Source§

fn clone(&self) -> Options

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Options

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for Options

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

That is, this conversion is whatever the implementation of │ │ │ From<T> for U chooses to do.

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html │ │ │ @@ -1,28 +1,28 @@ │ │ │ TestDesc in test::test - Rust
test::test

Struct TestDesc

Source
pub struct TestDesc {
│ │ │      pub name: TestName,
│ │ │ -    pub ignore: bool,
│ │ │ -    pub ignore_message: Option<&'static str>,
│ │ │ -    pub source_file: &'static str,
│ │ │ -    pub start_line: usize,
│ │ │ -    pub start_col: usize,
│ │ │ -    pub end_line: usize,
│ │ │ -    pub end_col: usize,
│ │ │ +    pub ignore: bool,
│ │ │ +    pub ignore_message: Option<&'static str>,
│ │ │ +    pub source_file: &'static str,
│ │ │ +    pub start_line: usize,
│ │ │ +    pub start_col: usize,
│ │ │ +    pub end_line: usize,
│ │ │ +    pub end_col: usize,
│ │ │      pub should_panic: ShouldPanic,
│ │ │ -    pub compile_fail: bool,
│ │ │ -    pub no_run: bool,
│ │ │ +    pub compile_fail: bool,
│ │ │ +    pub no_run: bool,
│ │ │      pub test_type: TestType,
│ │ │ -}
🔬This is a nightly-only experimental API. (test)

Fields§

§name: TestName
🔬This is a nightly-only experimental API. (test)
§ignore: bool
🔬This is a nightly-only experimental API. (test)
§ignore_message: Option<&'static str>
🔬This is a nightly-only experimental API. (test)
§source_file: &'static str
🔬This is a nightly-only experimental API. (test)
§start_line: usize
🔬This is a nightly-only experimental API. (test)
§start_col: usize
🔬This is a nightly-only experimental API. (test)
§end_line: usize
🔬This is a nightly-only experimental API. (test)
§end_col: usize
🔬This is a nightly-only experimental API. (test)
§should_panic: ShouldPanic
🔬This is a nightly-only experimental API. (test)
§compile_fail: bool
🔬This is a nightly-only experimental API. (test)
§no_run: bool
🔬This is a nightly-only experimental API. (test)
§test_type: TestType
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestDesc

Source

pub fn padded_name(&self, column_count: usize, align: NamePadding) -> String

🔬This is a nightly-only experimental API. (test)
Source

pub fn test_mode(&self) -> Option<&'static str>

🔬This 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. │ │ │ +}

🔬This is a nightly-only experimental API. (test)

Fields§

§name: TestName
🔬This is a nightly-only experimental API. (test)
§ignore: bool
🔬This is a nightly-only experimental API. (test)
§ignore_message: Option<&'static str>
🔬This is a nightly-only experimental API. (test)
§source_file: &'static str
🔬This is a nightly-only experimental API. (test)
§start_line: usize
🔬This is a nightly-only experimental API. (test)
§start_col: usize
🔬This is a nightly-only experimental API. (test)
§end_line: usize
🔬This is a nightly-only experimental API. (test)
§end_col: usize
🔬This is a nightly-only experimental API. (test)
§should_panic: ShouldPanic
🔬This is a nightly-only experimental API. (test)
§compile_fail: bool
🔬This is a nightly-only experimental API. (test)
§no_run: bool
🔬This is a nightly-only experimental API. (test)
§test_type: TestType
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestDesc

Source

pub fn padded_name(&self, column_count: usize, align: NamePadding) -> String

🔬This is a nightly-only experimental API. (test)
Source

pub fn test_mode(&self) -> Option<&'static str>

🔬This 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. │ │ │ Descriptions include “should panic”, “compile fail” and “compile”.

│ │ │

Trait Implementations§

Source§

impl Clone for TestDesc

Source§

fn clone(&self) -> TestDesc

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TestDesc

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

That is, this conversion is whatever the implementation of │ │ │ From<T> for U chooses to do.

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html │ │ │ @@ -1,22 +1,22 @@ │ │ │ TestDescAndFn in test::test - Rust
test::test

Struct TestDescAndFn

Source
pub struct TestDescAndFn {
│ │ │      pub desc: TestDesc,
│ │ │      pub testfn: TestFn,
│ │ │  }
🔬This is a nightly-only experimental API. (test)

Fields§

§desc: TestDesc
🔬This is a nightly-only experimental API. (test)
§testfn: TestFn
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestDescAndFn

Source

pub const fn new_doctest( │ │ │ - test_name: &'static str, │ │ │ - ignore: bool, │ │ │ - source_file: &'static str, │ │ │ - start_line: usize, │ │ │ - no_run: bool, │ │ │ - should_panic: bool, │ │ │ + test_name: &'static str, │ │ │ + ignore: bool, │ │ │ + source_file: &'static str, │ │ │ + start_line: usize, │ │ │ + no_run: bool, │ │ │ + should_panic: bool, │ │ │ testfn: TestFn, │ │ │ ) -> Self

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Debug for TestDescAndFn

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

That is, this conversion is whatever the implementation of │ │ │ From<T> for U chooses to do.

│ │ │
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html │ │ │ @@ -1,16 +1,16 @@ │ │ │ TestExecTime in test::test - Rust
test::test

Struct TestExecTime

Source
pub struct TestExecTime(pub Duration);
🔬This is a nightly-only experimental API. (test)
Expand description

The measured execution time of a unit test.

│ │ │ -

Tuple Fields§

§0: Duration
🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestExecTime

Source§

fn clone(&self) -> TestExecTime

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TestExecTime

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for TestExecTime

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TestExecTime

Source§

fn eq(&self, other: &TestExecTime) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, │ │ │ +

Tuple Fields§

§0: Duration
🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestExecTime

Source§

fn clone(&self) -> TestExecTime

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TestExecTime

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for TestExecTime

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TestExecTime

Source§

fn eq(&self, other: &TestExecTime) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, │ │ │ and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for TestExecTime

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

That is, this conversion is whatever the implementation of │ │ │ From<T> for U chooses to do.

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where │ │ │ + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where │ │ │ T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.TestId.html │ │ │ @@ -1,16 +1,16 @@ │ │ │ -TestId in test::test - Rust
test::test

Struct TestId

Source
pub struct TestId(pub usize);
🔬This is a nightly-only experimental API. (test)

Tuple Fields§

§0: usize
🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestId

Source§

fn clone(&self) -> TestId

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TestId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for TestId

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where │ │ │ +TestId in test::test - Rust
test::test

Struct TestId

Source
pub struct TestId(pub usize);
🔬This is a nightly-only experimental API. (test)

Tuple Fields§

§0: usize
🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestId

Source§

fn clone(&self) -> TestId

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TestId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for TestId

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where │ │ │ H: Hasher, │ │ │ - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for TestId

Source§

fn eq(&self, other: &TestId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, │ │ │ + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for TestId

Source§

fn eq(&self, other: &TestId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, │ │ │ and should not be overridden without very good reason.
Source§

impl Copy for TestId

Source§

impl Eq for TestId

Source§

impl StructuralPartialEq for TestId

Auto Trait Implementations§

§

impl Freeze for TestId

§

impl RefUnwindSafe for TestId

§

impl Send for TestId

§

impl Sync for TestId

§

impl Unpin for TestId

§

impl UnwindSafe for TestId

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

That is, this conversion is whatever the implementation of │ │ │ From<T> for U chooses to do.

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html │ │ │ @@ -1,34 +1,34 @@ │ │ │ TestOpts in test::test - Rust
test::test

Struct TestOpts

Source
pub struct TestOpts {
Show 19 fields │ │ │ - pub list: bool, │ │ │ + pub list: bool, │ │ │ pub filters: Vec<String>, │ │ │ - pub filter_exact: bool, │ │ │ - pub force_run_in_process: bool, │ │ │ - pub exclude_should_panic: bool, │ │ │ + pub filter_exact: bool, │ │ │ + pub force_run_in_process: bool, │ │ │ + pub exclude_should_panic: bool, │ │ │ pub run_ignored: RunIgnored, │ │ │ - pub run_tests: bool, │ │ │ - pub bench_benchmarks: bool, │ │ │ - pub logfile: Option<PathBuf>, │ │ │ - pub nocapture: bool, │ │ │ + pub run_tests: bool, │ │ │ + pub bench_benchmarks: bool, │ │ │ + pub logfile: Option<PathBuf>, │ │ │ + pub nocapture: bool, │ │ │ pub color: ColorConfig, │ │ │ pub format: OutputFormat, │ │ │ - pub shuffle: bool, │ │ │ - pub shuffle_seed: Option<u64>, │ │ │ - pub test_threads: Option<usize>, │ │ │ + pub shuffle: bool, │ │ │ + pub shuffle_seed: Option<u64>, │ │ │ + pub test_threads: Option<usize>, │ │ │ pub skip: Vec<String>, │ │ │ pub time_options: Option<TestTimeOptions>, │ │ │ - pub fail_fast: bool, │ │ │ + pub fail_fast: bool, │ │ │ pub options: Options, │ │ │ -
}
🔬This is a nightly-only experimental API. (test)

Fields§

§list: bool
🔬This is a nightly-only experimental API. (test)
§filters: Vec<String>
🔬This is a nightly-only experimental API. (test)
§filter_exact: bool
🔬This is a nightly-only experimental API. (test)
§force_run_in_process: bool
🔬This is a nightly-only experimental API. (test)
§exclude_should_panic: bool
🔬This is a nightly-only experimental API. (test)
§run_ignored: RunIgnored
🔬This is a nightly-only experimental API. (test)
§run_tests: bool
🔬This is a nightly-only experimental API. (test)
§bench_benchmarks: bool
🔬This is a nightly-only experimental API. (test)
§logfile: Option<PathBuf>
🔬This is a nightly-only experimental API. (test)
§nocapture: bool
🔬This is a nightly-only experimental API. (test)
§color: ColorConfig
🔬This is a nightly-only experimental API. (test)
§format: OutputFormat
🔬This is a nightly-only experimental API. (test)
§shuffle: bool
🔬This is a nightly-only experimental API. (test)
§shuffle_seed: Option<u64>
🔬This is a nightly-only experimental API. (test)
§test_threads: Option<usize>
🔬This is a nightly-only experimental API. (test)
§skip: Vec<String>
🔬This is a nightly-only experimental API. (test)
§time_options: Option<TestTimeOptions>
🔬This is a nightly-only experimental API. (test)
§fail_fast: bool
🔬This is a nightly-only experimental API. (test)

Stop at first failing test. │ │ │ +}

🔬This is a nightly-only experimental API. (test)

Fields§

§list: bool
🔬This is a nightly-only experimental API. (test)
§filters: Vec<String>
🔬This is a nightly-only experimental API. (test)
§filter_exact: bool
🔬This is a nightly-only experimental API. (test)
§force_run_in_process: bool
🔬This is a nightly-only experimental API. (test)
§exclude_should_panic: bool
🔬This is a nightly-only experimental API. (test)
§run_ignored: RunIgnored
🔬This is a nightly-only experimental API. (test)
§run_tests: bool
🔬This is a nightly-only experimental API. (test)
§bench_benchmarks: bool
🔬This is a nightly-only experimental API. (test)
§logfile: Option<PathBuf>
🔬This is a nightly-only experimental API. (test)
§nocapture: bool
🔬This is a nightly-only experimental API. (test)
§color: ColorConfig
🔬This is a nightly-only experimental API. (test)
§format: OutputFormat
🔬This is a nightly-only experimental API. (test)
§shuffle: bool
🔬This is a nightly-only experimental API. (test)
§shuffle_seed: Option<u64>
🔬This is a nightly-only experimental API. (test)
§test_threads: Option<usize>
🔬This is a nightly-only experimental API. (test)
§skip: Vec<String>
🔬This is a nightly-only experimental API. (test)
§time_options: Option<TestTimeOptions>
🔬This is a nightly-only experimental API. (test)
§fail_fast: bool
🔬This is a nightly-only experimental API. (test)

Stop at first failing test. │ │ │ May run a few more tests due to threading, but will │ │ │ abort as soon as possible.

│ │ │ -
§options: Options
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestOpts

Source

pub fn use_color(&self) -> bool

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Debug for TestOpts

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ +
§options: Options
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestOpts

Source

pub fn use_color(&self) -> bool

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Debug for TestOpts

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

That is, this conversion is whatever the implementation of │ │ │ From<T> for U chooses to do.

│ │ │
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/test/test/struct.TestTimeOptions.html │ │ │ @@ -1,22 +1,22 @@ │ │ │ TestTimeOptions in test::test - Rust
test::test

Struct TestTimeOptions

Source
pub struct TestTimeOptions {
│ │ │ -    pub error_on_excess: bool,
│ │ │ +    pub error_on_excess: bool,
│ │ │      pub unit_threshold: TimeThreshold,
│ │ │      pub integration_threshold: TimeThreshold,
│ │ │      pub doctest_threshold: TimeThreshold,
│ │ │  }
🔬This is a nightly-only experimental API. (test)
Expand description

Structure with parameters for calculating test execution time.

│ │ │ -

Fields§

§error_on_excess: bool
🔬This is a nightly-only experimental API. (test)

Denotes if the test critical execution time limit excess should be considered │ │ │ +

Fields§

§error_on_excess: bool
🔬This is a nightly-only experimental API. (test)

Denotes if the test critical execution time limit excess should be considered │ │ │ a test failure.

│ │ │ -
§unit_threshold: TimeThreshold
🔬This is a nightly-only experimental API. (test)
§integration_threshold: TimeThreshold
🔬This is a nightly-only experimental API. (test)
§doctest_threshold: TimeThreshold
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestTimeOptions

Source

pub fn new_from_env(error_on_excess: bool) -> Self

🔬This is a nightly-only experimental API. (test)
Source

pub fn is_warn(&self, test: &TestDesc, exec_time: &TestExecTime) -> bool

🔬This is a nightly-only experimental API. (test)
Source

pub fn is_critical(&self, test: &TestDesc, exec_time: &TestExecTime) -> bool

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestTimeOptions

Source§

fn clone(&self) -> TestTimeOptions

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TestTimeOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TestTimeOptions

Source§

fn default() -> TestTimeOptions

Returns the “default value” for a type. Read more
Source§

impl PartialEq for TestTimeOptions

Source§

fn eq(&self, other: &TestTimeOptions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, │ │ │ +
§unit_threshold: TimeThreshold
🔬This is a nightly-only experimental API. (test)
§integration_threshold: TimeThreshold
🔬This is a nightly-only experimental API. (test)
§doctest_threshold: TimeThreshold
🔬This is a nightly-only experimental API. (test)

Implementations§

Source§

impl TestTimeOptions

Source

pub fn new_from_env(error_on_excess: bool) -> Self

🔬This is a nightly-only experimental API. (test)
Source

pub fn is_warn(&self, test: &TestDesc, exec_time: &TestExecTime) -> bool

🔬This is a nightly-only experimental API. (test)
Source

pub fn is_critical(&self, test: &TestDesc, exec_time: &TestExecTime) -> bool

🔬This is a nightly-only experimental API. (test)

Trait Implementations§

Source§

impl Clone for TestTimeOptions

Source§

fn clone(&self) -> TestTimeOptions

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TestTimeOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TestTimeOptions

Source§

fn default() -> TestTimeOptions

Returns the “default value” for a type. Read more
Source§

impl PartialEq for TestTimeOptions

Source§

fn eq(&self, other: &TestTimeOptions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, │ │ │ and should not be overridden without very good reason.
Source§

impl Copy for TestTimeOptions

Source§

impl Eq for TestTimeOptions

Source§

impl StructuralPartialEq for TestTimeOptions

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where │ │ │ T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │ + T: ?Sized,
Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where │ │ │ + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where │ │ │ + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

│ │ │
Source§

impl<T, U> Into<U> for T
where │ │ │ U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

│ │ │

That is, this conversion is whatever the implementation of │ │ │ From<T> for U chooses to do.

│ │ │
Source§

impl<T> ToOwned for T
where │ │ │ - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where │ │ │ U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where │ │ │ U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
│ │ ├── ./usr/share/doc/rust-doc/html/tutorial.html │ │ │ @@ -2,15 +2,15 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ The Rust Tutorial │ │ │ │ │ │ - │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │