2.84 MB
/srv/reproducible-results/rbuild-debian/r-b-build.76Xk48nP/b1/rustc-web_1.78.0+dfsg1-2~deb12u3_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.76Xk48nP/b2/rustc-web_1.78.0+dfsg1-2~deb12u3_i386.changes
2.02 KB
Files
    
Offset 1, 18 lines modifiedOffset 1, 18 lines modified
  
1 ·52bea32d64e654a857abd6ccb317a970·3193748·debug·optional·cargo-web-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb1 ·52bea32d64e654a857abd6ccb317a970·3193748·debug·optional·cargo-web-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb
2 ·d8b3a5f74e43eee8453b076e36d74411·4104144·doc·optional·cargo-web-doc_1.78.0+dfsg1-2~deb12u3_all.deb2 ·d8b3a5f74e43eee8453b076e36d74411·4104144·doc·optional·cargo-web-doc_1.78.0+dfsg1-2~deb12u3_all.deb
3 ·f9a796f0315049ace3bb4e799fa615cf·6551000·devel·optional·cargo-web_1.78.0+dfsg1-2~deb12u3_i386.deb3 ·f9a796f0315049ace3bb4e799fa615cf·6551000·devel·optional·cargo-web_1.78.0+dfsg1-2~deb12u3_i386.deb
4 ·3d75565f50b3342d258bd716cbdc8a67·9126352·debug·optional·libstd-rust-web-1.78-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb4 ·3d75565f50b3342d258bd716cbdc8a67·9126352·debug·optional·libstd-rust-web-1.78-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb
5 ·9e158d8f2c3566e6e0fea02275a6eb8c·21160888·libs·optional·libstd-rust-web-1.78_1.78.0+dfsg1-2~deb12u3_i386.deb5 ·9e158d8f2c3566e6e0fea02275a6eb8c·21160888·libs·optional·libstd-rust-web-1.78_1.78.0+dfsg1-2~deb12u3_i386.deb
6 ·080b9ae7911838629e61d643b17f93e5·41166632·libdevel·optional·libstd-rust-web-dev-windows_1.78.0+dfsg1-2~deb12u3_i386.deb6 ·7f23fe21419edc78837f75173a0d2d8b·41167984·libdevel·optional·libstd-rust-web-dev-windows_1.78.0+dfsg1-2~deb12u3_i386.deb
7 ·cf007b8e202c846edc8683b484553b9b·36075912·libdevel·optional·libstd-rust-web-dev_1.78.0+dfsg1-2~deb12u3_i386.deb7 ·cf007b8e202c846edc8683b484553b9b·36075912·libdevel·optional·libstd-rust-web-dev_1.78.0+dfsg1-2~deb12u3_i386.deb
8 ·ba8a289183a3b48351b739bbdec669da·441488·debug·optional·rust-web-clippy-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb8 ·ba8a289183a3b48351b739bbdec669da·441488·debug·optional·rust-web-clippy-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb
9 ·ec6f0c2086b042c23800561426975249·2823400·devel·optional·rust-web-clippy_1.78.0+dfsg1-2~deb12u3_i386.deb9 ·ec6f0c2086b042c23800561426975249·2823400·devel·optional·rust-web-clippy_1.78.0+dfsg1-2~deb12u3_i386.deb
10 ·a44b1b692f5d7121125e8706de549afa·20036384·doc·optional·rust-web-doc_1.78.0+dfsg1-2~deb12u3_all.deb10 ·6d46a20526312e2c8b6240aa4319679b·20029792·doc·optional·rust-web-doc_1.78.0+dfsg1-2~deb12u3_all.deb
11 ·01c40e2d9b7a3b468d95804c0414fe8c·225528·devel·optional·rust-web-gdb_1.78.0+dfsg1-2~deb12u3_all.deb11 ·01c40e2d9b7a3b468d95804c0414fe8c·225528·devel·optional·rust-web-gdb_1.78.0+dfsg1-2~deb12u3_all.deb
12 ·574d84dcae44861fd1830c230fc278e2·225740·devel·optional·rust-web-lldb_1.78.0+dfsg1-2~deb12u3_all.deb12 ·574d84dcae44861fd1830c230fc278e2·225740·devel·optional·rust-web-lldb_1.78.0+dfsg1-2~deb12u3_all.deb
13 ·8416b90db1a1c047c5277c7fde636bd7·21434860·devel·optional·rust-web-src_1.78.0+dfsg1-2~deb12u3_all.deb13 ·8416b90db1a1c047c5277c7fde636bd7·21434860·devel·optional·rust-web-src_1.78.0+dfsg1-2~deb12u3_all.deb
14 ·ad5389424ee42b167b62af976f5eda64·1587544·debug·optional·rustc-web-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb14 ·ad5389424ee42b167b62af976f5eda64·1587544·debug·optional·rustc-web-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb
15 ·e1e2df972c340b8f422ddec5c5867be8·3381232·devel·optional·rustc-web_1.78.0+dfsg1-2~deb12u3_i386.deb15 ·e1e2df972c340b8f422ddec5c5867be8·3381232·devel·optional·rustc-web_1.78.0+dfsg1-2~deb12u3_i386.deb
16 ·e56a8dc576fc3cda1cea3669140dc363·2546712·debug·optional·rustfmt-web-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb16 ·e56a8dc576fc3cda1cea3669140dc363·2546712·debug·optional·rustfmt-web-dbgsym_1.78.0+dfsg1-2~deb12u3_i386.deb
17 ·32f81ca323496330ea74fbf53f8f8338·2161040·devel·optional·rustfmt-web_1.78.0+dfsg1-2~deb12u3_i386.deb17 ·32f81ca323496330ea74fbf53f8f8338·2161040·devel·optional·rustfmt-web_1.78.0+dfsg1-2~deb12u3_i386.deb
606 KB
libstd-rust-web-dev-windows_1.78.0+dfsg1-2~deb12u3_i386.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-08-28·14:44:23.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-08-28·14:44:23.000000·debian-binary
2 -rw-r--r--···0········0········0·····2344·2024-08-28·14:44:23.000000·control.tar.xz2 -rw-r--r--···0········0········0·····2348·2024-08-28·14:44:23.000000·control.tar.xz
3 -rw-r--r--···0········0········0·41164096·2024-08-28·14:44:23.000000·data.tar.xz3 -rw-r--r--···0········0········0·41165444·2024-08-28·14:44:23.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
605 KB
data.tar.xz
605 KB
data.tar
13.7 KB
./usr/lib/rustlib/i686-pc-windows-gnu/lib/libstd-d27da00d973397d3.rlib
6.05 KB
nm -s {}
error from `nm -s {}`: nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.00.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.01.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.02.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.03.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.04.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.05.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.06.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.07.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.08.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.09.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.10.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.11.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.12.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.13.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.14.rcgu.o: no symbols nm: std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o: no symbols
    
Offset 2316, 20 lines modifiedOffset 2316, 20 lines modified
2316 __ZN9addr2line18FrameIter$LT$R$GT$4next17h1038bd73d9fb8cdbE·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o2316 __ZN9addr2line18FrameIter$LT$R$GT$4next17h1038bd73d9fb8cdbE·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o
2317 __ZN9addr2line8function18Functions$LT$R$GT$5parse17h4710e8ec41938778E·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o2317 __ZN9addr2line8function18Functions$LT$R$GT$5parse17h4710e8ec41938778E·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o
2318 __ZN3std3sys3pal7windows5futex10futex_wait17h2a18280b9de35af4E·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o2318 __ZN3std3sys3pal7windows5futex10futex_wait17h2a18280b9de35af4E·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o
2319 __ZN3std3sys3pal7windows5futex10futex_wait17hae73686e5ece5c9aE·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o2319 __ZN3std3sys3pal7windows5futex10futex_wait17hae73686e5ece5c9aE·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o
2320 _anon.8b7e34a08460e551319c2ba40f3be365.0.llvm.17063583617635077723·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o2320 _anon.8b7e34a08460e551319c2ba40f3be365.0.llvm.17063583617635077723·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o
2321 __imp__anon.8b7e34a08460e551319c2ba40f3be365.0.llvm.17063583617635077723·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o2321 __imp__anon.8b7e34a08460e551319c2ba40f3be365.0.llvm.17063583617635077723·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o
2322 __imp__anon.8b7e34a08460e551319c2ba40f3be365.4.llvm.17063583617635077723·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o2322 __imp__anon.8b7e34a08460e551319c2ba40f3be365.4.llvm.17063583617635077723·in·std-d27da00d973397d3.std.fb06f5767df26720-cgu.15.rcgu.o
2323 ___tmp_rustcvTAGHR_bcryptprimitives_lib_iname·in·bcryptprimitives.dllt.o2323 ___tmp_rustcVlEFrR_bcryptprimitives_lib_iname·in·bcryptprimitives.dllt.o
2324 _head__tmp_rustcvTAGHR_bcryptprimitives_lib·in·bcryptprimitives.dllh.o2324 _head__tmp_rustcVlEFrR_bcryptprimitives_lib·in·bcryptprimitives.dllh.o
2325 ProcessPrng·in·bcryptprimitives.dlls00000.o2325 ProcessPrng·in·bcryptprimitives.dlls00000.o
2326 __imp_ProcessPrng·in·bcryptprimitives.dlls00000.o2326 __imp_ProcessPrng·in·bcryptprimitives.dlls00000.o
2327 ___tmp_rustcvTAGHR_api_ms_win_core_synch_l1_2_0_lib_iname·in·api-ms-win-core-synch-l1-2-0.dllt.o2327 ___tmp_rustcVlEFrR_api_ms_win_core_synch_l1_2_0_lib_iname·in·api-ms-win-core-synch-l1-2-0.dllt.o
2328 _head__tmp_rustcvTAGHR_api_ms_win_core_synch_l1_2_0_lib·in·api-ms-win-core-synch-l1-2-0.dllh.o2328 _head__tmp_rustcVlEFrR_api_ms_win_core_synch_l1_2_0_lib·in·api-ms-win-core-synch-l1-2-0.dllh.o
2329 WakeByAddressSingle·in·api-ms-win-core-synch-l1-2-0.dlls00002.o2329 WakeByAddressSingle·in·api-ms-win-core-synch-l1-2-0.dlls00002.o
2330 __imp_WakeByAddressSingle·in·api-ms-win-core-synch-l1-2-0.dlls00002.o2330 __imp_WakeByAddressSingle·in·api-ms-win-core-synch-l1-2-0.dlls00002.o
2331 WakeByAddressAll·in·api-ms-win-core-synch-l1-2-0.dlls00001.o2331 WakeByAddressAll·in·api-ms-win-core-synch-l1-2-0.dlls00001.o
2332 __imp_WakeByAddressAll·in·api-ms-win-core-synch-l1-2-0.dlls00001.o2332 __imp_WakeByAddressAll·in·api-ms-win-core-synch-l1-2-0.dlls00001.o
2333 WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o2333 WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o
2334 __imp_WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o2334 __imp_WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o
  
Offset 2387, 89 lines modifiedOffset 2387, 89 lines modified
2387 bcryptprimitives.dllt.o:2387 bcryptprimitives.dllt.o:
2388 00000000·b·.bss2388 00000000·b·.bss
2389 00000000·d·.data2389 00000000·d·.data
2390 00000000·i·.idata$42390 00000000·i·.idata$4
2391 00000000·i·.idata$52391 00000000·i·.idata$5
2392 00000000·i·.idata$72392 00000000·i·.idata$7
2393 00000000·t·.text2393 00000000·t·.text
2394 00000000·I·___tmp_rustcvTAGHR_bcryptprimitives_lib_iname2394 00000000·I·___tmp_rustcVlEFrR_bcryptprimitives_lib_iname
  
2395 bcryptprimitives.dllh.o:2395 bcryptprimitives.dllh.o:
2396 00000000·b·.bss2396 00000000·b·.bss
2397 00000000·d·.data2397 00000000·d·.data
2398 00000000·i·.idata$22398 00000000·i·.idata$2
2399 00000000·i·.idata$42399 00000000·i·.idata$4
2400 00000000·i·.idata$52400 00000000·i·.idata$5
2401 00000000·t·.text2401 00000000·t·.text
2402 ·········U·___tmp_rustcvTAGHR_bcryptprimitives_lib_iname2402 ·········U·___tmp_rustcVlEFrR_bcryptprimitives_lib_iname
2403 00000000·I·_head__tmp_rustcvTAGHR_bcryptprimitives_lib2403 00000000·I·_head__tmp_rustcVlEFrR_bcryptprimitives_lib
2404 00000000·i·fthunk2404 00000000·i·fthunk
2405 00000000·i·hname2405 00000000·i·hname
  
2406 bcryptprimitives.dlls00000.o:2406 bcryptprimitives.dlls00000.o:
2407 00000000·b·.bss2407 00000000·b·.bss
2408 00000000·d·.data2408 00000000·d·.data
2409 00000000·i·.idata$42409 00000000·i·.idata$4
2410 00000000·i·.idata$52410 00000000·i·.idata$5
2411 00000000·i·.idata$62411 00000000·i·.idata$6
2412 00000000·i·.idata$72412 00000000·i·.idata$7
2413 00000000·t·.text2413 00000000·t·.text
2414 00000000·T·ProcessPrng2414 00000000·T·ProcessPrng
2415 00000000·I·__imp_ProcessPrng2415 00000000·I·__imp_ProcessPrng
2416 ·········U·_head__tmp_rustcvTAGHR_bcryptprimitives_lib2416 ·········U·_head__tmp_rustcVlEFrR_bcryptprimitives_lib
  
2417 api-ms-win-core-synch-l1-2-0.dllt.o:2417 api-ms-win-core-synch-l1-2-0.dllt.o:
2418 00000000·b·.bss2418 00000000·b·.bss
2419 00000000·d·.data2419 00000000·d·.data
2420 00000000·i·.idata$42420 00000000·i·.idata$4
2421 00000000·i·.idata$52421 00000000·i·.idata$5
2422 00000000·i·.idata$72422 00000000·i·.idata$7
2423 00000000·t·.text2423 00000000·t·.text
2424 00000000·I·___tmp_rustcvTAGHR_api_ms_win_core_synch_l1_2_0_lib_iname2424 00000000·I·___tmp_rustcVlEFrR_api_ms_win_core_synch_l1_2_0_lib_iname
  
2425 api-ms-win-core-synch-l1-2-0.dllh.o:2425 api-ms-win-core-synch-l1-2-0.dllh.o:
2426 00000000·b·.bss2426 00000000·b·.bss
2427 00000000·d·.data2427 00000000·d·.data
2428 00000000·i·.idata$22428 00000000·i·.idata$2
2429 00000000·i·.idata$42429 00000000·i·.idata$4
2430 00000000·i·.idata$52430 00000000·i·.idata$5
2431 00000000·t·.text2431 00000000·t·.text
2432 ·········U·___tmp_rustcvTAGHR_api_ms_win_core_synch_l1_2_0_lib_iname2432 ·········U·___tmp_rustcVlEFrR_api_ms_win_core_synch_l1_2_0_lib_iname
2433 00000000·I·_head__tmp_rustcvTAGHR_api_ms_win_core_synch_l1_2_0_lib2433 00000000·I·_head__tmp_rustcVlEFrR_api_ms_win_core_synch_l1_2_0_lib
2434 00000000·i·fthunk2434 00000000·i·fthunk
2435 00000000·i·hname2435 00000000·i·hname
  
2436 api-ms-win-core-synch-l1-2-0.dlls00002.o:2436 api-ms-win-core-synch-l1-2-0.dlls00002.o:
2437 00000000·b·.bss2437 00000000·b·.bss
2438 00000000·d·.data2438 00000000·d·.data
2439 00000000·i·.idata$42439 00000000·i·.idata$4
2440 00000000·i·.idata$52440 00000000·i·.idata$5
2441 00000000·i·.idata$62441 00000000·i·.idata$6
2442 00000000·i·.idata$72442 00000000·i·.idata$7
2443 00000000·t·.text2443 00000000·t·.text
2444 00000000·T·WakeByAddressSingle2444 00000000·T·WakeByAddressSingle
2445 00000000·I·__imp_WakeByAddressSingle2445 00000000·I·__imp_WakeByAddressSingle
2446 ·········U·_head__tmp_rustcvTAGHR_api_ms_win_core_synch_l1_2_0_lib2446 ·········U·_head__tmp_rustcVlEFrR_api_ms_win_core_synch_l1_2_0_lib
  
2447 api-ms-win-core-synch-l1-2-0.dlls00001.o:2447 api-ms-win-core-synch-l1-2-0.dlls00001.o:
2448 00000000·b·.bss2448 00000000·b·.bss
2449 00000000·d·.data2449 00000000·d·.data
2450 00000000·i·.idata$42450 00000000·i·.idata$4
2451 00000000·i·.idata$52451 00000000·i·.idata$5
2452 00000000·i·.idata$62452 00000000·i·.idata$6
2453 00000000·i·.idata$72453 00000000·i·.idata$7
2454 00000000·t·.text2454 00000000·t·.text
2455 00000000·T·WakeByAddressAll2455 00000000·T·WakeByAddressAll
2456 00000000·I·__imp_WakeByAddressAll2456 00000000·I·__imp_WakeByAddressAll
2457 ·········U·_head__tmp_rustcvTAGHR_api_ms_win_core_synch_l1_2_0_lib2457 ·········U·_head__tmp_rustcVlEFrR_api_ms_win_core_synch_l1_2_0_lib
  
2458 api-ms-win-core-synch-l1-2-0.dlls00000.o:2458 api-ms-win-core-synch-l1-2-0.dlls00000.o:
2459 00000000·b·.bss2459 00000000·b·.bss
2460 00000000·d·.data2460 00000000·d·.data
2461 00000000·i·.idata$42461 00000000·i·.idata$4
2462 00000000·i·.idata$52462 00000000·i·.idata$5
2463 00000000·i·.idata$62463 00000000·i·.idata$6
2464 00000000·i·.idata$72464 00000000·i·.idata$7
2465 00000000·t·.text2465 00000000·t·.text
2466 00000000·T·WaitOnAddress2466 00000000·T·WaitOnAddress
2467 00000000·I·__imp_WaitOnAddress2467 00000000·I·__imp_WaitOnAddress
2468 ·········U·_head__tmp_rustcvTAGHR_api_ms_win_core_synch_l1_2_0_lib2468 ·········U·_head__tmp_rustcVlEFrR_api_ms_win_core_synch_l1_2_0_lib
813 B
bcryptprimitives.dllt.o
    
Offset 30, 10 lines modifiedOffset 30, 10 lines modified
000001d0:·0000·0000·0000·0000·2e69·6461·7461·2435··.........idata$5000001d0:·0000·0000·0000·0000·2e69·6461·7461·2435··.........idata$5
000001e0:·0000·0000·0500·0000·0301·0400·0000·0000··................000001e0:·0000·0000·0500·0000·0301·0400·0000·0000··................
000001f0:·0000·0000·0000·0000·0000·0000·2e69·6461··.............ida000001f0:·0000·0000·0000·0000·0000·0000·2e69·6461··.............ida
00000200:·7461·2437·0000·0000·0600·0000·0301·1500··ta$7............00000200:·7461·2437·0000·0000·0600·0000·0301·1500··ta$7............
00000210:·0000·0000·0000·0000·0000·0000·0000·0000··................00000210:·0000·0000·0000·0000·0000·0000·0000·0000··................
00000220:·0000·0000·0400·0000·0000·0000·0600·0000··................00000220:·0000·0000·0400·0000·0000·0000·0600·0000··................
00000230:·0200·3200·0000·5f5f·5f74·6d70·5f72·7573··..2...___tmp_rus00000230:·0200·3200·0000·5f5f·5f74·6d70·5f72·7573··..2...___tmp_rus
00000240:·7463·7654·4147·4852·5f62·6372·7970·7470··tcvTAGHR_bcryptp00000240:·7463·566c·4546·7252·5f62·6372·7970·7470··tcVlEFrR_bcryptp
00000250:·7269·6d69·7469·7665·735f·6c69·625f·696e··rimitives_lib_in00000250:·7269·6d69·7469·7665·735f·6c69·625f·696e··rimitives_lib_in
00000260:·616d·6500································ame.00000260:·616d·6500································ame.
1.06 KB
bcryptprimitives.dllh.o
    
Offset 32, 13 lines modifiedOffset 32, 13 lines modified
000001f0:·2432·0000·0000·0400·0000·0301·1400·0000··$2..............000001f0:·2432·0000·0000·0400·0000·0301·1400·0000··$2..............
00000200:·0300·0000·0000·0000·0000·0000·0000·2e69··...............i00000200:·0300·0000·0000·0000·0000·0000·0000·2e69··...............i
00000210:·6461·7461·2434·0000·0000·0600·0000·0300··data$4..........00000210:·6461·7461·2434·0000·0000·0600·0000·0300··data$4..........
00000220:·2e69·6461·7461·2435·0000·0000·0500·0000··.idata$5........00000220:·2e69·6461·7461·2435·0000·0000·0500·0000··.idata$5........
00000230:·0300·0000·0000·0400·0000·0000·0000·0400··................00000230:·0300·0000·0000·0400·0000·0000·0000·0400··................
00000240:·0000·0200·0000·0000·3000·0000·0000·0000··........0.......00000240:·0000·0200·0000·0000·3000·0000·0000·0000··........0.......
00000250:·0000·0000·0200·5e00·0000·5f68·6561·645f··......^..._head_00000250:·0000·0000·0200·5e00·0000·5f68·6561·645f··......^..._head_
00000260:·5f74·6d70·5f72·7573·7463·7654·4147·4852··_tmp_rustcvTAGHR00000260:·5f74·6d70·5f72·7573·7463·566c·4546·7252··_tmp_rustcVlEFrR
00000270:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive00000270:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive
00000280:·735f·6c69·6200·5f5f·5f74·6d70·5f72·7573··s_lib.___tmp_rus00000280:·735f·6c69·6200·5f5f·5f74·6d70·5f72·7573··s_lib.___tmp_rus
00000290:·7463·7654·4147·4852·5f62·6372·7970·7470··tcvTAGHR_bcryptp00000290:·7463·566c·4546·7252·5f62·6372·7970·7470··tcVlEFrR_bcryptp
000002a0:·7269·6d69·7469·7665·735f·6c69·625f·696e··rimitives_lib_in000002a0:·7269·6d69·7469·7665·735f·6c69·625f·696e··rimitives_lib_in
000002b0:·616d·6500································ame.000002b0:·616d·6500································ame.
898 B
bcryptprimitives.dlls00000.o
    
Offset 31, 10 lines modifiedOffset 31, 10 lines modified
000001e0:·0000·0300·2e69·6461·7461·2436·0000·0000··.....idata$6....000001e0:·0000·0300·2e69·6461·7461·2436·0000·0000··.....idata$6....
000001f0:·0700·0000·0300·0000·0000·0400·0000·0000··................000001f0:·0700·0000·0300·0000·0000·0400·0000·0000··................
00000200:·0000·0100·0000·0200·0000·0000·1000·0000··................00000200:·0000·0100·0000·0200·0000·0000·1000·0000··................
00000210:·0000·0000·0500·0000·0200·0000·0000·2200··..............".00000210:·0000·0000·0500·0000·0200·0000·0000·2200··..............".
00000220:·0000·0000·0000·0000·0000·0200·4e00·0000··............N...00000220:·0000·0000·0000·0000·0000·0200·4e00·0000··............N...
00000230:·5072·6f63·6573·7350·726e·6700·5f5f·696d··ProcessPrng.__im00000230:·5072·6f63·6573·7350·726e·6700·5f5f·696d··ProcessPrng.__im
00000240:·705f·5072·6f63·6573·7350·726e·6700·5f68··p_ProcessPrng._h00000240:·705f·5072·6f63·6573·7350·726e·6700·5f68··p_ProcessPrng._h
00000250:·6561·645f·5f74·6d70·5f72·7573·7463·7654··ead__tmp_rustcvT00000250:·6561·645f·5f74·6d70·5f72·7573·7463·566c··ead__tmp_rustcVl
00000260:·4147·4852·5f62·6372·7970·7470·7269·6d69··AGHR_bcryptprimi00000260:·4546·7252·5f62·6372·7970·7470·7269·6d69··EFrR_bcryptprimi
00000270:·7469·7665·735f·6c69·6200·················tives_lib.00000270:·7469·7665·735f·6c69·6200·················tives_lib.
983 B
api-ms-win-core-synch-l1-2-0.dllt.o
    
Offset 30, 11 lines modifiedOffset 30, 11 lines modified
000001d0:·0301·0400·0000·0000·0000·0000·0000·0000··................000001d0:·0301·0400·0000·0000·0000·0000·0000·0000··................
000001e0:·0000·0000·2e69·6461·7461·2435·0000·0000··.....idata$5....000001e0:·0000·0000·2e69·6461·7461·2435·0000·0000··.....idata$5....
000001f0:·0500·0000·0301·0400·0000·0000·0000·0000··................000001f0:·0500·0000·0301·0400·0000·0000·0000·0000··................
00000200:·0000·0000·0000·0000·2e69·6461·7461·2437··.........idata$700000200:·0000·0000·0000·0000·2e69·6461·7461·2437··.........idata$7
00000210:·0000·0000·0600·0000·0301·2100·0000·0000··..........!.....00000210:·0000·0000·0600·0000·0301·2100·0000·0000··..........!.....
00000220:·0000·0000·0000·0000·0000·0000·0000·0000··................00000220:·0000·0000·0000·0000·0000·0000·0000·0000··................
00000230:·0400·0000·0000·0000·0600·0000·0200·3e00··..............>.00000230:·0400·0000·0000·0000·0600·0000·0200·3e00··..............>.
00000240:·0000·5f5f·5f74·6d70·5f72·7573·7463·7654··..___tmp_rustcvT00000240:·0000·5f5f·5f74·6d70·5f72·7573·7463·566c··..___tmp_rustcVl
00000250:·4147·4852·5f61·7069·5f6d·735f·7769·6e5f··AGHR_api_ms_win_00000250:·4546·7252·5f61·7069·5f6d·735f·7769·6e5f··EFrR_api_ms_win_
00000260:·636f·7265·5f73·796e·6368·5f6c·315f·325f··core_synch_l1_2_00000260:·636f·7265·5f73·796e·6368·5f6c·315f·325f··core_synch_l1_2_
00000270:·305f·6c69·625f·696e·616d·6500············0_lib_iname.00000270:·305f·6c69·625f·696e·616d·6500············0_lib_iname.
1.23 KB
api-ms-win-core-synch-l1-2-0.dllh.o
    
Offset 32, 14 lines modifiedOffset 32, 14 lines modified
000001f0:·2432·0000·0000·0400·0000·0301·1400·0000··$2..............000001f0:·2432·0000·0000·0400·0000·0301·1400·0000··$2..............
00000200:·0300·0000·0000·0000·0000·0000·0000·2e69··...............i00000200:·0300·0000·0000·0000·0000·0000·0000·2e69··...............i
00000210:·6461·7461·2434·0000·0000·0600·0000·0300··data$4..........00000210:·6461·7461·2434·0000·0000·0600·0000·0300··data$4..........
00000220:·2e69·6461·7461·2435·0000·0000·0500·0000··.idata$5........00000220:·2e69·6461·7461·2435·0000·0000·0500·0000··.idata$5........
00000230:·0300·0000·0000·0400·0000·0000·0000·0400··................00000230:·0300·0000·0000·0400·0000·0000·0000·0400··................
00000240:·0000·0200·0000·0000·3c00·0000·0000·0000··........<.......00000240:·0000·0200·0000·0000·3c00·0000·0000·0000··........<.......
00000250:·0000·0000·0200·7600·0000·5f68·6561·645f··......v..._head_00000250:·0000·0000·0200·7600·0000·5f68·6561·645f··......v..._head_
00000260:·5f74·6d70·5f72·7573·7463·7654·4147·4852··_tmp_rustcvTAGHR00000260:·5f74·6d70·5f72·7573·7463·566c·4546·7252··_tmp_rustcVlEFrR
00000270:·5f61·7069·5f6d·735f·7769·6e5f·636f·7265··_api_ms_win_core00000270:·5f61·7069·5f6d·735f·7769·6e5f·636f·7265··_api_ms_win_core
00000280:·5f73·796e·6368·5f6c·315f·325f·305f·6c69··_synch_l1_2_0_li00000280:·5f73·796e·6368·5f6c·315f·325f·305f·6c69··_synch_l1_2_0_li
00000290:·6200·5f5f·5f74·6d70·5f72·7573·7463·7654··b.___tmp_rustcvT00000290:·6200·5f5f·5f74·6d70·5f72·7573·7463·566c··b.___tmp_rustcVl
000002a0:·4147·4852·5f61·7069·5f6d·735f·7769·6e5f··AGHR_api_ms_win_000002a0:·4546·7252·5f61·7069·5f6d·735f·7769·6e5f··EFrR_api_ms_win_
000002b0:·636f·7265·5f73·796e·6368·5f6c·315f·325f··core_synch_l1_2_000002b0:·636f·7265·5f73·796e·6368·5f6c·315f·325f··core_synch_l1_2_
000002c0:·305f·6c69·625f·696e·616d·6500············0_lib_iname.000002c0:·305f·6c69·625f·696e·616d·6500············0_lib_iname.
857 B
api-ms-win-core-synch-l1-2-0.dlls00002.o
    
Offset 33, 10 lines modifiedOffset 33, 10 lines modified
00000200:·0000·0400·0000·0000·0000·0100·0000·0200··................00000200:·0000·0400·0000·0000·0000·0100·0000·0200··................
00000210:·0000·0000·1800·0000·0000·0000·0500·0000··................00000210:·0000·0000·1800·0000·0000·0000·0500·0000··................
00000220:·0200·0000·0000·3200·0000·0000·0000·0000··......2.........00000220:·0200·0000·0000·3200·0000·0000·0000·0000··......2.........
00000230:·0000·0200·6a00·0000·5761·6b65·4279·4164··....j...WakeByAd00000230:·0000·0200·6a00·0000·5761·6b65·4279·4164··....j...WakeByAd
00000240:·6472·6573·7353·696e·676c·6500·5f5f·696d··dressSingle.__im00000240:·6472·6573·7353·696e·676c·6500·5f5f·696d··dressSingle.__im
00000250:·705f·5761·6b65·4279·4164·6472·6573·7353··p_WakeByAddressS00000250:·705f·5761·6b65·4279·4164·6472·6573·7353··p_WakeByAddressS
00000260:·696e·676c·6500·5f68·6561·645f·5f74·6d70··ingle._head__tmp00000260:·696e·676c·6500·5f68·6561·645f·5f74·6d70··ingle._head__tmp
00000270:·5f72·7573·7463·7654·4147·4852·5f61·7069··_rustcvTAGHR_api00000270:·5f72·7573·7463·566c·4546·7252·5f61·7069··_rustcVlEFrR_api
00000280:·5f6d·735f·7769·6e5f·636f·7265·5f73·796e··_ms_win_core_syn00000280:·5f6d·735f·7769·6e5f·636f·7265·5f73·796e··_ms_win_core_syn
00000290:·6368·5f6c·315f·325f·305f·6c69·6200·······ch_l1_2_0_lib.00000290:·6368·5f6c·315f·325f·305f·6c69·6200·······ch_l1_2_0_lib.
985 B
api-ms-win-core-synch-l1-2-0.dlls00001.o
    
Offset 32, 11 lines modifiedOffset 32, 11 lines modified
000001f0:·0000·0000·0700·0000·0300·0000·0000·0400··................000001f0:·0000·0000·0700·0000·0300·0000·0000·0400··................
00000200:·0000·0000·0000·0100·0000·0200·0000·0000··................00000200:·0000·0000·0000·0100·0000·0200·0000·0000··................
00000210:·1500·0000·0000·0000·0500·0000·0200·0000··................00000210:·1500·0000·0000·0000·0500·0000·0200·0000··................
00000220:·0000·2c00·0000·0000·0000·0000·0000·0200··..,.............00000220:·0000·2c00·0000·0000·0000·0000·0000·0200··..,.............
00000230:·6400·0000·5761·6b65·4279·4164·6472·6573··d...WakeByAddres00000230:·6400·0000·5761·6b65·4279·4164·6472·6573··d...WakeByAddres
00000240:·7341·6c6c·005f·5f69·6d70·5f57·616b·6542··sAll.__imp_WakeB00000240:·7341·6c6c·005f·5f69·6d70·5f57·616b·6542··sAll.__imp_WakeB
00000250:·7941·6464·7265·7373·416c·6c00·5f68·6561··yAddressAll._hea00000250:·7941·6464·7265·7373·416c·6c00·5f68·6561··yAddressAll._hea
00000260:·645f·5f74·6d70·5f72·7573·7463·7654·4147··d__tmp_rustcvTAG00000260:·645f·5f74·6d70·5f72·7573·7463·566c·4546··d__tmp_rustcVlEF
00000270:·4852·5f61·7069·5f6d·735f·7769·6e5f·636f··HR_api_ms_win_co00000270:·7252·5f61·7069·5f6d·735f·7769·6e5f·636f··rR_api_ms_win_co
00000280:·7265·5f73·796e·6368·5f6c·315f·325f·305f··re_synch_l1_2_0_00000280:·7265·5f73·796e·6368·5f6c·315f·325f·305f··re_synch_l1_2_0_
00000290:·6c69·6200································lib.00000290:·6c69·6200································lib.
853 B
api-ms-win-core-synch-l1-2-0.dlls00000.o
    
Offset 32, 10 lines modifiedOffset 32, 10 lines modified
000001f0:·0700·0000·0300·0000·0000·0400·0000·0000··................000001f0:·0700·0000·0300·0000·0000·0400·0000·0000··................
00000200:·0000·0100·0000·0200·0000·0000·1200·0000··................00000200:·0000·0100·0000·0200·0000·0000·1200·0000··................
00000210:·0000·0000·0500·0000·0200·0000·0000·2600··..............&.00000210:·0000·0000·0500·0000·0200·0000·0000·2600··..............&.
00000220:·0000·0000·0000·0000·0000·0200·5e00·0000··............^...00000220:·0000·0000·0000·0000·0000·0200·5e00·0000··............^...
00000230:·5761·6974·4f6e·4164·6472·6573·7300·5f5f··WaitOnAddress.__00000230:·5761·6974·4f6e·4164·6472·6573·7300·5f5f··WaitOnAddress.__
00000240:·696d·705f·5761·6974·4f6e·4164·6472·6573··imp_WaitOnAddres00000240:·696d·705f·5761·6974·4f6e·4164·6472·6573··imp_WaitOnAddres
00000250:·7300·5f68·6561·645f·5f74·6d70·5f72·7573··s._head__tmp_rus00000250:·7300·5f68·6561·645f·5f74·6d70·5f72·7573··s._head__tmp_rus
00000260:·7463·7654·4147·4852·5f61·7069·5f6d·735f··tcvTAGHR_api_ms_00000260:·7463·566c·4546·7252·5f61·7069·5f6d·735f··tcVlEFrR_api_ms_
00000270:·7769·6e5f·636f·7265·5f73·796e·6368·5f6c··win_core_synch_l00000270:·7769·6e5f·636f·7265·5f73·796e·6368·5f6c··win_core_synch_l
00000280:·315f·325f·305f·6c69·6200·················1_2_0_lib.00000280:·315f·325f·305f·6c69·6200·················1_2_0_lib.
591 KB
./usr/lib/rustlib/i686-pc-windows-gnu/lib/std-d27da00d973397d3.dll
    
Offset 7, 15 lines modifiedOffset 7, 15 lines modified
00000060:·7420·6265·2072·756e·2069·6e20·444f·5320··t·be·run·in·DOS·00000060:·7420·6265·2072·756e·2069·6e20·444f·5320··t·be·run·in·DOS·
00000070:·6d6f·6465·2e0d·0d0a·2400·0000·0000·0000··mode....$.......00000070:·6d6f·6465·2e0d·0d0a·2400·0000·0000·0000··mode....$.......
00000080:·5045·0000·4c01·1700·c737·cf66·0074·5701··PE..L....7.f.tW.00000080:·5045·0000·4c01·1700·c737·cf66·0074·5701··PE..L....7.f.tW.
00000090:·2633·0000·e000·2621·0b01·0228·00a6·0b00··&3....&!...(....00000090:·2633·0000·e000·2621·0b01·0228·00a6·0b00··&3....&!...(....
000000a0:·0088·8c00·0002·0000·9013·0000·0010·0000··................000000a0:·0088·8c00·0002·0000·9013·0000·0010·0000··................
000000b0:·00c0·0b00·0000·0010·0010·0000·0002·0000··................000000b0:·00c0·0b00·0000·0010·0010·0000·0002·0000··................
000000c0:·0400·0000·0100·0000·0400·0000·0000·0000··................000000c0:·0400·0000·0100·0000·0400·0000·0000·0000··................
000000d0:·0050·5801·0006·0000·fbed·6101·0300·4001··.PX.......a...@.000000d0:·0050·5801·0006·0000·a3a8·6101·0300·4001··.PX.......a...@.
000000e0:·0000·2000·0010·0000·0000·1000·0010·0000··..·.............000000e0:·0000·2000·0010·0000·0000·1000·0010·0000··..·.............
000000f0:·0000·0000·1000·0000·00e0·8900·7066·0200··............pf..000000f0:·0000·0000·1000·0000·00e0·8900·7066·0200··............pf..
00000100:·0050·8c00·f415·0000·0000·0000·0000·0000··.P..............00000100:·0050·8c00·f415·0000·0000·0000·0000·0000··.P..............
00000110:·0000·0000·0000·0000·0000·0000·0000·0000··................00000110:·0000·0000·0000·0000·0000·0000·0000·0000··................
00000120:·0090·8c00·706d·0000·0000·0000·0000·0000··....pm..........00000120:·0090·8c00·706d·0000·0000·0000·0000·0000··....pm..........
00000130:·0000·0000·0000·0000·0000·0000·0000·0000··................00000130:·0000·0000·0000·0000·0000·0000·0000·0000··................
00000140:·74b8·0d00·1800·0000·0000·0000·0000·0000··t...............00000140:·74b8·0d00·1800·0000·0000·0000·0000·0000··t...............
Offset 1420285, 1134 lines modifiedOffset 1420285, 1134 lines modified
015abfc0:·0000·0000·7b1f·0500·e821·0600·0100·0000··....{....!......015abfc0:·0000·0000·7b1f·0500·e821·0600·0100·0000··....{....!......
015abfd0:·0200·0000·0000·921f·0500·4850·0000·0300··..........HP....015abfd0:·0200·0000·0000·921f·0500·4850·0000·0300··..........HP....
015abfe0:·0000·0200·0000·0000·d51f·0500·2402·0000··............$...015abfe0:·0000·0200·0000·0000·d51f·0500·2402·0000··............$...
015abff0:·0200·0000·0200·0000·0000·1f20·0500·9832··...........·...2015abff0:·0200·0000·0200·0000·0000·1f20·0500·9832··...........·...2
015ac000:·0000·0300·0000·0200·0000·0000·6320·0500··............c·..015ac000:·0000·0300·0000·0200·0000·0000·6320·0500··............c·..
015ac010:·f004·0000·0800·0000·0200·0000·0000·8420··...............·015ac010:·f004·0000·0800·0000·0200·0000·0000·8420··...............·
Diff chunk too large, falling back to line-by-line diff (1120 lines added, 1120 lines removed)
015ac020:·0500·6823·0600·0100·0000·0200·0000·0000··..h#............015ac020:·0500·6823·0600·0100·0000·0200·0000·0000··..h#............
015ac030:·9420·0500·b812·0000·0800·0000·0200·0000··.·..............015ac030:·9420·0500·ac02·0000·0200·0000·0200·0000··.·..............
015ac040:·0000·ce20·0500·ac02·0000·0200·0000·0200··...·............015ac040:·0000·de20·0500·5803·0100·0300·0000·0200··...·..X.........
015ac050:·0000·0000·1821·0500·5803·0100·0300·0000··.....!..X.......015ac050:·0000·0000·2221·0500·442d·0000·0300·0000··...."!..D-......
015ac060:·0200·0000·0000·5c21·0500·442d·0000·0300··......\!..D-....015ac060:·0200·0000·0000·6421·0500·0825·0600·0100··......d!...%....
015ac070:·0000·0200·0000·0000·9e21·0500·0825·0600··.........!...%..015ac070:·0000·0200·0000·0000·7421·0500·b002·0000··........t!......
015ac080:·0100·0000·0200·0000·0000·ae21·0500·b002··...........!....015ac080:·0200·0000·0200·0000·0000·be21·0500·0400··...........!....
015ac090:·0000·0200·0000·0200·0000·0000·f821·0500··.............!..015ac090:·0000·ffff·0000·0200·0000·0000·d321·0500··.............!..
015ac0a0:·0400·0000·ffff·0000·0200·0000·0000·0d22··..............."015ac0a0:·ac04·0000·0800·0000·0200·0000·0000·ff21··...............!
015ac0b0:·0500·ac04·0000·0800·0000·0200·0000·0000··................015ac0b0:·0500·7404·0000·0200·0000·0200·0000·0000··..t.............
015ac0c0:·3922·0500·7404·0000·0200·0000·0200·0000··9"..t...........015ac0c0:·4822·0500·1800·0000·0200·0000·0200·0000··H"..............
015ac0d0:·0000·8222·0500·1800·0000·0200·0000·0200··..."............015ac0d0:·0000·9022·0500·c821·0600·0100·0000·0200··..."...!........
015ac0e0:·0000·0000·ca22·0500·c821·0600·0100·0000··....."...!......015ac0e0:·0000·0000·a022·0500·884b·0000·0300·0000··....."...K......
015ac0f0:·0200·0000·0000·da22·0500·884b·0000·0300··......."...K....015ac0f0:·0200·0000·0000·e222·0500·8002·0000·0200··......."........
015ac100:·0000·0200·0000·0000·1c23·0500·8002·0000··.........#......015ac100:·0000·0200·5f61·626f·7274·0000·f06e·0b00··...._abort...n..
015ac110:·0200·0000·0200·5f61·626f·7274·0000·f06e··......_abort...n015ac110:·0100·2000·0200·0000·0000·2c23·0500·2025··..·.......,#..·%
015ac120:·0b00·0100·2000·0200·0000·0000·6623·0500··....·.......f#..015ac120:·0600·0100·0000·0200·0000·0000·4923·0500··............I#..
015ac130:·2025·0600·0100·0000·0200·0000·0000·8323···%.............#015ac130:·505a·0000·0300·0000·0200·0000·0000·8c23··PZ.............#
015ac140:·0500·505a·0000·0300·0000·0200·0000·0000··..PZ............015ac140:·0500·dc05·0000·0800·0000·0200·0000·0000··................
015ac150:·c623·0500·dc05·0000·0800·0000·0200·0000··.#..............015ac150:·a123·0500·ee1e·0000·0300·0000·0200·0000··.#..............
015ac160:·0000·db23·0500·ee1e·0000·0300·0000·0200··...#............015ac160:·0000·e423·0500·e400·0100·0300·0000·0200··...#............
015ac170:·0000·0000·1e24·0500·e400·0100·0300·0000··.....$..........015ac170:·0000·0000·1a24·0500·c679·0100·0300·0000··.....$...y......
015ac180:·0200·0000·0000·5424·0500·c679·0100·0300··......T$...y....015ac180:·0200·0000·0000·5e24·0500·7c05·0000·0800··......^$..|.....
015ac190:·0000·0200·0000·0000·9824·0500·7c05·0000··.........$..|...015ac190:·0000·0200·0000·0000·6c24·0500·7061·0000··........l$..pa..
015ac1a0:·0800·0000·0200·0000·0000·a624·0500·7061··...........$..pa015ac1a0:·0300·0000·0200·0000·0000·ae24·0500·ac79··...........$...y
015ac1b0:·0000·0300·0000·0200·0000·0000·e824·0500··.............$..015ac1b0:·0100·0300·0000·0200·0000·0000·f224·0500··.............$..
015ac1c0:·ac79·0100·0300·0000·0200·0000·0000·2c25··.y............,%015ac1c0:·4c03·0000·0200·0000·0200·0000·0000·3b25··L.............;%
015ac1d0:·0500·4c03·0000·0200·0000·0200·0000·0000··..L.............015ac1d0:·0500·4171·0100·0300·0000·0200·0000·0000··..Aq............
015ac1e0:·7525·0500·4171·0100·0300·0000·0200·0000··u%..Aq..........015ac1e0:·7f25·0500·442b·0000·0300·0000·0200·0000··.%..D+..........
015ac1f0:·0000·b925·0500·442b·0000·0300·0000·0200··...%..D+........015ac1f0:·0000·c325·0500·0024·0600·0100·0000·0200··...%...$........
015ac200:·0000·0000·fd25·0500·0024·0600·0100·0000··.....%...$......015ac200:·0000·0000·d825·0500·653e·0000·0300·0000··.....%..e>......
015ac210:·0200·0000·0000·1226·0500·653e·0000·0300··.......&..e>....015ac210:·0200·0000·0000·1b26·0500·5803·0000·0200··.......&..X.....
015ac220:·0000·0200·0000·0000·5526·0500·5803·0000··........U&..X...015ac220:·0000·0200·0000·0000·6526·0500·0000·0000··........e&......
015ac230:·0200·0000·0200·0000·0000·9f26·0500·0000··...........&....015ac230:·ffff·0000·0200·0000·0000·7d26·0500·4887··..........}&..H.
015ac240:·0000·ffff·0000·0200·0000·0000·b726·0500··.............&..015ac240:·0100·0300·0000·0200·0000·0000·c026·0500··.............&..
015ac250:·4887·0100·0300·0000·0200·0000·0000·fa26··H..............&015ac250:·28de·0000·0300·0000·0200·0000·0000·0127··(..............'
015ac260:·0500·28de·0000·0300·0000·0200·0000·0000··..(.............015ac260:·0500·0000·0000·ffff·0000·0200·0000·0000··................
015ac270:·3b27·0500·0000·0000·ffff·0000·0200·0000··;'..............015ac270:·1227·0500·0010·0000·ffff·0000·0200·0000··.'..............
015ac280:·0000·4c27·0500·0010·0000·ffff·0000·0200··..L'............015ac280:·0000·2a27·0500·4c04·0000·0800·0000·0200··..*'..L.........
015ac290:·0000·0000·6427·0500·4c04·0000·0800·0000··....d'..L.......015ac290:·0000·0000·5127·0500·1c02·0000·0200·0000··....Q'..........
015ac2a0:·0200·0000·0000·8b27·0500·1c02·0000·0200··.......'........015ac2a0:·0200·0000·0000·9b27·0500·64e4·0100·0500··.......'..d.....
015ac2b0:·0000·0200·0000·0000·d527·0500·64e4·0100··.........'..d...015ac2b0:·0000·0200·0000·0000·ad27·0500·0000·0010··.........'......
015ac2c0:·0500·0000·0200·0000·0000·e727·0500·0000··...........'....015ac2c0:·ffff·0000·0200·0000·0000·ba27·0500·8404··...........'....
015ac2d0:·0010·ffff·0000·0200·0000·0000·f427·0500··.............'..015ac2d0:·0000·0800·0000·0200·0000·0000·d127·0500··.............'..
015ac2e0:·8404·0000·0800·0000·0200·0000·0000·0b28··...............(015ac2e0:·0c03·0000·0200·0000·0200·0000·0000·1a28··...............(
015ac2f0:·0500·0c03·0000·0200·0000·0200·0000·0000··................015ac2f0:·0500·3402·0000·0200·0000·0200·0000·0000··..4.............
015ac300:·5428·0500·3402·0000·0200·0000·0200·0000··T(..4...........015ac300:·6428·0500·5823·0600·0100·0000·0200·0000··d(..X#..........
015ac310:·0000·9e28·0500·5823·0600·0100·0000·0200··...(..X#........015ac310:·0000·7b28·0500·4005·0000·0800·0000·0200··..{(..@.........
015ac320:·0000·0000·b528·0500·4005·0000·0800·0000··.....(..@.......015ac320:·0000·0000·9228·0500·c03b·0000·0300·0000··.....(...;......
015ac330:·0200·0000·0000·cc28·0500·c03b·0000·0300··.......(...;....015ac330:·0200·0000·0000·d628·0500·a4eb·0100·0300··.......(........
015ac340:·0000·0200·0000·0000·1029·0500·a4eb·0100··.........)......015ac340:·0000·0200·0000·0000·f428·0500·c044·0000··.........(...D..
015ac350:·0300·0000·0200·0000·0000·2e29·0500·1400··...........)....015ac350:·0300·0000·0200·0000·0000·3829·0500·d023··..........8)...#
015ac360:·0000·0800·0000·0200·0000·0000·5a29·0500··............Z)..015ac360:·0600·0100·0000·0200·0000·0000·4e29·0500··............N)..
015ac370:·c044·0000·0300·0000·0200·0000·0000·9e29··.D.............)015ac370:·5804·0000·0800·0000·0200·0000·0000·6929··X.............i)
015ac380:·0500·d023·0600·0100·0000·0200·0000·0000··...#............015ac380:·0500·a027·0000·0300·0000·0200·0000·0000··...'............
015ac390:·b429·0500·5804·0000·0800·0000·0200·0000··.)..X...........015ac390:·ac29·0500·e857·0000·0300·0000·0200·0000··.)...W..........
015ac3a0:·0000·cf29·0500·a027·0000·0300·0000·0200··...)...'........015ac3a0:·0000·f029·0500·5406·0000·0800·0000·0200··...)..T.........
015ac3b0:·0000·0000·122a·0500·e857·0000·0300·0000··.....*...W......015ac3b0:·0000·0000·052a·0500·6403·0000·0200·0000··.....*..d.......
015ac3c0:·0200·0000·0000·562a·0500·5406·0000·0800··......V*..T.....015ac3c0:·0200·0000·0000·4f2a·0500·b812·0000·0800··......O*........
015ac3d0:·0000·0200·0000·0000·6b2a·0500·6403·0000··........k*..d...015ac3d0:·0000·0200·0000·0000·892a·0500·e000·0000··.........*......
015ac3e0:·0200·0000·0200·0000·0000·b52a·0500·e000··...........*....015ac3e0:·0600·0000·0200·0000·0000·d32a·0500·0405··...........*....
015ac3f0:·0000·0600·0000·0200·0000·0000·ff2a·0500··.............*..015ac3f0:·0000·0800·0000·0200·0000·0000·f22a·0500··.............*..
015ac400:·0405·0000·0800·0000·0200·0000·0000·1e2b··...............+015ac400:·d403·0000·0800·0000·0200·0000·0000·0b2b··...............+
015ac410:·0500·d403·0000·0800·0000·0200·0000·0000··................015ac410:·0500·bc02·0000·0200·0000·0200·0000·0000··................
015ac420:·372b·0500·bc02·0000·0200·0000·0200·0000··7+..............015ac420:·552b·0500·1412·0000·0300·0000·0200·0000··U+..............
015ac430:·0000·812b·0500·1412·0000·0300·0000·0200··...+............015ac430:·0000·982b·0500·e800·0000·0600·0000·0200··...+............
015ac440:·0000·0000·c42b·0500·e800·0000·0600·0000··.....+..........015ac440:·0000·0000·e62b·0500·dc39·0000·0300·0000··.....+...9......
015ac450:·0200·0000·0000·122c·0500·dc39·0000·0300··.......,...9....015ac450:·0200·0000·0000·292c·0500·cc28·0000·0300··......),...(....
015ac460:·0000·0200·0000·0000·552c·0500·cc28·0000··........U,...(..015ac460:·0000·0200·0000·0000·6d2c·0500·6034·0000··........m,..`4..
015ac470:·0300·0000·0200·0000·0000·992c·0500·6034··...........,..`4015ac470:·0300·0000·0200·0000·0000·af2c·0500·cc00··...........,....
015ac480:·0000·0300·0000·0200·0000·0000·db2c·0500··.............,..015ac480:·0000·0200·0000·0200·0000·0000·f82c·0500··.............,..
015ac490:·cc00·0000·0200·0000·0200·0000·0000·242d··..............$-015ac490:·184f·0000·0300·0000·0200·0000·0000·3b2d··.O............;-
015ac4a0:·0500·184f·0000·0300·0000·0200·0000·0000··...O............015ac4a0:·0500·0000·0000·ffff·0000·0200·0000·0000··................
015ac4b0:·672d·0500·0000·0000·ffff·0000·0200·0000··g-..............015ac4b0:·4e2d·0500·701a·0000·0300·0000·0200·0000··N-..p...........
015ac4c0:·0000·7a2d·0500·701a·0000·0300·0000·0200··..z-..p.........015ac4c0:·0000·922d·0500·50f7·0000·0300·0000·0200··...-..P.........
015ac4d0:·0000·0000·be2d·0500·50f7·0000·0300·0000··.....-..P.......015ac4d0:·0000·0000·d42d·0500·a801·0000·0200·0000··.....-..........
015ac4e0:·0200·0000·0000·002e·0500·a801·0000·0200··................015ac4e0:·0200·0000·0000·1d2e·0500·50f7·0000·0300··..........P.....
015ac4f0:·0000·0200·0000·0000·492e·0500·50f7·0000··........I...P...015ac4f0:·0000·0200·0000·0000·5f2e·0500·0000·0000··........_.......
015ac500:·0300·0000·0200·0000·0000·8b2e·0500·0000··................015ac500:·ffff·0000·0200·0000·0000·6d2e·0500·b822··..........m...."
015ac510:·0000·ffff·0000·0200·0000·0000·992e·0500··................015ac510:·0600·0100·0000·0200·0000·0000·7a2e·0500··............z...
015ac520:·b822·0600·0100·0000·0200·0000·0000·a62e··."..............015ac520:·4400·0000·0200·0000·0200·0000·0000·c32e··D...............
015ac530:·0500·4400·0000·0200·0000·0200·0000·0000··..D.............015ac530:·0500·9c00·0000·0200·0000·0200·0000·0000··................
015ac540:·ef2e·0500·9c00·0000·0200·0000·0200·0000··................015ac540:·0c2f·0500·e006·0000·0200·0000·0200·0000··./..............
015ac550:·0000·382f·0500·e006·0000·0200·0000·0200··..8/............015ac550:·0000·552f·0500·b403·0000·0800·0000·0200··..U/............
015ac560:·0000·0000·812f·0500·b403·0000·0800·0000··...../..........015ac560:·0000·0000·6b2f·0500·4103·0100·0300·0000··....k/..A.......
015ac570:·0200·0000·0000·972f·0500·4103·0100·0300··......./..A.....015ac570:·0200·0000·0000·af2f·0500·1000·0000·0200··......./........
015ac580:·0000·0200·0000·0000·db2f·0500·1000·0000··........./......015ac580:·0000·0200·0000·0000·f52f·0500·b823·0600··........./...#..
015ac590:·0200·0000·0200·0000·0000·2130·0500·b823··..........!0...#015ac590:·0100·0000·0200·0000·0000·0430·0500·8805··...........0....
015ac5a0:·0600·0100·0000·0200·0000·0000·3030·0500··............00..015ac5a0:·0000·0200·0000·0200·0000·0000·4d30·0500··............M0..
015ac5b0:·8805·0000·0200·0000·0200·0000·0000·7930··..............y0015ac5b0:·5405·0000·0200·0000·0200·0000·0000·9630··T..............0
015ac5c0:·0500·5405·0000·0200·0000·0200·0000·0000··..T.............015ac5c0:·0500·d004·0000·0800·0000·0200·0000·0000··................
015ac5d0:·c230·0500·d004·0000·0800·0000·0200·0000··.0..............015ac5d0:·b930·0500·0805·0000·0800·0000·0200·0000··.0..............
015ac5e0:·0000·e530·0500·0805·0000·0800·0000·0200··...0............015ac5e0:·0000·cf30·0500·ec03·0000·0800·0000·0200··...0............
015ac5f0:·0000·0000·fb30·0500·ec03·0000·0800·0000··.....0..........015ac5f0:·0000·0000·e430·0500·0006·0000·0200·0000··.....0..........
015ac600:·0200·0000·0000·1031·0500·0006·0000·0200··.......1........015ac600:·0200·0000·0000·2c31·0500·7823·0600·0100··......,1..x#....
015ac610:·0000·0200·0000·0000·5831·0500·7823·0600··........X1..x#..015ac610:·0000·0200·0000·0000·3e31·0500·8c03·0000··........>1......
015ac620:·0100·0000·0200·0000·0000·6a31·0500·8c03··..........j1....015ac620:·0800·0000·0200·0000·0000·5231·0500·8c05··..........R1....
015ac630:·0000·0800·0000·0200·0000·0000·7e31·0500··............~1..015ac630:·0000·0800·0000·0200·0000·0000·6031·0500··............`1..
015ac640:·8c05·0000·0800·0000·0200·0000·0000·8c31··...............1015ac640:·086f·0b00·0100·2000·0200·0000·0000·6a31··.o....·.......j1
015ac650:·0500·086f·0b00·0100·2000·0200·0000·0000··...o....·.......015ac650:·0500·d411·0000·0300·0000·0200·0000·0000··................
015ac660:·9631·0500·d411·0000·0300·0000·0200·0000··.1..............015ac660:·ad31·0500·983e·0000·0300·0000·0200·0000··.1...>..........
015ac670:·0000·d931·0500·983e·0000·0300·0000·0200··...1...>........015ac670:·0000·f031·0500·1c07·0000·0200·0000·0200··...1............
015ac680:·0000·0000·1c32·0500·1c07·0000·0200·0000··.....2..........015ac680:·0000·0000·5d32·0500·d801·0000·0200·0000··....]2..........
015ac690:·0200·0000·0000·8932·0500·d801·0000·0200··.......2........015ac690:·0200·0000·0000·a632·0500·d824·0600·0100··.......2...$....
Max diff block lines reached; 448948/605216 bytes (74.18%) of diff not shown.
2.25 MB
rust-web-doc_1.78.0+dfsg1-2~deb12u3_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-08-28·14:44:23.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-08-28·14:44:23.000000·debian-binary
2 -rw-r--r--···0········0········0···761972·2024-08-28·14:44:23.000000·control.tar.xz2 -rw-r--r--···0········0········0···761968·2024-08-28·14:44:23.000000·control.tar.xz
3 -rw-r--r--···0········0········0·19274220·2024-08-28·14:44:23.000000·data.tar.xz3 -rw-r--r--···0········0········0·19267632·2024-08-28·14:44:23.000000·data.tar.xz
656 B
control.tar.xz
628 B
control.tar
558 B
./control
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 Package:·rust-web-doc1 Package:·rust-web-doc
2 Source:·rustc-web2 Source:·rustc-web
3 Version:·1.78.0+dfsg1-2~deb12u33 Version:·1.78.0+dfsg1-2~deb12u3
4 Architecture:·all4 Architecture:·all
5 Maintainer:·Debian·Rust·Maintainers·<pkg-rust-maintainers@alioth-lists.debian.net>5 Maintainer:·Debian·Rust·Maintainers·<pkg-rust-maintainers@alioth-lists.debian.net>
6 Installed-Size:·5694106 Installed-Size:·569435
7 Depends:·libjs-jquery,·libjs-highlight.js,·libjs-mathjax,·fonts-open-sans,·fonts-font-awesome7 Depends:·libjs-jquery,·libjs-highlight.js,·libjs-mathjax,·fonts-open-sans,·fonts-font-awesome
8 Recommends:·cargo-web-doc8 Recommends:·cargo-web-doc
9 Conflicts:·rust-doc,·rust-mozilla-doc9 Conflicts:·rust-doc,·rust-mozilla-doc
10 Section:·doc10 Section:·doc
11 Priority:·optional11 Priority:·optional
12 Homepage:·http://www.rust-lang.org/12 Homepage:·http://www.rust-lang.org/
13 Description:·Rust·systems·programming·language·-·Documentation13 Description:·Rust·systems·programming·language·-·Documentation
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
2.25 MB
data.tar.xz
2.25 MB
data.tar
30.4 KB
file list
    
Offset 31560, 48 lines modifiedOffset 31560, 48 lines modified
31560 -rw-r--r--···0·root·········(0)·root·········(0)·····4182·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/not_found.html31560 -rw-r--r--···0·root·········(0)·root·········(0)·····4182·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/not_found.html
31561 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/31561 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/
31562 -rw-r--r--···0·root·········(0)·root·········(0)·····5254·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/all.html31562 -rw-r--r--···0·root·········(0)·root·········(0)·····5254·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/all.html
31563 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/diagnostic/31563 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/diagnostic/
31564 -rw-r--r--···0·root·········(0)·root·········(0)······400·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/diagnostic/enum.Level.html31564 -rw-r--r--···0·root·········(0)·root·········(0)······400·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/diagnostic/enum.Level.html
31565 -rw-r--r--···0·root·········(0)·root·········(0)······428·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/diagnostic/struct.Diagnostic.html31565 -rw-r--r--···0·root·········(0)·root·········(0)······428·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/diagnostic/struct.Diagnostic.html
31566 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/diagnostic/trait.MultiSpan.html31566 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/diagnostic/trait.MultiSpan.html
31567 -rw-r--r--···0·root·········(0)·root·········(0)····28905·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/enum.Delimiter.html31567 -rw-r--r--···0·root·········(0)·root·········(0)····29115·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/enum.Delimiter.html
31568 -rw-r--r--···0·root·········(0)·root·········(0)····26792·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/enum.Level.html31568 -rw-r--r--···0·root·········(0)·root·········(0)····26912·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/enum.Level.html
31569 -rw-r--r--···0·root·········(0)·root·········(0)····29310·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/enum.Spacing.html31569 -rw-r--r--···0·root·········(0)·root·········(0)····29520·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/enum.Spacing.html
31570 -rw-r--r--···0·root·········(0)·root·········(0)····43882·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/enum.TokenTree.html31570 -rw-r--r--···0·root·········(0)·root·········(0)····44032·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/enum.TokenTree.html
31571 -rw-r--r--···0·root·········(0)·root·········(0)·····5234·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/fn.is_available.html31571 -rw-r--r--···0·root·········(0)·root·········(0)·····5264·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/fn.is_available.html
31572 -rw-r--r--···0·root·········(0)·root·········(0)·····5061·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/fn.quote.html31572 -rw-r--r--···0·root·········(0)·root·········(0)·····5061·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/fn.quote.html
31573 -rw-r--r--···0·root·········(0)·root·········(0)·····5037·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/fn.quote_span.html31573 -rw-r--r--···0·root·········(0)·root·········(0)·····5037·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/fn.quote_span.html
31574 -rw-r--r--···0·root·········(0)·root·········(0)····12475·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/index.html31574 -rw-r--r--···0·root·········(0)·root·········(0)····12475·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/index.html
31575 -rw-r--r--···0·root·········(0)·root·········(0)······336·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/macro.quote!.html31575 -rw-r--r--···0·root·········(0)·root·········(0)······336·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/macro.quote!.html
31576 -rw-r--r--···0·root·········(0)·root·········(0)·····5380·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/macro.quote.html31576 -rw-r--r--···0·root·········(0)·root·········(0)·····5380·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/macro.quote.html
31577 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/quote/31577 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/quote/
31578 -rw-r--r--···0·root·········(0)·root·········(0)······392·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/quote/fn.quote.html31578 -rw-r--r--···0·root·········(0)·root·········(0)······392·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/quote/fn.quote.html
31579 -rw-r--r--···0·root·········(0)·root·········(0)······412·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/quote/fn.quote_span.html31579 -rw-r--r--···0·root·········(0)·root·········(0)······412·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/quote/fn.quote_span.html
31580 -rw-r--r--···0·root·········(0)·root·········(0)······328·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/sidebar-items1.78.0.js31580 -rw-r--r--···0·root·········(0)·root·········(0)······328·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/sidebar-items1.78.0.js
31581 -rw-r--r--···0·root·········(0)·root·········(0)····44043·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Diagnostic.html31581 -rw-r--r--···0·root·········(0)·root·········(0)····44193·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Diagnostic.html
31582 -rw-r--r--···0·root·········(0)·root·········(0)····27041·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.ExpandError.html31582 -rw-r--r--···0·root·········(0)·root·········(0)····27131·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.ExpandError.html
31583 -rw-r--r--···0·root·········(0)·root·········(0)····34007·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Group.html31583 -rw-r--r--···0·root·········(0)·root·········(0)····34127·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Group.html
31584 -rw-r--r--···0·root·········(0)·root·········(0)····32592·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Ident.html31584 -rw-r--r--···0·root·········(0)·root·········(0)····32772·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Ident.html
31585 -rw-r--r--···0·root·········(0)·root·········(0)····26879·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.LexError.html31585 -rw-r--r--···0·root·········(0)·root·········(0)····26969·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.LexError.html
31586 -rw-r--r--···0·root·········(0)·root·········(0)····72181·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Literal.html31586 -rw-r--r--···0·root·········(0)·root·········(0)····73321·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Literal.html
31587 -rw-r--r--···0·root·········(0)·root·········(0)····36735·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Punct.html31587 -rw-r--r--···0·root·········(0)·root·········(0)····37185·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Punct.html
31588 -rw-r--r--···0·root·········(0)·root·········(0)····29429·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.SourceFile.html31588 -rw-r--r--···0·root·········(0)·root·········(0)····29729·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.SourceFile.html
31589 -rw-r--r--···0·root·········(0)·root·········(0)····44531·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Span.html31589 -rw-r--r--···0·root·········(0)·root·········(0)····44771·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.Span.html
31590 -rw-r--r--···0·root·········(0)·root·········(0)····51433·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.TokenStream.html31590 -rw-r--r--···0·root·········(0)·root·········(0)····51673·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/struct.TokenStream.html
31591 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/31591 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/
31592 -rw-r--r--···0·root·········(0)·root·········(0)·····5240·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/index.html31592 -rw-r--r--···0·root·········(0)·root·········(0)·····5240·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/index.html
31593 -rw-r--r--···0·root·········(0)·root·········(0)·······47·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/sidebar-items1.78.0.js31593 -rw-r--r--···0·root·········(0)·root·········(0)·······47·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/sidebar-items1.78.0.js
31594 -rw-r--r--···0·root·········(0)·root·········(0)···132673·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/struct.IntoIter.html31594 -rw-r--r--···0·root·········(0)·root·········(0)···134158·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/struct.IntoIter.html
31595 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/31595 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/
31596 -rw-r--r--···0·root·········(0)·root·········(0)·····6264·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/fn.var.html31596 -rw-r--r--···0·root·········(0)·root·········(0)·····6345·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/fn.var.html
31597 -rw-r--r--···0·root·········(0)·root·········(0)·····5577·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/index.html31597 -rw-r--r--···0·root·········(0)·root·········(0)·····5577·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/index.html
31598 -rw-r--r--···0·root·········(0)·root·········(0)·······38·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/sidebar-items1.78.0.js31598 -rw-r--r--···0·root·········(0)·root·········(0)·······38·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/sidebar-items1.78.0.js
31599 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/31599 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/
31600 -rw-r--r--···0·root·········(0)·root·········(0)·····5005·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/fn.path.html31600 -rw-r--r--···0·root·········(0)·root·········(0)·····5032·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/fn.path.html
31601 -rw-r--r--···0·root·········(0)·root·········(0)·····5180·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/index.html31601 -rw-r--r--···0·root·········(0)·root·········(0)·····5180·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/index.html
31602 -rw-r--r--···0·root·········(0)·root·········(0)·······39·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/sidebar-items1.78.0.js31602 -rw-r--r--···0·root·········(0)·root·········(0)·······39·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/sidebar-items1.78.0.js
31603 -rw-r--r--···0·root·········(0)·root·········(0)····10168·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/trait.MultiSpan.html31603 -rw-r--r--···0·root·········(0)·root·········(0)····10168·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/proc_macro/trait.MultiSpan.html
31604 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/reference/31604 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/reference/
31605 -rw-r--r--···0·root·········(0)·root·········(0)·······72·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/reference/.nojekyll31605 -rw-r--r--···0·root·········(0)·root·········(0)·······72·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/reference/.nojekyll
31606 -rw-r--r--···0·root·········(0)·root·········(0)····29202·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/reference/abi.html31606 -rw-r--r--···0·root·········(0)·root·········(0)····29202·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/reference/abi.html
31607 -rw-r--r--···0·root·········(0)·root·········(0)····24933·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/reference/appendices.html31607 -rw-r--r--···0·root·········(0)·root·········(0)····24933·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/reference/appendices.html
Offset 35477, 42 lines modifiedOffset 35477, 42 lines modified
35477 -rw-r--r--···0·root·········(0)·root·········(0)····50229·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/style-guide/searchindex.json.gz35477 -rw-r--r--···0·root·········(0)·root·········(0)····50229·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/style-guide/searchindex.json.gz
35478 -rw-r--r--···0·root·········(0)·root·········(0)····19725·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/style-guide/statements.html35478 -rw-r--r--···0·root·········(0)·root·········(0)····19725·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/style-guide/statements.html
35479 -rw-r--r--···0·root·········(0)·root·········(0)·····1667·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/style-guide/tomorrow-night.css35479 -rw-r--r--···0·root·········(0)·root·········(0)·····1667·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/style-guide/tomorrow-night.css
35480 -rw-r--r--···0·root·········(0)·root·········(0)····13582·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/style-guide/types.html35480 -rw-r--r--···0·root·········(0)·root·········(0)····13582·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/style-guide/types.html
35481 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/35481 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/
35482 -rw-r--r--···0·root·········(0)·root·········(0)·····6895·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/all.html35482 -rw-r--r--···0·root·········(0)·root·········(0)·····6895·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/all.html
35483 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/35483 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/
35484 -rw-r--r--···0·root·········(0)·root·········(0)·····5501·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.benchmark.html35484 -rw-r--r--···0·root·········(0)·root·········(0)·····5582·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.benchmark.html
35485 -rw-r--r--···0·root·········(0)·root·········(0)·····4978·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.black_box.html35485 -rw-r--r--···0·root·········(0)·root·········(0)·····4978·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.black_box.html
35486 -rw-r--r--···0·root·········(0)·root·········(0)·····4740·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.fmt_bench_samples.html35486 -rw-r--r--···0·root·········(0)·root·········(0)·····4740·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.fmt_bench_samples.html
35487 -rw-r--r--···0·root·········(0)·root·········(0)·····4825·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.iter.html35487 -rw-r--r--···0·root·········(0)·root·········(0)·····4852·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.iter.html
35488 -rw-r--r--···0·root·········(0)·root·········(0)·····5329·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.run_once.html35488 -rw-r--r--···0·root·········(0)·root·········(0)·····5383·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/fn.run_once.html
35489 -rw-r--r--···0·root·········(0)·root·········(0)·····6460·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/index.html35489 -rw-r--r--···0·root·········(0)·root·········(0)·····6460·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/index.html
35490 -rw-r--r--···0·root·········(0)·root·········(0)······130·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/sidebar-items1.78.0.js35490 -rw-r--r--···0·root·········(0)·root·········(0)······130·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/sidebar-items1.78.0.js
35491 -rw-r--r--···0·root·········(0)·root·········(0)····28247·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/struct.BenchSamples.html35491 -rw-r--r--···0·root·········(0)·root·········(0)····28490·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/struct.BenchSamples.html
35492 -rw-r--r--···0·root·········(0)·root·········(0)····26524·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/struct.Bencher.html35492 -rw-r--r--···0·root·········(0)·root·········(0)····26713·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/bench/struct.Bencher.html
35493 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/cli/35493 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/cli/
35494 -rw-r--r--···0·root·········(0)·root·········(0)······408·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/cli/fn.parse_opts.html35494 -rw-r--r--···0·root·········(0)·root·········(0)······408·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/cli/fn.parse_opts.html
35495 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/cli/struct.TestOpts.html35495 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/cli/struct.TestOpts.html
35496 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/console/35496 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/console/
35497 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/console/fn.run_tests_console.html35497 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/console/fn.run_tests_console.html
35498 -rw-r--r--···0·root·········(0)·root·········(0)····26898·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.ColorConfig.html35498 -rw-r--r--···0·root·········(0)·root·········(0)····27018·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.ColorConfig.html
35499 -rw-r--r--···0·root·········(0)·root·········(0)····30677·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.NamePadding.html35499 -rw-r--r--···0·root·········(0)·root·········(0)····30977·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.NamePadding.html
35500 -rw-r--r--···0·root·········(0)·root·········(0)····30525·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.OutputFormat.html35500 -rw-r--r--···0·root·········(0)·root·········(0)····30735·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.OutputFormat.html
35501 -rw-r--r--···0·root·········(0)·root·········(0)····28770·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.RunIgnored.html35501 -rw-r--r--···0·root·········(0)·root·········(0)····28980·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.RunIgnored.html
35502 -rw-r--r--···0·root·········(0)·root·········(0)····31518·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.ShouldPanic.html35502 -rw-r--r--···0·root·········(0)·root·········(0)····31878·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.ShouldPanic.html
35503 -rw-r--r--···0·root·········(0)·root·········(0)····29647·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.TestFn.html35503 -rw-r--r--···0·root·········(0)·root·········(0)····30247·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.TestFn.html
35504 -rw-r--r--···0·root·········(0)·root·········(0)····36569·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.TestName.html35504 -rw-r--r--···0·root·········(0)·root·········(0)····37019·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.TestName.html
35505 -rw-r--r--···0·root·········(0)·root·········(0)····32179·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.TestType.html35505 -rw-r--r--···0·root·········(0)·root·········(0)····32479·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/enum.TestType.html
35506 -rw-r--r--···0·root·········(0)·root·········(0)·····5175·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.assert_test_result.html35506 -rw-r--r--···0·root·········(0)·root·········(0)·····5235·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.assert_test_result.html
35507 -rw-r--r--···0·root·········(0)·root·········(0)·····4822·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.convert_benchmarks_to_tests.html35507 -rw-r--r--···0·root·········(0)·root·········(0)·····4822·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.convert_benchmarks_to_tests.html
35508 -rw-r--r--···0·root·········(0)·root·········(0)·····4878·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.filter_tests.html35508 -rw-r--r--···0·root·········(0)·root·········(0)·····4878·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.filter_tests.html
35509 -rw-r--r--···0·root·········(0)·root·········(0)·····5291·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.run_test.html35509 -rw-r--r--···0·root·········(0)·root·········(0)·····5411·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.run_test.html
35510 -rw-r--r--···0·root·········(0)·root·········(0)·····5204·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.run_tests.html35510 -rw-r--r--···0·root·········(0)·root·········(0)·····5324·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.run_tests.html
35511 -rw-r--r--···0·root·········(0)·root·········(0)·····5127·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.run_tests_console.html35511 -rw-r--r--···0·root·········(0)·root·········(0)·····5187·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.run_tests_console.html
35512 -rw-r--r--···0·root·········(0)·root·········(0)·····4873·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.test_main.html35512 -rw-r--r--···0·root·········(0)·root·········(0)·····4873·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.test_main.html
35513 -rw-r--r--···0·root·········(0)·root·········(0)·····4895·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.test_main_static.html35513 -rw-r--r--···0·root·········(0)·root·········(0)·····4895·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.test_main_static.html
35514 -rw-r--r--···0·root·········(0)·root·········(0)·····4999·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.test_main_static_abort.html35514 -rw-r--r--···0·root·········(0)·root·········(0)·····4999·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/fn.test_main_static_abort.html
35515 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/helpers/35515 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/helpers/
35516 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/helpers/metrics/35516 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/helpers/metrics/
35517 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/helpers/metrics/struct.Metric.html35517 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/helpers/metrics/struct.Metric.html
35518 -rw-r--r--···0·root·········(0)·root·········(0)······432·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/helpers/metrics/struct.MetricMap.html35518 -rw-r--r--···0·root·········(0)·root·········(0)······432·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/helpers/metrics/struct.MetricMap.html
Offset 35522, 43 lines modifiedOffset 35522, 43 lines modified
35522 -rw-r--r--···0·root·········(0)·root·········(0)······404·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/enum.OutputFormat.html35522 -rw-r--r--···0·root·········(0)·root·········(0)······404·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/enum.OutputFormat.html
35523 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/enum.RunIgnored.html35523 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/enum.RunIgnored.html
35524 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/enum.RunStrategy.html35524 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/enum.RunStrategy.html
35525 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/enum.ShouldPanic.html35525 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/enum.ShouldPanic.html
35526 -rw-r--r--···0·root·········(0)·root·········(0)······412·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/struct.Options.html35526 -rw-r--r--···0·root·········(0)·root·········(0)······412·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/options/struct.Options.html
35527 -rw-r--r--···0·root·········(0)·root·········(0)······406·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/sidebar-items1.78.0.js35527 -rw-r--r--···0·root·········(0)·root·········(0)······406·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/sidebar-items1.78.0.js
35528 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/35528 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/
35529 -rw-r--r--···0·root·········(0)·root·········(0)·····5560·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/fn.winsorize.html35529 -rw-r--r--···0·root·········(0)·root·········(0)·····5614·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/fn.winsorize.html
35530 -rw-r--r--···0·root·········(0)·root·········(0)·····6129·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/index.html35530 -rw-r--r--···0·root·········(0)·root·········(0)·····6129·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/index.html
35531 -rw-r--r--···0·root·········(0)·root·········(0)·······83·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/sidebar-items1.78.0.js35531 -rw-r--r--···0·root·········(0)·root·········(0)·······83·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/sidebar-items1.78.0.js
35532 -rw-r--r--···0·root·········(0)·root·········(0)····35329·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/struct.Summary.html35532 -rw-r--r--···0·root·········(0)·root·········(0)····36301·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/struct.Summary.html
35533 -rw-r--r--···0·root·········(0)·root·········(0)····28547·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/trait.Stats.html35533 -rw-r--r--···0·root·········(0)·root·········(0)····29870·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/stats/trait.Stats.html
35534 -rw-r--r--···0·root·········(0)·root·········(0)····28159·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.Options.html35534 -rw-r--r--···0·root·········(0)·root·········(0)····28459·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.Options.html
35535 -rw-r--r--···0·root·········(0)·root·········(0)····32972·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.TestDesc.html35535 -rw-r--r--···0·root·········(0)·root·········(0)····33692·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.TestDesc.html
35536 -rw-r--r--···0·root·········(0)·root·········(0)····21027·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.TestDescAndFn.html35536 -rw-r--r--···0·root·········(0)·root·········(0)····21087·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.TestDescAndFn.html
35537 -rw-r--r--···0·root·········(0)·root·········(0)····30203·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.TestId.html35537 -rw-r--r--···0·root·········(0)·root·········(0)····30563·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.TestId.html
35538 -rw-r--r--···0·root·········(0)·root·········(0)····33120·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.TestOpts.html35538 -rw-r--r--···0·root·········(0)·root·········(0)····33930·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/struct.TestOpts.html
35539 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/35539 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/
35540 -rw-r--r--···0·root·········(0)·root·········(0)····29123·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.RunIgnored.html35540 -rw-r--r--···0·root·········(0)·root·········(0)····29312·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.RunIgnored.html
35541 -rw-r--r--···0·root·········(0)·root·········(0)····24561·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.RunStrategy.html35541 -rw-r--r--···0·root·········(0)·root·········(0)····24669·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.RunStrategy.html
35542 -rw-r--r--···0·root·········(0)·root·········(0)····31920·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.ShouldPanic.html35542 -rw-r--r--···0·root·········(0)·root·········(0)····32244·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.ShouldPanic.html
35543 -rw-r--r--···0·root·········(0)·root·········(0)····37045·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.TestName.html35543 -rw-r--r--···0·root·········(0)·root·········(0)····37450·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.TestName.html
35544 -rw-r--r--···0·root·········(0)·root·········(0)····29676·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.TestResult.html35544 -rw-r--r--···0·root·········(0)·root·········(0)····29865·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.TestResult.html
35545 -rw-r--r--···0·root·········(0)·root·········(0)····32575·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.TestType.html35545 -rw-r--r--···0·root·········(0)·root·········(0)····32845·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/enum.TestType.html
35546 -rw-r--r--···0·root·········(0)·root·········(0)·····5664·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/fn.parse_opts.html35546 -rw-r--r--···0·root·········(0)·root·········(0)·····5664·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/fn.parse_opts.html
35547 -rw-r--r--···0·root·········(0)·root·········(0)····13424·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/index.html35547 -rw-r--r--···0·root·········(0)·root·········(0)····13424·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/index.html
35548 -rw-r--r--···0·root·········(0)·root·········(0)······252·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/sidebar-items1.78.0.js35548 -rw-r--r--···0·root·········(0)·root·········(0)······252·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/sidebar-items1.78.0.js
35549 -rw-r--r--···0·root·········(0)·root·········(0)····28396·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.Metric.html35549 -rw-r--r--···0·root·········(0)·root·········(0)····28639·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.Metric.html
35550 -rw-r--r--···0·root·········(0)·root·········(0)····28833·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.MetricMap.html35550 -rw-r--r--···0·root·········(0)·root·········(0)····29103·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.MetricMap.html
35551 -rw-r--r--···0·root·········(0)·root·········(0)····28503·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.Options.html35551 -rw-r--r--···0·root·········(0)·root·········(0)····28773·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.Options.html
35552 -rw-r--r--···0·root·········(0)·root·········(0)····33354·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestDesc.html35552 -rw-r--r--···0·root·········(0)·root·········(0)····34002·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestDesc.html
35553 -rw-r--r--···0·root·········(0)·root·········(0)····21306·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestDescAndFn.html35553 -rw-r--r--···0·root·········(0)·root·········(0)····21360·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestDescAndFn.html
35554 -rw-r--r--···0·root·········(0)·root·········(0)····30644·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestExecTime.html35554 -rw-r--r--···0·root·········(0)·root·········(0)····30833·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestExecTime.html
35555 -rw-r--r--···0·root·········(0)·root·········(0)····30605·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestId.html35555 -rw-r--r--···0·root·········(0)·root·········(0)····30929·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestId.html
35556 -rw-r--r--···0·root·········(0)·root·········(0)····33509·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestOpts.html35556 -rw-r--r--···0·root·········(0)·root·········(0)····34238·2024-08-28·14:44:23.000000·./usr/share/doc/rust-web-doc/html/test/test/struct.TestOpts.html
Max diff block lines reached; 3396/31072 bytes (10.93%) of diff not shown.
32.0 KB
./usr/share/doc/rust-web-doc/html/proc_macro/enum.Delimiter.html
    
Offset 9, 21 lines modifiedOffset 9, 21 lines modified
9 </div><section·id="variant.Brace"·class="variant"><a·href="#variant.Brace"·class="anchor">§</a><h3·class="code-header">Brace</h3></section><div·class="docblock"><p><code>{·...·}</code></p>9 </div><section·id="variant.Brace"·class="variant"><a·href="#variant.Brace"·class="anchor">§</a><h3·class="code-header">Brace</h3></section><div·class="docblock"><p><code>{·...·}</code></p>
10 </div><section·id="variant.Bracket"·class="variant"><a·href="#variant.Bracket"·class="anchor">§</a><h3·class="code-header">Bracket</h3></section><div·class="docblock"><p><code>[·...·]</code></p>10 </div><section·id="variant.Bracket"·class="variant"><a·href="#variant.Bracket"·class="anchor">§</a><h3·class="code-header">Bracket</h3></section><div·class="docblock"><p><code>[·...·]</code></p>
11 </div><section·id="variant.None"·class="variant"><a·href="#variant.None"·class="anchor">§</a><h3·class="code-header">None</h3></section><div·class="docblock"><p><code>Ø·...·Ø</code>11 </div><section·id="variant.None"·class="variant"><a·href="#variant.None"·class="anchor">§</a><h3·class="code-header">None</h3></section><div·class="docblock"><p><code>Ø·...·Ø</code>
12 An·invisible·delimiter,·that·may,·for·example,·appear·around·tokens·coming·from·a12 An·invisible·delimiter,·that·may,·for·example,·appear·around·tokens·coming·from·a
13 “macro·variable”·<code>$var</code>.·It·is·important·to·preserve·operator·priorities·in·cases·like13 “macro·variable”·<code>$var</code>.·It·is·important·to·preserve·operator·priorities·in·cases·like
14 <code>$var·*·3</code>·where·<code>$var</code>·is·<code>1·+·2</code>.14 <code>$var·*·3</code>·where·<code>$var</code>·is·<code>1·+·2</code>.
15 Invisible·delimiters·might·not·survive·roundtrip·of·a·token·stream·through·a·string.</p>15 Invisible·delimiters·might·not·survive·roundtrip·of·a·token·stream·through·a·string.</p>
16 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Delimiter"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#impl-Clone-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><detail[·...·truncated·by·diffoscope;·len:·2251,·SHA:·0c34d55ec7e34575c7dbfb5874f5f696e4fe18c549b2f1542dedbcb1014bb2d0·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used16 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Delimiter"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#impl-Clone-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></d[·...·truncated·by·diffoscope;·len:·2311,·SHA:·fce611bf632f10b7f2e4af61c4784ca036b8cfd7b96aceb3f262438870f7ee43·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
17 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always17 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
18 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Delimiter"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#impl-Copy-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-Eq-for-Delimiter"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#impl-Eq-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-StructuralPartialEq-for-Delimiter"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#impl-StructuralPartialEq-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Delimiter"·class="impl"><a·href="#impl-Freeze-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-RefUnwindSafe-for-Delimiter"·class="impl"><a·href="#impl-RefUnwindSafe-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-Send-for-Delimiter"·class="impl"><a·href="#impl-Send-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-Sync-for-Delimiter"·class="impl"><a·href="#impl-Sync-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-Unpin-for-Delimiter"·class="impl"><a·href="#impl-Unpin-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-UnwindSafe-for-Delimiter"·class="impl"><a·href="#impl-UnwindSafe-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where18 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Delimiter"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#impl-Copy-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-Eq-for-Delimiter"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#impl-Eq-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-StructuralPartialEq-for-Delimiter"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#802">source</a><a·href="#impl-StructuralPartialEq-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Delimiter"·class="impl"><a·href="#impl-Freeze-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-RefUnwindSafe-for-Delimiter"·class="impl"><a·href="#impl-RefUnwindSafe-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-Send-for-Delimiter"·class="impl"><a·href="#impl-Send-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-Sync-for-Delimiter"·class="impl"><a·href="#impl-Sync-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-Unpin-for-Delimiter"·class="impl"><a·href="#impl-Unpin-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section><section·id="impl-UnwindSafe-for-Delimiter"·class="impl"><a·href="#impl-UnwindSafe-for-Delimiter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
19 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where19 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
20 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where20 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
21 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>21 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
22 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where22 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
23 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>23 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
24 <p>That·is,·this·conversion·is·whatever·the·implementation·of24 <p>That·is,·this·conversion·is·whatever·the·implementation·of
25 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>25 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
26 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where26 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
27 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where27 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
28 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where28 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
29 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>29 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
31.9 KB
./usr/share/doc/rust-web-doc/html/proc_macro/enum.Level.html
    
Offset 5, 19 lines modifiedOffset 5, 19 lines modified
5 ····Note,5 ····Note,
6 ····Help,6 ····Help,
7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>An·enum·representing·a·diagnostic·level.</p>7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>An·enum·representing·a·diagnostic·level.</p>
8 </div></details><h2·id="variants"·class="variants·section-header">Variants·(Non-exhaustive)<a·href="#variants"·class="anchor">§</a></h2><details·class="toggle·non-exhaustive"><summary·class="hideme"><span>This·enum·is·marked·as·non-exhaustive</span></summary><div·class="docblock">Non-exhaustive·enums·could·have·additional·variants·added·in·future.·Therefore,·when·matching·against·variants·of·non-exhaustive·enums,·an·extra·wildcard·arm·must·be·added·to·account·for·any·future·variants.</div></details><div·class="variants"><section·id="variant.Error"·class="variant"><a·href="#variant.Error"·class="anchor">§</a><h3·class="code-header">Error</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class="docblock"><p>An·error.</p>8 </div></details><h2·id="variants"·class="variants·section-header">Variants·(Non-exhaustive)<a·href="#variants"·class="anchor">§</a></h2><details·class="toggle·non-exhaustive"><summary·class="hideme"><span>This·enum·is·marked·as·non-exhaustive</span></summary><div·class="docblock">Non-exhaustive·enums·could·have·additional·variants·added·in·future.·Therefore,·when·matching·against·variants·of·non-exhaustive·enums,·an·extra·wildcard·arm·must·be·added·to·account·for·any·future·variants.</div></details><div·class="variants"><section·id="variant.Error"·class="variant"><a·href="#variant.Error"·class="anchor">§</a><h3·class="code-header">Error</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class="docblock"><p>An·error.</p>
9 </div><section·id="variant.Warning"·class="variant"><a·href="#variant.Warning"·class="anchor">§</a><h3·class="code-header">Warning</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class="docblock"><p>A·warning.</p>9 </div><section·id="variant.Warning"·class="variant"><a·href="#variant.Warning"·class="anchor">§</a><h3·class="code-header">Warning</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class="docblock"><p>A·warning.</p>
10 </div><section·id="variant.Note"·class="variant"><a·href="#variant.Note"·class="anchor">§</a><h3·class="code-header">Note</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class="docblock"><p>A·note.</p>10 </div><section·id="variant.Note"·class="variant"><a·href="#variant.Note"·class="anchor">§</a><h3·class="code-header">Note</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class="docblock"><p>A·note.</p>
11 </div><section·id="variant.Help"·class="variant"><a·href="#variant.Help"·class="anchor">§</a><h3·class="code-header">Help</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class="docblock"><p>A·help·message.</p>11 </div><section·id="variant.Help"·class="variant"><a·href="#variant.Help"·class="anchor">§</a><h3·class="code-header">Help</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class="docblock"><p>A·help·message.</p>
12 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Level"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#impl-Clone-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Level"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#impl-Debug-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><section·id="impl-Copy-for-Level"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#impl-Copy-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Level"·class="impl"><a·href="#impl-Freeze-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-RefUnwindSafe-for-Level"·class="impl"><a·href="#impl-RefUnwindSafe-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-Send-for-Level"·class="impl"><a·href="#impl-Send-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-Sync-for-Level"·class="impl"><a·href="#impl-Sync-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-Unpin-for-Level"·class="impl"><a·href="#impl-Unpin-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-UnwindSafe-for-Level"·class="impl"><a·href="#impl-UnwindSafe-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where12 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Level"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#impl-Clone-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Level"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#impl-Debug-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><section·id="impl-Copy-for-Level"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#5">source</a><a·href="#impl-Copy-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Level"·class="impl"><a·href="#impl-Freeze-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-RefUnwindSafe-for-Level"·class="impl"><a·href="#impl-RefUnwindSafe-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-Send-for-Level"·class="impl"><a·href="#impl-Send-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-Sync-for-Level"·class="impl"><a·href="#impl-Sync-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-Unpin-for-Level"·class="impl"><a·href="#impl-Unpin-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section><section·id="impl-UnwindSafe-for-Level"·class="impl"><a·href="#impl-UnwindSafe-for-Level"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
13 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where13 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
14 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where14 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
15 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>15 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
16 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where16 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>17 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
18 <p>That·is,·this·conversion·is·whatever·the·implementation·of18 <p>That·is,·this·conversion·is·whatever·the·implementation·of
19 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>19 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
20 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where20 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
21 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where21 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where22 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
23 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>23 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
31.7 KB
./usr/share/doc/rust-web-doc/html/proc_macro/enum.Spacing.html
    
Offset 16, 21 lines modifiedOffset 16, 21 lines modified
16 </ul>16 </ul>
17 <p>This·list·may·be·extended·in·the·future·to·enable·more·token·combinations.</p>17 <p>This·list·may·be·extended·in·the·future·to·enable·more·token·combinations.</p>
18 </div><section·id="variant.Alone"·class="variant"><a·href="#variant.Alone"·class="anchor">§</a><h3·class="code-header">Alone</h3></section><div·class="docblock"><p>A·<code>Punct</code>·token·cannot·join·with·the·following·token·to·form·a·multi-character·operator.</p>18 </div><section·id="variant.Alone"·class="variant"><a·href="#variant.Alone"·class="anchor">§</a><h3·class="code-header">Alone</h3></section><div·class="docblock"><p>A·<code>Punct</code>·token·cannot·join·with·the·following·token·to·form·a·multi-character·operator.</p>
19 <p><code>Alone</code>·punctuation·tokens·can·be·followed·by·any·other·tokens.·In·token·streams·parsed19 <p><code>Alone</code>·punctuation·tokens·can·be·followed·by·any·other·tokens.·In·token·streams·parsed
20 from·source·code,·the·compiler·will·set·spacing·to·<code>Alone</code>·in·all·cases·not·covered·by·the20 from·source·code,·the·compiler·will·set·spacing·to·<code>Alone</code>·in·all·cases·not·covered·by·the
21 conditions·for·<code>Joint</code>·above.·E.g.·<code>+</code>·is·<code>Alone</code>·in·<code>+·=</code>,·<code>+ident</code>·and·<code>+()</code>.·In21 conditions·for·<code>Joint</code>·above.·E.g.·<code>+</code>·is·<code>Alone</code>·in·<code>+·=</code>,·<code>+ident</code>·and·<code>+()</code>.·In
22 particular,·tokens·not·followed·by·anything·will·be·marked·as·<code>Alone</code>.</p>22 particular,·tokens·not·followed·by·anything·will·be·marked·as·<code>Alone</code>.</p>
23 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Spacing"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#impl-Clone-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><detail[·...·truncated·by·diffoscope;·len:·2225,·SHA:·e84d107f6d7f3aae6e483464e02e9bf5e9f86ac596c69423761dfffa3df7efe2·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used23 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Spacing"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#impl-Clone-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></d[·...·truncated·by·diffoscope;·len:·2285,·SHA:·4bd9bb94049020d88b8ccb551987a18d9c2b1eff37b14be48ee4c848b9b3347f·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
24 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always24 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
25 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Spacing"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#impl-Copy-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-Eq-for-Spacing"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#impl-Eq-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-StructuralPartialEq-for-Spacing"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#impl-StructuralPartialEq-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Spacing"·class="impl"><a·href="#impl-Freeze-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-RefUnwindSafe-for-Spacing"·class="impl"><a·href="#impl-RefUnwindSafe-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-Send-for-Spacing"·class="impl"><a·href="#impl-Send-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-Sync-for-Spacing"·class="impl"><a·href="#impl-Sync-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-Unpin-for-Spacing"·class="impl"><a·href="#impl-Unpin-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-UnwindSafe-for-Spacing"·class="impl"><a·href="#impl-UnwindSafe-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where25 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Spacing"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#impl-Copy-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-Eq-for-Spacing"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#impl-Eq-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-StructuralPartialEq-for-Spacing"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#946">source</a><a·href="#impl-StructuralPartialEq-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Spacing"·class="impl"><a·href="#impl-Freeze-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-RefUnwindSafe-for-Spacing"·class="impl"><a·href="#impl-RefUnwindSafe-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-Send-for-Spacing"·class="impl"><a·href="#impl-Send-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-Sync-for-Spacing"·class="impl"><a·href="#impl-Sync-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-Unpin-for-Spacing"·class="impl"><a·href="#impl-Unpin-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section><section·id="impl-UnwindSafe-for-Spacing"·class="impl"><a·href="#impl-UnwindSafe-for-Spacing"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
26 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where26 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
27 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where27 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
28 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>28 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
29 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where29 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
30 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>30 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
31 <p>That·is,·this·conversion·is·whatever·the·implementation·of31 <p>That·is,·this·conversion·is·whatever·the·implementation·of
32 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>32 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
33 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where33 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
34 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where34 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
35 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where35 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
36 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>36 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
52.1 KB
./usr/share/doc/rust-web-doc/html/proc_macro/enum.TokenTree.html
    
Offset 11, 33 lines modifiedOffset 11, 33 lines modified
11 </div><section·id="variant.Literal"·class="variant"><a·href="#variant.Literal"·class="anchor">§</a><h3·class="code-header">Literal(<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a>)</h3></section><div·class="docblock"><p>A·literal·character·(<code>'a'</code>),·string·(<code>&quot;hello&quot;</code>),·number·(<code>2.3</code>),·etc.</p>11 </div><section·id="variant.Literal"·class="variant"><a·href="#variant.Literal"·class="anchor">§</a><h3·class="code-header">Literal(<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a>)</h3></section><div·class="docblock"><p>A·literal·character·(<code>'a'</code>),·string·(<code>&quot;hello&quot;</code>),·number·(<code>2.3</code>),·etc.</p>
12 </div></div><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#683-710">source</a><a·href="#impl-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#687-694">source</a><h4·class="code-header">pub·fn·<a·href="#method.span"·class="fn">span</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Returns·the·span·of·this·tree,·delegating·to·the·<code>span</code>·method·of12 </div></div><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#683-710">source</a><a·href="#impl-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#687-694">source</a><h4·class="code-header">pub·fn·<a·href="#method.span"·class="fn">span</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Returns·the·span·of·this·tree,·delegating·to·the·<code>span</code>·method·of
13 the·contained·token·or·a·delimited·stream.</p>13 the·contained·token·or·a·delimited·stream.</p>
14 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#702-709">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_span"·class="fn">set_span</a>(&amp;mut·self,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)</h4></section></summary><div·class="docblock"><p>Configures·the·span·for·<em>only·this·token</em>.</p>14 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#702-709">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_span"·class="fn">set_span</a>(&amp;mut·self,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)</h4></section></summary><div·class="docblock"><p>Configures·the·span·for·<em>only·this·token</em>.</p>
15 <p>Note·that·if·this·token·is·a·<code>Group</code>·then·this·method·will·not·configure15 <p>Note·that·if·this·token·is·a·<code>Group</code>·then·this·method·will·not·configure
16 the·span·of·each·of·the·internal·tokens,·this·will·simply·delegate·to16 the·span·of·each·of·the·internal·tokens,·this·will·simply·delegate·to
17 the·<code>set_span</code>·method·of·each·variant.</p>17 the·<code>set_span</code>·method·of·each·variant.</p>
18 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#662">source</a><a·href="#impl-Clone-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#662">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#714-725">source</a><a·href="#impl-Debug-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="docblock"><p>Prints·token·tree·in·a·form·convenient·for·debugging.</p>18 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#662">source</a><a·href="#impl-Clone-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#662">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#714-725">source</a><a·href="#impl-Debug-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="docblock"><p>Prints·token·tree·in·a·form·convenient·for·debugging.</p>
19 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#715-724">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#782-787">source</a><a·href="#impl-Display-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="docblock"><p>Prints·the·token·tree·as·a·string·that·is·supposed·to·be·losslessly·convertible·back19 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#715-724">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#782-787">source</a><a·href="#impl-Display-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="docblock"><p>Prints·the·token·tree·as·a·string·that·is·supposed·to·be·losslessly·convertible·back
20 into·the·same·token·tree·(modulo·spans),·except·for·possibly·<code>TokenTree::Group</code>s20 into·the·same·token·tree·(modulo·spans),·except·for·possibly·<code>TokenTree::Group</code>s
21 with·<code>Delimiter::None</code>·delimiters·and·negative·numeric·literals.</p>21 with·<code>Delimiter::None</code>·delimiters·and·negative·numeric·literals.</p>
22 <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might22 <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might
23 be·changes·in·the·whitespace·used·between·tokens.·Therefore,·you·should23 be·changes·in·the·whitespace·used·between·tokens.·Therefore,·you·should
24 <em>not</em>·do·any·kind·of·simple·substring·matching·on·the·output·string·(as24 <em>not</em>·do·any·kind·of·simple·substring·matching·on·the·output·string·(as
25 produced·by·<code>to_string</code>)·to·implement·a·proc·macro,·because·that·matching25 produced·by·<code>to_string</code>)·to·implement·a·proc·macro,·because·that·matching
26 might·stop·working·if·such·changes·happen.·Instead,·you·should·work·at·the26 might·stop·working·if·such·changes·happen.·Instead,·you·should·work·at·the
27 <code>TokenTree</code>·level,·e.g.·matching·against·<code>TokenTree::Ident</code>,27 <code>TokenTree</code>·level,·e.g.·matching·against·<code>TokenTree::Ident</code>,
28 <code>TokenTree::Punct</code>,·or·<code>TokenTree::Literal</code>.</p>28 <code>TokenTree::Punct</code>,·or·<code>TokenTree::Literal</code>.</p>
29 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#784-786">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Extend%3CTokenTree%3E-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#350-357">source</a></span><a·href="#impl-Extend%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.extend"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#351-356">source</a><a·href="#method.extend"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#tymethod.extend"·class="fn">extend</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;&gt;(&amp;mut·self,·trees:·I)</h4></section></summary><div·class='docblock'>Extends·a·collection·with·the·contents·of·an·iterator.·<a·href="../core/iter/traits/collect/trait.Extend.html#tymethod.extend">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.extend_one"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/iter/traits/collect.rs.html#419">source</a><a·href="#method.extend_one"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_one"·class="fn">extend_one</a>(&amp;mut·self,·item:·A)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/72631">#72631</a>)</span></div></span><div·class='docblock'>Extends·a·collection·with·exactly·one·element.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.extend_reserve"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/iter/traits/collect.rs.html#427">source</a><a·href="#method.extend_reserve"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_reserve"·class="fn">extend_reserve</a>(&amp;mut·self,·additional:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/72631">#72631</a>)</span></div></span><div·class='docblock'>Reserves·capacity·in·a·collection·for·the·given·number·of·additional·elements.·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_reserve">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CGroup%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#728-732">source</a><a·href="#impl-From%3CGroup%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#729-731">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CIdent%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#735-739">source</a><a·href="#impl-From%3CIdent%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#736-738">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CLiteral%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#749-753">source</a><a·href="#impl-From%3CLiteral%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-4"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#750-752">source</a><a·href="#method.from-4"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CPunct%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#742-746">source</a><a·href="#impl-From%3CPunct%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-3"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#743-745">source</a><a·href="#method.from-3"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CTokenTree%3E-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#245-249">source</a><a·href="#impl-From%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Creates·a·token·stream·containing·a·single·token·tree.</p>29 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#784-786">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Extend%3CTokenTree%3E-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#350-357">source</a></span><a·href="#impl-Extend%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.extend"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#351-356">source</a><a·href="#method.extend"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#tymethod.extend"·class="fn">extend</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;&gt;(&amp;mut·self,·trees:·I)</h4></section></summary><div·class='docblock'>Extends·a·collection·with·the·contents·of·an·iterator.·<a·href="../core/iter/traits/collect/trait.Extend.html#tymethod.extend">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.extend_one"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/iter/traits/collect.rs.html#419">source</a><a·href="#method.extend_one"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_one"·class="fn">extend_one</a>(&amp;mut·self,·item:·A)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/72631">#72631</a>)</span></div></span><div·class='docblock'>Extends·a·collection·with·exactly·one·element.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.extend_reserve"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/iter/traits/collect.rs.html#427">source</a><a·href="#method.extend_reserve"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_reserve"·class="fn">extend_reserve</a>(&amp;mut·self,·additional:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/72631">#72631</a>)</span></div></span><div·class='docblock'>Reserves·capacity·in·a·collection·for·the·given·number·of·additional·elements.·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_reserve">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CGroup%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#728-732">source</a><a·href="#impl-From%3CGroup%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#729-731">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CIdent%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#735-739">source</a><a·href="#impl-From%3CIdent%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#736-738">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CLiteral%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#749-753">source</a><a·href="#impl-From%3CLiteral%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-4"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#750-752">source</a><a·href="#method.from-4"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CPunct%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#742-746">source</a><a·href="#impl-From%3CPunct%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-3"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#743-745">source</a><a·href="#method.from-3"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CTokenTree%3E-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#245-249">source</a><a·href="#impl-From%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Creates·a·token·stream·containing·a·single·token·tree.</p>
30 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-2"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#246-248">source</a><a·href="#method.from-2"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(tree:·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>)·-&gt;·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromIterator%3CTokenTree%3E-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#328-335">source</a><a·href="#impl-FromIterator%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Collects·a·number·of·token·trees·into·a·single·stream.</p>30 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-2"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#246-248">source</a><a·href="#method.from-2"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(tree:·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>)·-&gt;·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromIterator%3CTokenTree%3E-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#328-335">source</a><a·href="#impl-FromIterator%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Collects·a·number·of·token·trees·into·a·single·stream.</p>
31 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from_iter"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#329-334">source</a><a·href="#method.from_iter"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter"·class="fn">from_iter</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;&gt;(trees:·I)·-&gt;·Self</h4></section></summary><div·class='docblock'>Creates·a·value·from·an·iterator.·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter">Read·more</a></div></details></div></details><section·id="impl-Send-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#679">source</a><a·href="#impl-Send-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section><section·id="impl-Sync-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#681">source</a><a·href="#impl-Sync-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TokenTree"·class="impl"><a·href="#impl-Freeze-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section><section·id="impl-RefUnwindSafe-for-TokenTree"·class="impl"><a·href="#impl-RefUnwindSafe-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section><section·id="impl-Unpin-for-TokenTree"·class="impl"><a·href="#impl-Unpin-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section><section·id="impl-UnwindSafe-for-TokenTree"·class="impl"><a·href="#impl-UnwindSafe-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where31 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from_iter"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#329-334">source</a><a·href="#method.from_iter"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter"·class="fn">from_iter</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;&gt;(trees:·I)·-&gt;·Self</h4></section></summary><div·class='docblock'>Creates·a·value·from·an·iterator.·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter">Read·more</a></div></details></div></details><section·id="impl-Send-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#679">source</a><a·href="#impl-Send-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section><section·id="impl-Sync-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#681">source</a><a·href="#impl-Sync-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TokenTree"·class="impl"><a·href="#impl-Freeze-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section><section·id="impl-RefUnwindSafe-for-TokenTree"·class="impl"><a·href="#impl-RefUnwindSafe-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section><section·id="impl-Unpin-for-TokenTree"·class="impl"><a·href="#impl-Unpin-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section><section·id="impl-UnwindSafe-for-TokenTree"·class="impl"><a·href="#impl-UnwindSafe-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
32 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where32 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
33 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where33 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
34 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-5"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-5"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>34 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-5"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-5"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
35 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where35 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
36 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>36 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
37 <p>That·is,·this·conversion·is·whatever·the·implementation·of37 <p>That·is,·this·conversion·is·whatever·the·implementation·of
38 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>38 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
39 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where39 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
40 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where40 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
41 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where41 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
42 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where42 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
43 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>43 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
6.61 KB
./usr/share/doc/rust-web-doc/html/proc_macro/fn.is_available.html
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Determines·whether·proc_macro·has·been·made·accessible·to·the·currently·running·program."><title>is_available·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Determines·whether·proc_macro·has·been·made·accessible·to·the·currently·running·program."><title>is_available·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">proc_macro</a>::<wbr><a·class="fn"·href="#">is_available</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.57.0">1.57.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#71-73">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·is_available()·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Determines·whether·proc_macro·has·been·made·accessible·to·the·currently2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">proc_macro</a>::<wbr><a·class="fn"·href="#">is_available</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.57.0">1.57.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#71-73">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·is_available()·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Determines·whether·proc_macro·has·been·made·accessible·to·the·currently
3 running·program.</p>3 running·program.</p>
4 <p>The·proc_macro·crate·is·only·intended·for·use·inside·the·implementation·of4 <p>The·proc_macro·crate·is·only·intended·for·use·inside·the·implementation·of
5 procedural·macros.·All·the·functions·in·this·crate·panic·if·invoked·from5 procedural·macros.·All·the·functions·in·this·crate·panic·if·invoked·from
6 outside·of·a·procedural·macro,·such·as·from·a·build·script·or·unit·test·or6 outside·of·a·procedural·macro,·such·as·from·a·build·script·or·unit·test·or
7 ordinary·Rust·binary.</p>7 ordinary·Rust·binary.</p>
8 <p>With·consideration·for·Rust·libraries·that·are·designed·to·support·both8 <p>With·consideration·for·Rust·libraries·that·are·designed·to·support·both
9 macro·and·non-macro·use·cases,·<code>proc_macro::is_available()</code>·provides·a9 macro·and·non-macro·use·cases,·<code>proc_macro::is_available()</code>·provides·a
39.2 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.Diagnostic.html
    
Offset 20, 25 lines modifiedOffset 20, 25 lines modified
20 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.note"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#116">source</a><h4·class="code-header">pub·fn·<a·href="#method.note"·class="fn">note</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Adds·a·new·child·diagnostic·message·to·<code>self</code>·with·the·<a·href="enum.Level.html#variant.Note"·title="variant·proc_macro::Level::Note"><code>Level::Note</code></a>·level,·and·the·given·<code>message</code>.</p>20 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.note"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#116">source</a><h4·class="code-header">pub·fn·<a·href="#method.note"·class="fn">note</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Adds·a·new·child·diagnostic·message·to·<code>self</code>·with·the·<a·href="enum.Level.html#variant.Note"·title="variant·proc_macro::Level::Note"><code>Level::Note</code></a>·level,·and·the·given·<code>message</code>.</p>
21 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span_help"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#117">source</a><h4·class="code-header">pub·fn·<a·href="#method.span_help"·class="fn">span_help</a>&lt;S,·T&gt;(self,·spans:·S,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a><div·class="where">where21 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span_help"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#117">source</a><h4·class="code-header">pub·fn·<a·href="#method.span_help"·class="fn">span_help</a>&lt;S,·T&gt;(self,·spans:·S,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a><div·class="where">where
22 ····S:·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>,22 ····S:·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>,
23 ····T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,</div></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Adds·a·new·child·diagnostics·message·to·<code>self</code>·with·the·<a·href="enum.Level.html#variant.Help"·title="variant·proc_macro::Level::Help"><code>Level::Help</code></a>·level,·and·the·given·<code>spans</code>·and·<code>message</code>.</p>23 ····T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,</div></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Adds·a·new·child·diagnostics·message·to·<code>self</code>·with·the·<a·href="enum.Level.html#variant.Help"·title="variant·proc_macro::Level::Help"><code>Level::Help</code></a>·level,·and·the·given·<code>spans</code>·and·<code>message</code>.</p>
24 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.help"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#117">source</a><h4·class="code-header">pub·fn·<a·href="#method.help"·class="fn">help</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Adds·a·new·child·diagnostic·message·to·<code>self</code>·with·the·<a·href="enum.Level.html#variant.Help"·title="variant·proc_macro::Level::Help"><code>Level::Help</code></a>·level,·and·the·given·<code>message</code>.</p>24 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.help"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#117">source</a><h4·class="code-header">pub·fn·<a·href="#method.help"·class="fn">help</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Adds·a·new·child·diagnostic·message·to·<code>self</code>·with·the·<a·href="enum.Level.html#variant.Help"·title="variant·proc_macro::Level::Help"><code>Level::Help</code></a>·level,·and·the·given·<code>message</code>.</p>
25 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.level"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#121-123">source</a><h4·class="code-header">pub·fn·<a·href="#method.level"·class="fn">level</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Returns·the·diagnostic·<code>level</code>·for·<code>self</code>.</p>25 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.level"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#121-123">source</a><h4·class="code-header">pub·fn·<a·href="#method.level"·class="fn">level</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Returns·the·diagnostic·<code>level</code>·for·<code>self</code>.</p>
26 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_level"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#127-129">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_level"·class="fn">set_level</a>(&amp;mut·self,·level:·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a>)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Sets·the·level·in·<code>self</code>·to·<code>level</code>.</p>26 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_level"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#127-129">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_level"·class="fn">set_level</a>(&amp;mut·self,·level:·<a·class="enum"·href="enum.Level.html"·title="enum·proc_macro::Level">Level</a>)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Sets·the·level·in·<code>self</code>·to·<code>level</code>.</p>
27 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.message"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#133-135">source</a><h4·class="code-header">pub·fn·<a·href="#method.message"·class="fn">message</a>(&amp;self)·-&gt;·&amp;<a·class="primitive"·href="../std/primitive.str.html">str</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Returns·the·message·in·<code>self</code>.</p>27 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.message"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#133-135">source</a><h4·class="code-header">pub·fn·<a·href="#method.message"·class="fn">message</a>(&amp;self)·-&gt;·&amp;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Returns·the·message·in·<code>self</code>.</p>
28 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_message"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#139-141">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_message"·class="fn">set_message</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(&amp;mut·self,·message:·T)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Sets·the·message·in·<code>self</code>·to·<code>message</code>.</p>28 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_message"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#139-141">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_message"·class="fn">set_message</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(&amp;mut·self,·message:·T)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Sets·the·message·in·<code>self</code>·to·<code>message</code>.</p>
29 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.spans"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#145-147">source</a><h4·class="code-header">pub·fn·<a·href="#method.spans"·class="fn">spans</a>(&amp;self)·-&gt;·&amp;[<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>]</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Returns·the·<code>Span</code>s·in·<code>self</code>.</p>29 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.spans"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#145-147">source</a><h4·class="code-header">pub·fn·<a·href="#method.spans"·class="fn">spans</a>(&amp;self)·-&gt;·&amp;[<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>]</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Returns·the·<code>Span</code>s·in·<code>self</code>.</p>
30 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_spans"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#151-153">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_spans"·class="fn">set_spans</a>&lt;S:·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>&gt;(&amp;mut·self,·spans:·S)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Sets·the·<code>Span</code>s·in·<code>self</code>·to·<code>spans</code>.</p>30 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_spans"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#151-153">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_spans"·class="fn">set_spans</a>&lt;S:·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>&gt;(&amp;mut·self,·spans:·S)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Sets·the·<code>Span</code>s·in·<code>self</code>·to·<code>spans</code>.</p>
31 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.children"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#157-159">source</a><h4·class="code-header">pub·fn·<a·href="#method.children"·class="fn">children</a>(&amp;self)·-&gt;·Children&lt;'_&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Returns·an·iterator·over·the·children·diagnostics·of·<code>self</code>.</p>31 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.children"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#157-159">source</a><h4·class="code-header">pub·fn·<a·href="#method.children"·class="fn">children</a>(&amp;self)·-&gt;·Children&lt;'_&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Returns·an·iterator·over·the·children·diagnostics·of·<code>self</code>.</p>
32 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.emit"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#163-174">source</a><h4·class="code-header">pub·fn·<a·href="#method.emit"·class="fn">emit</a>(self)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Emit·the·diagnostic.</p>32 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.emit"·class="method"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#163-174">source</a><h4·class="code-header">pub·fn·<a·href="#method.emit"·class="fn">emit</a>(self)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Emit·the·diagnostic.</p>
33 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Diagnostic"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#49">source</a><a·href="#impl-Clone-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#49">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Diagnostic"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#49">source</a><a·href="#impl-Debug-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#49">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Diagnostic"·class="impl"><a·href="#impl-Freeze-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-RefUnwindSafe-for-Diagnostic"·class="impl"><a·href="#impl-RefUnwindSafe-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-Send-for-Diagnostic"·class="impl"><a·href="#impl-Send-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-Sync-for-Diagnostic"·class="impl"><a·href="#impl-Sync-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-Unpin-for-Diagnostic"·class="impl"><a·href="#impl-Unpin-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-UnwindSafe-for-Diagnostic"·class="impl"><a·href="#impl-UnwindSafe-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where33 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Diagnostic"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#49">source</a><a·href="#impl-Clone-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#49">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Diagnostic"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#49">source</a><a·href="#impl-Debug-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#49">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Diagnostic"·class="impl"><a·href="#impl-Freeze-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-RefUnwindSafe-for-Diagnostic"·class="impl"><a·href="#impl-RefUnwindSafe-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-Send-for-Diagnostic"·class="impl"><a·href="#impl-Send-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-Sync-for-Diagnostic"·class="impl"><a·href="#impl-Sync-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-Unpin-for-Diagnostic"·class="impl"><a·href="#impl-Unpin-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section><section·id="impl-UnwindSafe-for-Diagnostic"·class="impl"><a·href="#impl-UnwindSafe-for-Diagnostic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
34 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where34 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
35 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where35 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
36 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>36 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
37 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where37 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
38 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>38 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
39 <p>That·is,·this·conversion·is·whatever·the·implementation·of39 <p>That·is,·this·conversion·is·whatever·the·implementation·of
40 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>40 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
41 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where41 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
42 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where42 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
43 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where43 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
44 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>44 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
37.4 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.ExpandError.html
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Error·returned·from·`TokenStream::expand_expr`."><title>ExpandError·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">ExpandError</a></h2><div·class="sidebar-elems"><section><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-ExpandError">!Send</a></li><li><a·href="#impl-Sync-for-ExpandError">!Sync</a></li><li><a·href="#impl-Debug-for-ExpandError">Debug</a></li><li><a·href="#impl-Display-for-ExpandError">Display</a></li><li><a·href="#impl-Error-for-ExpandError">Error</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-ExpandError">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ExpandError">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-ExpandError">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ExpandError">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Error·returned·from·`TokenStream::expand_expr`."><title>ExpandError·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">ExpandError</a></h2><div·class="sidebar-elems"><section><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-ExpandError">!Send</a></li><li><a·href="#impl-Sync-for-ExpandError">!Sync</a></li><li><a·href="#impl-Debug-for-ExpandError">Debug</a></li><li><a·href="#impl-Display-for-ExpandError">Display</a></li><li><a·href="#impl-Error-for-ExpandError">Error</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-ExpandError">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ExpandError">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-ExpandError">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ExpandError">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">ExpandError</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/proc_macro/lib.rs.html#117">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code><div·class="code-attribute">#[non_exhaustive]</div>pub·struct·ExpandError;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_expand</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/90765">#90765</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Error·returned·from·<code>TokenStream::expand_expr</code>.</p>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">ExpandError</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/proc_macro/lib.rs.html#117">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code><div·class="code-attribute">#[non_exhaustive]</div>pub·struct·ExpandError;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_expand</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/90765">#90765</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Error·returned·from·<code>TokenStream::expand_expr</code>.</p>
3 </div></details><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#116">source</a><a·href="#impl-Debug-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#116">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#120-124">source</a><a·href="#impl-Display-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#121-123">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Error-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#127">source</a><a·href="#impl-Error-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.source"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../src/core/error.rs.html#84">source</a></span><a·href="#method.source"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.source"·class="fn">source</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;(dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·+·'static)&gt;</h4></section></summary><div·class='docblock'>The·lower-level·source·of·this·error,·if·any.·<a·href="../core/error/trait.Error.html#method.source">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.description"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/error.rs.html#110">source</a></span><a·href="#method.description"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.description"·class="fn">description</a>(&amp;self)·-&gt;·&amp;<a·class="primitive"·href="../std/primitive.str.html">str</a></h4></section></summary><span·class="item-info"><div·class="stab·deprecated"><span·class="emoji">👎</span><span>Deprecated·since·1.42.0:·use·the·Display·impl·or·to_string()</span></div></span><div·class='docblock'>·<a·href="../core/error/trait.Error.html#method.description">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.cause"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/error.rs.html#120">source</a></span><a·href="#method.cause"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.cause"·class="fn">cause</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>&gt;</h4></section></summary><span·class="item-info"><div·class="stab·deprecated"><span·class="emoji">👎</span><span>Deprecated·since·1.33.0:·replaced·by·Error::source,·which·can·support·downcasting</span></div></span></details><details·class="toggle·method-toggle"·open><summary><section·id="method.provide"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/error.rs.html#184">source</a><a·href="#method.provide"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.provide"·class="fn">provide</a>&lt;'a&gt;(&amp;'a·self,·request:·&amp;mut·<a·class="struct"·href="../core/error/struct.Request.html"·title="struct·core::error::Request">Request</a>&lt;'a&gt;)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>error_generic_member_access</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/99301">#99301</a>)</span></div></span><div·class='docblock'>Provides·type·based·access·to·context·intended·for·error·reports.·<a·href="../core/error/trait.Error.html#method.provide">Read·more</a></div></details></div></details><section·id="impl-Send-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#130">source</a><a·href="#impl-Send-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section><section·id="impl-Sync-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#133">source</a><a·href="#impl-Sync-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-ExpandError"·class="impl"><a·href="#impl-Freeze-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section><section·id="impl-RefUnwindSafe-for-ExpandError"·class="impl"><a·href="#impl-RefUnwindSafe-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section><section·id="impl-Unpin-for-ExpandError"·class="impl"><a·href="#impl-Unpin-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section><section·id="impl-UnwindSafe-for-ExpandError"·class="impl"><a·href="#impl-UnwindSafe-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where3 </div></details><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#116">source</a><a·href="#impl-Debug-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#116">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#120-124">source</a><a·href="#impl-Display-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#121-123">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Error-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#127">source</a><a·href="#impl-Error-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.source"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../src/core/error.rs.html#84">source</a></span><a·href="#method.source"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.source"·class="fn">source</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;(dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·+·'static)&gt;</h4></section></summary><div·class='docblock'>The·lower-level·source·of·this·error,·if·any.·<a·href="../core/error/trait.Error.html#method.source">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.description"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/error.rs.html#110">source</a></span><a·href="#method.description"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.description"·class="fn">description</a>(&amp;self)·-&gt;·&amp;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a></h4></section></summary><span·class="item-info"><div·class="stab·deprecated"><span·class="emoji">👎</span><span>Deprecated·since·1.42.0:·use·the·Display·impl·or·to_string()</span></div></span><div·class='docblock'>·<a·href="../core/error/trait.Error.html#method.description">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.cause"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/error.rs.html#120">source</a></span><a·href="#method.cause"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.cause"·class="fn">cause</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>&gt;</h4></section></summary><span·class="item-info"><div·class="stab·deprecated"><span·class="emoji">👎</span><span>Deprecated·since·1.33.0:·replaced·by·Error::source,·which·can·support·downcasting</span></div></span></details><details·class="toggle·method-toggle"·open><summary><section·id="method.provide"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/error.rs.html#184">source</a><a·href="#method.provide"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.provide"·class="fn">provide</a>&lt;'a&gt;(&amp;'a·self,·request:·&amp;mut·<a·class="struct"·href="../core/error/struct.Request.html"·title="struct·core::error::Request">Request</a>&lt;'a&gt;)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>error_generic_member_access</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/99301">#99301</a>)</span></div></span><div·class='docblock'>Provides·type·based·access·to·context·intended·for·error·reports.·<a·href="../core/error/trait.Error.html#method.provide">Read·more</a></div></details></div></details><section·id="impl-Send-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#130">source</a><a·href="#impl-Send-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section><section·id="impl-Sync-for-ExpandError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#133">source</a><a·href="#impl-Sync-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-ExpandError"·class="impl"><a·href="#impl-Freeze-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section><section·id="impl-RefUnwindSafe-for-ExpandError"·class="impl"><a·href="#impl-RefUnwindSafe-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section><section·id="impl-Unpin-for-ExpandError"·class="impl"><a·href="#impl-Unpin-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section><section·id="impl-UnwindSafe-for-ExpandError"·class="impl"><a·href="#impl-UnwindSafe-for-ExpandError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
4 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where4 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
5 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where5 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
6 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>6 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
7 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where7 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
8 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>8 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
9 <p>That·is,·this·conversion·is·whatever·the·implementation·of9 <p>That·is,·this·conversion·is·whatever·the·implementation·of
10 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>10 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
12 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where12 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
13 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where13 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
31.5 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.Group.html
    
Offset 20, 23 lines modifiedOffset 20, 23 lines modified
20 <div·class="example-wrap"><pre·class="language-text"><code>pub·fn·span_close(&amp;self)·-&gt;·Span·{20 <div·class="example-wrap"><pre·class="language-text"><code>pub·fn·span_close(&amp;self)·-&gt;·Span·{
21 ·······················^21 ·······················^
22 </code></pre></div></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#894-896">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_span"·class="fn">set_span</a>(&amp;mut·self,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)</h4></section></summary><div·class="docblock"><p>Configures·the·span·for·this·<code>Group</code>’s·delimiters,·but·not·its·internal22 </code></pre></div></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#894-896">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_span"·class="fn">set_span</a>(&amp;mut·self,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)</h4></section></summary><div·class="docblock"><p>Configures·the·span·for·this·<code>Group</code>’s·delimiters,·but·not·its·internal
23 tokens.</p>23 tokens.</p>
24 <p>This·method·will·<strong>not</strong>·set·the·span·of·all·the·internal·tokens·spanned24 <p>This·method·will·<strong>not</strong>·set·the·span·of·all·the·internal·tokens·spanned
25 by·this·group,·but·rather·it·will·only·set·the·span·of·the·delimiter25 by·this·group,·but·rather·it·will·only·set·the·span·of·the·delimiter
26 tokens·at·the·level·of·the·<code>Group</code>.</p>26 tokens·at·the·level·of·the·<code>Group</code>.</p>
27 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#792">source</a><a·href="#impl-Clone-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#792">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#921-929">source</a><a·href="#impl-Debug-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#922-928">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#913-918">source</a><a·href="#impl-Display-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></summary><div·class="docblock"><p>Prints·the·group·as·a·string·that·should·be·losslessly·convertible·back27 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#792">source</a><a·href="#impl-Clone-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#792">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#921-929">source</a><a·href="#impl-Debug-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#922-928">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#913-918">source</a><a·href="#impl-Display-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></summary><div·class="docblock"><p>Prints·the·group·as·a·string·that·should·be·losslessly·convertible·back
28 into·the·same·group·(modulo·spans),·except·for·possibly·<code>TokenTree::Group</code>s28 into·the·same·group·(modulo·spans),·except·for·possibly·<code>TokenTree::Group</code>s
29 with·<code>Delimiter::None</code>·delimiters.</p>29 with·<code>Delimiter::None</code>·delimiters.</p>
30 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#915-917">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CGroup%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#728-732">source</a><a·href="#impl-From%3CGroup%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#729-731">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><section·id="impl-Send-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#797">source</a><a·href="#impl-Send-for-Group"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section><section·id="impl-Sync-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#799">source</a><a·href="#impl-Sync-for-Group"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Group"·class="impl"><a·href="#impl-Freeze-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section><section·id="impl-RefUnwindSafe-for-Group"·class="impl"><a·href="#impl-RefUnwindSafe-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section><section·id="impl-Unpin-for-Group"·class="impl"><a·href="#impl-Unpin-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section><section·id="impl-UnwindSafe-for-Group"·class="impl"><a·href="#impl-UnwindSafe-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where30 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#915-917">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CGroup%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#728-732">source</a><a·href="#impl-From%3CGroup%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#729-731">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><section·id="impl-Send-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#797">source</a><a·href="#impl-Send-for-Group"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section><section·id="impl-Sync-for-Group"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#799">source</a><a·href="#impl-Sync-for-Group"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Group"·class="impl"><a·href="#impl-Freeze-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section><section·id="impl-RefUnwindSafe-for-Group"·class="impl"><a·href="#impl-RefUnwindSafe-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section><section·id="impl-Unpin-for-Group"·class="impl"><a·href="#impl-Unpin-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section><section·id="impl-UnwindSafe-for-Group"·class="impl"><a·href="#impl-UnwindSafe-for-Group"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
31 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where31 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
32 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where32 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
33 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>33 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
34 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where34 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
35 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>35 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
36 <p>That·is,·this·conversion·is·whatever·the·implementation·of36 <p>That·is,·this·conversion·is·whatever·the·implementation·of
37 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>37 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
38 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where38 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
39 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where39 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
40 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where40 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
41 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where41 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
42 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>42 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
42.8 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.Ident.html
    
Offset 1, 39 lines modifiedOffset 1, 39 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="An·identifier·(`ident`)."><title>Ident·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Ident</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new">new</a></li><li><a·href="#method.new_raw">new_raw</a></li><li><a·href="#method.set_span">set_span</a></li><li><a·href="#method.span">span</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Ident">Clone</a></li><li><a·href="#impl-Debug-for-Ident">Debug</a></li><li><a·href="#impl-Display-for-Ident">Display</a></li><li><a·href="#impl-From%3CIdent%3E-for-TokenTree">From&lt;Ident&gt;</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Send-for-Ident">!Send</a></li><li><a·href="#impl-Sync-for-Ident">!Sync</a></li><li><a·href="#impl-Freeze-for-Ident">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Ident">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Ident">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Ident">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="An·identifier·(`ident`)."><title>Ident·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Ident</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new">new</a></li><li><a·href="#method.new_raw">new_raw</a></li><li><a·href="#method.set_span">set_span</a></li><li><a·href="#method.span">span</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Ident">Clone</a></li><li><a·href="#impl-Debug-for-Ident">Debug</a></li><li><a·href="#impl-Display-for-Ident">Display</a></li><li><a·href="#impl-From%3CIdent%3E-for-TokenTree">From&lt;Ident&gt;</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Send-for-Ident">!Send</a></li><li><a·href="#impl-Sync-for-Ident">!Sync</a></li><li><a·href="#impl-Freeze-for-Ident">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Ident">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Ident">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Ident">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">Ident</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1067">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Ident(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>An·identifier·(<code>ident</code>).</p>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">Ident</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1067">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Ident(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>An·identifier·(<code>ident</code>).</p>
3 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Ident"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1069-1123">source</a><a·href="#impl-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.new"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1090-1096">source</a><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>(string:·&amp;<a·class="primitive"·href="../std/primitive.str.html">str</a>,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·<code>Ident</code>·with·the·given·<code>string</code>·as·well·as·the·specified3 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Ident"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1069-1123">source</a><a·href="#impl-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.new"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1090-1096">source</a><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>(string:·&amp;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·<code>Ident</code>·with·the·given·<code>string</code>·as·well·as·the·specified
4 <code>span</code>.4 <code>span</code>.
5 The·<code>string</code>·argument·must·be·a·valid·identifier·permitted·by·the5 The·<code>string</code>·argument·must·be·a·valid·identifier·permitted·by·the
6 language·(including·keywords,·e.g.·<code>self</code>·or·<code>fn</code>).·Otherwise,·the·function·will·panic.</p>6 language·(including·keywords,·e.g.·<code>self</code>·or·<code>fn</code>).·Otherwise,·the·function·will·panic.</p>
7 <p>Note·that·<code>span</code>,·currently·in·rustc,·configures·the·hygiene·information7 <p>Note·that·<code>span</code>,·currently·in·rustc,·configures·the·hygiene·information
8 for·this·identifier.</p>8 for·this·identifier.</p>
9 <p>As·of·this·time·<code>Span::call_site()</code>·explicitly·opts-in·to·“call-site”·hygiene9 <p>As·of·this·time·<code>Span::call_site()</code>·explicitly·opts-in·to·“call-site”·hygiene
10 meaning·that·identifiers·created·with·this·span·will·be·resolved·as·if·they·were·written10 meaning·that·identifiers·created·with·this·span·will·be·resolved·as·if·they·were·written
11 directly·at·the·location·of·the·macro·call,·and·other·code·at·the·macro·call·site·will·be11 directly·at·the·location·of·the·macro·call,·and·other·code·at·the·macro·call·site·will·be
12 able·to·refer·to·them·as·well.</p>12 able·to·refer·to·them·as·well.</p>
13 <p>Later·spans·like·<code>Span::def_site()</code>·will·allow·to·opt-in·to·“definition-site”·hygiene13 <p>Later·spans·like·<code>Span::def_site()</code>·will·allow·to·opt-in·to·“definition-site”·hygiene
14 meaning·that·identifiers·created·with·this·span·will·be·resolved·at·the·location·of·the14 meaning·that·identifiers·created·with·this·span·will·be·resolved·at·the·location·of·the
15 macro·definition·and·other·code·at·the·macro·call·site·will·not·be·able·to·refer·to·them.</p>15 macro·definition·and·other·code·at·the·macro·call·site·will·not·be·able·to·refer·to·them.</p>
16 <p>Due·to·the·current·importance·of·hygiene·this·constructor,·unlike·other16 <p>Due·to·the·current·importance·of·hygiene·this·constructor,·unlike·other
17 tokens,·requires·a·<code>Span</code>·to·be·specified·at·construction.</p>17 tokens,·requires·a·<code>Span</code>·to·be·specified·at·construction.</p>
18 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.new_raw"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.47.0">1.47.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1103-1109">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.new_raw"·class="fn">new_raw</a>(string:·&amp;<a·class="primitive"·href="../std/primitive.str.html">str</a>,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h4></section></summary><div·class="docblock"><p>Same·as·<code>Ident::new</code>,·but·creates·a·raw·identifier·(<code>r#ident</code>).18 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.new_raw"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.47.0">1.47.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1103-1109">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.new_raw"·class="fn">new_raw</a>(string:·&amp;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h4></section></summary><div·class="docblock"><p>Same·as·<code>Ident::new</code>,·but·creates·a·raw·identifier·(<code>r#ident</code>).
19 The·<code>string</code>·argument·be·a·valid·identifier·permitted·by·the·language19 The·<code>string</code>·argument·be·a·valid·identifier·permitted·by·the·language
20 (including·keywords,·e.g.·<code>fn</code>).·Keywords·which·are·usable·in·path·segments20 (including·keywords,·e.g.·<code>fn</code>).·Keywords·which·are·usable·in·path·segments
21 (e.g.·<code>self</code>,·<code>super</code>)·are·not·supported,·and·will·cause·a·panic.</p>21 (e.g.·<code>self</code>,·<code>super</code>)·are·not·supported,·and·will·cause·a·panic.</p>
22 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1114-1116">source</a><h4·class="code-header">pub·fn·<a·href="#method.span"·class="fn">span</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Returns·the·span·of·this·<code>Ident</code>,·encompassing·the·entire·string·returned22 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1114-1116">source</a><h4·class="code-header">pub·fn·<a·href="#method.span"·class="fn">span</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Returns·the·span·of·this·<code>Ident</code>,·encompassing·the·entire·string·returned
23 by·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·title="method·alloc::string::ToString::to_string"><code>to_string</code></a>.</p>23 by·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·title="method·alloc::string::ToString::to_string"><code>to_string</code></a>.</p>
24 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1120-1122">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_span"·class="fn">set_span</a>(&amp;mut·self,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)</h4></section></summary><div·class="docblock"><p>Configures·the·span·of·this·<code>Ident</code>,·possibly·changing·its·hygiene·context.</p>24 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1120-1122">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_span"·class="fn">set_span</a>(&amp;mut·self,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)</h4></section></summary><div·class="docblock"><p>Configures·the·span·of·this·<code>Ident</code>,·possibly·changing·its·hygiene·context.</p>
25 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Ident"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1065">source</a><a·href="#impl-Clone-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1065">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Ident"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1146-1153">source</a><a·href="#impl-Debug-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1147-1152">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-Ident"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1136-1143">source</a><a·href="#impl-Display-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></summary><div·class="docblock"><p>Prints·the·identifier·as·a·string·that·should·be·losslessly·convertible·back25 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Ident"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1065">source</a><a·href="#impl-Clone-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1065">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Ident"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1146-1153">source</a><a·href="#impl-Debug-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1147-1152">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-Ident"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1136-1143">source</a><a·href="#impl-Display-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></summary><div·class="docblock"><p>Prints·the·identifier·as·a·string·that·should·be·losslessly·convertible·back
26 into·the·same·identifier.</p>26 into·the·same·identifier.</p>
27 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1137-1142">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CIdent%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#735-739">source</a><a·href="#impl-From%3CIdent%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#736-738">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Ident"·class="impl"><a·href="#impl-Freeze-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-RefUnwindSafe-for-Ident"·class="impl"><a·href="#impl-RefUnwindSafe-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-Send-for-Ident"·class="impl"><a·href="#impl-Send-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-Sync-for-Ident"·class="impl"><a·href="#impl-Sync-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-Unpin-for-Ident"·class="impl"><a·href="#impl-Unpin-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-UnwindSafe-for-Ident"·class="impl"><a·href="#impl-UnwindSafe-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where27 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1137-1142">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CIdent%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#735-739">source</a><a·href="#impl-From%3CIdent%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#736-738">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Ident"·class="impl"><a·href="#impl-Freeze-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-RefUnwindSafe-for-Ident"·class="impl"><a·href="#impl-RefUnwindSafe-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-Send-for-Ident"·class="impl"><a·href="#impl-Send-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-Sync-for-Ident"·class="impl"><a·href="#impl-Sync-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-Unpin-for-Ident"·class="impl"><a·href="#impl-Unpin-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section><section·id="impl-UnwindSafe-for-Ident"·class="impl"><a·href="#impl-UnwindSafe-for-Ident"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
28 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where28 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
29 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where29 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
30 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>30 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
31 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where31 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
32 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>32 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
33 <p>That·is,·this·conversion·is·whatever·the·implementation·of33 <p>That·is,·this·conversion·is·whatever·the·implementation·of
34 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>34 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
35 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where35 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
36 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where36 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
37 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where37 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
38 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where38 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
39 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>39 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
37.3 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.LexError.html
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Error·returned·from·`TokenStream::from_str`."><title>LexError·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">LexError</a></h2><div·class="sidebar-elems"><section><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-LexError">!Send</a></li><li><a·href="#impl-Sync-for-LexError">!Sync</a></li><li><a·href="#impl-Debug-for-LexError">Debug</a></li><li><a·href="#impl-Display-for-LexError">Display</a></li><li><a·href="#impl-Error-for-LexError">Error</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-LexError">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-LexError">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-LexError">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-LexError">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Error·returned·from·`TokenStream::from_str`."><title>LexError·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">LexError</a></h2><div·class="sidebar-elems"><section><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-LexError">!Send</a></li><li><a·href="#impl-Sync-for-LexError">!Sync</a></li><li><a·href="#impl-Debug-for-LexError">Debug</a></li><li><a·href="#impl-Display-for-LexError">Display</a></li><li><a·href="#impl-Error-for-LexError">Error</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-LexError">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-LexError">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-LexError">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-LexError">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">LexError</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.15.0">1.15.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#96">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code><div·class="code-attribute">#[non_exhaustive]</div>pub·struct·LexError;</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Error·returned·from·<code>TokenStream::from_str</code>.</p>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">LexError</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.15.0">1.15.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#96">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code><div·class="code-attribute">#[non_exhaustive]</div>pub·struct·LexError;</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Error·returned·from·<code>TokenStream::from_str</code>.</p>
3 </div></details><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-LexError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#95">source</a><a·href="#impl-Debug-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#95">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-LexError"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.44.0">1.44.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#99-103">source</a></span><a·href="#impl-Display-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#100-102">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Error-for-LexError"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.44.0">1.44.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#106">source</a></span><a·href="#impl-Error-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.source"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../src/core/error.rs.html#84">source</a></span><a·href="#method.source"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.source"·class="fn">source</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;(dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·+·'static)&gt;</h4></section></summary><div·class='docblock'>The·lower-level·source·of·this·error,·if·any.·<a·href="../core/error/trait.Error.html#method.source">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.description"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/error.rs.html#110">source</a></span><a·href="#method.description"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.description"·class="fn">description</a>(&amp;self)·-&gt;·&amp;<a·class="primitive"·href="../std/primitive.str.html">str</a></h4></section></summary><span·class="item-info"><div·class="stab·deprecated"><span·class="emoji">👎</span><span>Deprecated·since·1.42.0:·use·the·Display·impl·or·to_string()</span></div></span><div·class='docblock'>·<a·href="../core/error/trait.Error.html#method.description">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.cause"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/error.rs.html#120">source</a></span><a·href="#method.cause"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.cause"·class="fn">cause</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>&gt;</h4></section></summary><span·class="item-info"><div·class="stab·deprecated"><span·class="emoji">👎</span><span>Deprecated·since·1.33.0:·replaced·by·Error::source,·which·can·support·downcasting</span></div></span></details><details·class="toggle·method-toggle"·open><summary><section·id="method.provide"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/error.rs.html#184">source</a><a·href="#method.provide"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.provide"·class="fn">provide</a>&lt;'a&gt;(&amp;'a·self,·request:·&amp;mut·<a·class="struct"·href="../core/error/struct.Request.html"·title="struct·core::error::Request">Request</a>&lt;'a&gt;)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>error_generic_member_access</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/99301">#99301</a>)</span></div></span><div·class='docblock'>Provides·type·based·access·to·context·intended·for·error·reports.·<a·href="../core/error/trait.Error.html#method.provide">Read·more</a></div></details></div></details><section·id="impl-Send-for-LexError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#109">source</a><a·href="#impl-Send-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section><section·id="impl-Sync-for-LexError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#111">source</a><a·href="#impl-Sync-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-LexError"·class="impl"><a·href="#impl-Freeze-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section><section·id="impl-RefUnwindSafe-for-LexError"·class="impl"><a·href="#impl-RefUnwindSafe-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section><section·id="impl-Unpin-for-LexError"·class="impl"><a·href="#impl-Unpin-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section><section·id="impl-UnwindSafe-for-LexError"·class="impl"><a·href="#impl-UnwindSafe-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where3 </div></details><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-LexError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#95">source</a><a·href="#impl-Debug-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#95">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-LexError"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.44.0">1.44.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#99-103">source</a></span><a·href="#impl-Display-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#100-102">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Error-for-LexError"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.44.0">1.44.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#106">source</a></span><a·href="#impl-Error-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.source"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../src/core/error.rs.html#84">source</a></span><a·href="#method.source"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.source"·class="fn">source</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;(dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·+·'static)&gt;</h4></section></summary><div·class='docblock'>The·lower-level·source·of·this·error,·if·any.·<a·href="../core/error/trait.Error.html#method.source">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.description"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/error.rs.html#110">source</a></span><a·href="#method.description"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.description"·class="fn">description</a>(&amp;self)·-&gt;·&amp;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a></h4></section></summary><span·class="item-info"><div·class="stab·deprecated"><span·class="emoji">👎</span><span>Deprecated·since·1.42.0:·use·the·Display·impl·or·to_string()</span></div></span><div·class='docblock'>·<a·href="../core/error/trait.Error.html#method.description">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.cause"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/error.rs.html#120">source</a></span><a·href="#method.cause"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.cause"·class="fn">cause</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>&gt;</h4></section></summary><span·class="item-info"><div·class="stab·deprecated"><span·class="emoji">👎</span><span>Deprecated·since·1.33.0:·replaced·by·Error::source,·which·can·support·downcasting</span></div></span></details><details·class="toggle·method-toggle"·open><summary><section·id="method.provide"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/error.rs.html#184">source</a><a·href="#method.provide"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/error/trait.Error.html#method.provide"·class="fn">provide</a>&lt;'a&gt;(&amp;'a·self,·request:·&amp;mut·<a·class="struct"·href="../core/error/struct.Request.html"·title="struct·core::error::Request">Request</a>&lt;'a&gt;)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>error_generic_member_access</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/99301">#99301</a>)</span></div></span><div·class='docblock'>Provides·type·based·access·to·context·intended·for·error·reports.·<a·href="../core/error/trait.Error.html#method.provide">Read·more</a></div></details></div></details><section·id="impl-Send-for-LexError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#109">source</a><a·href="#impl-Send-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section><section·id="impl-Sync-for-LexError"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#111">source</a><a·href="#impl-Sync-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-LexError"·class="impl"><a·href="#impl-Freeze-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section><section·id="impl-RefUnwindSafe-for-LexError"·class="impl"><a·href="#impl-RefUnwindSafe-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section><section·id="impl-Unpin-for-LexError"·class="impl"><a·href="#impl-Unpin-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section><section·id="impl-UnwindSafe-for-LexError"·class="impl"><a·href="#impl-UnwindSafe-for-LexError"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
4 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where4 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
5 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where5 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
6 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>6 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
7 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where7 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
8 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>8 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
9 <p>That·is,·this·conversion·is·whatever·the·implementation·of9 <p>That·is,·this·conversion·is·whatever·the·implementation·of
10 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>10 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
12 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where12 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
13 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where13 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
105 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.Literal.html
    
Offset 1, 315 lines modifiedOffset 1, 315 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="A·literal·string·(`&quot;hello&quot;`),·byte·string·(`b&quot;hello&quot;`),·character·(`&#x27;a&#x27;`),·byte·character·(`b&#x27;a&#x27;`),·an·integer·or·floating·point·number·with·or·without·a·suffix·(`1`,·`1u8`,·`2.3`,·`2.3f32`).·Boolean·literals·like·`true`·and·`false`·do·not·belong·here,·they·are·`Ident`s."><title>Literal·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Literal</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.byte_character">byte_character</a></li><li><a·href="#method.byte_string">byte_string</a></li><li><a·href="#method.c_string">c_string</a></li><li><a·href="#method.character">character</a></li><li><a·href="#method.f32_suffixed">f32_suffixed</a></li><li><a·href="#method.f32_unsuffixed">f32_unsuffixed</a></li><li><a·href="#method.f64_suffixed">f64_suffixed</a></li><li><a·href="#method.f64_unsuffixed">f64_unsuffixed</a></li><li><a·href="#method.i128_suffixed">i128_suffixed</a></li><li><a·href="#method.i128_unsuffixed">i128_unsuffixed</a></li><li><a·href="#method.i16_suffixed">i16_suffixed</a></li><li><a·href="#method.i16_unsuffixed">i16_unsuffixed</a></li><li><a·href="#method.i32_suffixed">i32_suffixed</a></li><li><a·href="#method.i32_unsuffixed">i32_unsuffixed</a></li><li><a·href="#method.i64_suffixed">i64_suffixed</a></li><li><a·href="#method.i64_unsuffixed">i64_unsuffixed</a></li><li><a·href="#method.i8_suffixed">i8_suffixed</a></li><li><a·href="#method.i8_unsuffixed">i8_unsuffixed</a></li><li><a·href="#method.isize_suffixed">isize_suffixed</a></li><li><a·href="#method.isize_unsuffixed">isize_unsuffixed</a></li><li><a·href="#method.set_span">set_span</a></li><li><a·href="#method.span">span</a></li><li><a·href="#method.string">string</a></li><li><a·href="#method.subspan">subspan</a></li><li><a·href="#method.u128_suffixed">u128_suffixed</a></li><li><a·href="#method.u128_unsuffixed">u128_unsuffixed</a></li><li><a·href="#method.u16_suffixed">u16_suffixed</a></li><li><a·href="#method.u16_unsuffixed">u16_unsuffixed</a></li><li><a·href="#method.u32_suffixed">u32_suffixed</a></li><li><a·href="#method.u32_unsuffixed">u32_unsuffixed</a></li><li><a·href="#method.u64_suffixed">u64_suffixed</a></li><li><a·href="#method.u64_unsuffixed">u64_unsuffixed</a></li><li><a·href="#method.u8_suffixed">u8_suffixed</a></li><li><a·href="#method.u8_unsuffixed">u8_unsuffixed</a></li><li><a·href="#method.usize_suffixed">usize_suffixed</a></li><li><a·href="#method.usize_unsuffixed">usize_unsuffixed</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Literal">Clone</a></li><li><a·href="#impl-Debug-for-Literal">Debug</a></li><li><a·href="#impl-Display-for-Literal">Display</a></li><li><a·href="#impl-From%3CLiteral%3E-for-TokenTree">From&lt;Literal&gt;</a></li><li><a·href="#impl-FromStr-for-Literal">FromStr</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Send-for-Literal">!Send</a></li><li><a·href="#impl-Sync-for-Literal">!Sync</a></li><li><a·href="#impl-Freeze-for-Literal">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Literal">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Literal">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Literal">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="A·literal·string·(`&quot;hello&quot;`),·byte·string·(`b&quot;hello&quot;`),·character·(`&#x27;a&#x27;`),·byte·character·(`b&#x27;a&#x27;`),·an·integer·or·floating·point·number·with·or·without·a·suffix·(`1`,·`1u8`,·`2.3`,·`2.3f32`).·Boolean·literals·like·`true`·and·`false`·do·not·belong·here,·they·are·`Ident`s."><title>Literal·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Literal</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.byte_character">byte_character</a></li><li><a·href="#method.byte_string">byte_string</a></li><li><a·href="#method.c_string">c_string</a></li><li><a·href="#method.character">character</a></li><li><a·href="#method.f32_suffixed">f32_suffixed</a></li><li><a·href="#method.f32_unsuffixed">f32_unsuffixed</a></li><li><a·href="#method.f64_suffixed">f64_suffixed</a></li><li><a·href="#method.f64_unsuffixed">f64_unsuffixed</a></li><li><a·href="#method.i128_suffixed">i128_suffixed</a></li><li><a·href="#method.i128_unsuffixed">i128_unsuffixed</a></li><li><a·href="#method.i16_suffixed">i16_suffixed</a></li><li><a·href="#method.i16_unsuffixed">i16_unsuffixed</a></li><li><a·href="#method.i32_suffixed">i32_suffixed</a></li><li><a·href="#method.i32_unsuffixed">i32_unsuffixed</a></li><li><a·href="#method.i64_suffixed">i64_suffixed</a></li><li><a·href="#method.i64_unsuffixed">i64_unsuffixed</a></li><li><a·href="#method.i8_suffixed">i8_suffixed</a></li><li><a·href="#method.i8_unsuffixed">i8_unsuffixed</a></li><li><a·href="#method.isize_suffixed">isize_suffixed</a></li><li><a·href="#method.isize_unsuffixed">isize_unsuffixed</a></li><li><a·href="#method.set_span">set_span</a></li><li><a·href="#method.span">span</a></li><li><a·href="#method.string">string</a></li><li><a·href="#method.subspan">subspan</a></li><li><a·href="#method.u128_suffixed">u128_suffixed</a></li><li><a·href="#method.u128_unsuffixed">u128_unsuffixed</a></li><li><a·href="#method.u16_suffixed">u16_suffixed</a></li><li><a·href="#method.u16_unsuffixed">u16_unsuffixed</a></li><li><a·href="#method.u32_suffixed">u32_suffixed</a></li><li><a·href="#method.u32_unsuffixed">u32_unsuffixed</a></li><li><a·href="#method.u64_suffixed">u64_suffixed</a></li><li><a·href="#method.u64_unsuffixed">u64_unsuffixed</a></li><li><a·href="#method.u8_suffixed">u8_suffixed</a></li><li><a·href="#method.u8_unsuffixed">u8_unsuffixed</a></li><li><a·href="#method.usize_suffixed">usize_suffixed</a></li><li><a·href="#method.usize_unsuffixed">usize_unsuffixed</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Literal">Clone</a></li><li><a·href="#impl-Debug-for-Literal">Debug</a></li><li><a·href="#impl-Display-for-Literal">Display</a></li><li><a·href="#impl-From%3CLiteral%3E-for-TokenTree">From&lt;Literal&gt;</a></li><li><a·href="#impl-FromStr-for-Literal">FromStr</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Send-for-Literal">!Send</a></li><li><a·href="#impl-Sync-for-Literal">!Sync</a></li><li><a·href="#impl-Freeze-for-Literal">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Literal">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Literal">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Literal">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">Literal</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1161">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Literal(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>A·literal·string·(<code>&quot;hello&quot;</code>),·byte·string·(<code>b&quot;hello&quot;</code>),2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">Literal</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1161">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Literal(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>A·literal·string·(<code>&quot;hello&quot;</code>),·byte·string·(<code>b&quot;hello&quot;</code>),
3 character·(<code>'a'</code>),·byte·character·(<code>b'a'</code>),·an·integer·or·floating·point·number3 character·(<code>'a'</code>),·byte·character·(<code>b'a'</code>),·an·integer·or·floating·point·number
4 with·or·without·a·suffix·(<code>1</code>,·<code>1u8</code>,·<code>2.3</code>,·<code>2.3f32</code>).4 with·or·without·a·suffix·(<code>1</code>,·<code>1u8</code>,·<code>2.3</code>,·<code>2.3f32</code>).
5 Boolean·literals·like·<code>true</code>·and·<code>false</code>·do·not·belong·here,·they·are·<code>Ident</code>s.</p>5 Boolean·literals·like·<code>true</code>·and·<code>false</code>·do·not·belong·here,·they·are·<code>Ident</code>s.</p>
6 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Literal"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1215-1462">source</a><a·href="#impl-Literal"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.u8_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u8_suffixed"·class="fn">u8_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.u8.html">u8</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>6 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Literal"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1215-1462">source</a><a·href="#impl-Literal"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.u8_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u8_suffixed"·class="fn">u8_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u8.html">u8</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
7 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer7 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
8 value·specified·is·the·first·part·of·the·token·and·the·integral·is8 value·specified·is·the·first·part·of·the·token·and·the·integral·is
9 also·suffixed·at·the·end.9 also·suffixed·at·the·end.
10 Literals·created·from·negative·numbers·might·not·survive·round-trips·through10 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
11 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>11 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
12 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>12 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
13 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method13 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
14 below.</p>14 below.</p>
15 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u16_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u16_suffixed"·class="fn">u16_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.u16.html">u16</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>15 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u16_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u16_suffixed"·class="fn">u16_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u16.html">u16</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
16 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer16 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
17 value·specified·is·the·first·part·of·the·token·and·the·integral·is17 value·specified·is·the·first·part·of·the·token·and·the·integral·is
18 also·suffixed·at·the·end.18 also·suffixed·at·the·end.
19 Literals·created·from·negative·numbers·might·not·survive·round-trips·through19 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
20 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>20 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
21 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>21 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
22 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method22 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
23 below.</p>23 below.</p>
24 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u32_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u32_suffixed"·class="fn">u32_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.u32.html">u32</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>24 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u32_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u32_suffixed"·class="fn">u32_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u32.html">u32</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
25 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer25 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
26 value·specified·is·the·first·part·of·the·token·and·the·integral·is26 value·specified·is·the·first·part·of·the·token·and·the·integral·is
27 also·suffixed·at·the·end.27 also·suffixed·at·the·end.
28 Literals·created·from·negative·numbers·might·not·survive·round-trips·through28 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
29 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>29 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
30 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>30 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
31 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method31 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
32 below.</p>32 below.</p>
33 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u64_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u64_suffixed"·class="fn">u64_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.u64.html">u64</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>33 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u64_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u64_suffixed"·class="fn">u64_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u64.html">u64</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
34 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer34 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
35 value·specified·is·the·first·part·of·the·token·and·the·integral·is35 value·specified·is·the·first·part·of·the·token·and·the·integral·is
36 also·suffixed·at·the·end.36 also·suffixed·at·the·end.
37 Literals·created·from·negative·numbers·might·not·survive·round-trips·through37 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
38 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>38 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
39 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>39 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
40 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method40 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
41 below.</p>41 below.</p>
42 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u128_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u128_suffixed"·class="fn">u128_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.u128.html">u128</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>42 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u128_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.u128_suffixed"·class="fn">u128_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u128.html">u128</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
43 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer43 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
44 value·specified·is·the·first·part·of·the·token·and·the·integral·is44 value·specified·is·the·first·part·of·the·token·and·the·integral·is
45 also·suffixed·at·the·end.45 also·suffixed·at·the·end.
46 Literals·created·from·negative·numbers·might·not·survive·round-trips·through46 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
47 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>47 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
48 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>48 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
49 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method49 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
50 below.</p>50 below.</p>
51 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.usize_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.usize_suffixed"·class="fn">usize_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>51 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.usize_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.usize_suffixed"·class="fn">usize_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
52 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer52 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
53 value·specified·is·the·first·part·of·the·token·and·the·integral·is53 value·specified·is·the·first·part·of·the·token·and·the·integral·is
54 also·suffixed·at·the·end.54 also·suffixed·at·the·end.
55 Literals·created·from·negative·numbers·might·not·survive·round-trips·through55 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
56 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>56 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
57 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>57 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
58 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method58 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
59 below.</p>59 below.</p>
60 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i8_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i8_suffixed"·class="fn">i8_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.i8.html">i8</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>60 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i8_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i8_suffixed"·class="fn">i8_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.i8.html">i8</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
61 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer61 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
62 value·specified·is·the·first·part·of·the·token·and·the·integral·is62 value·specified·is·the·first·part·of·the·token·and·the·integral·is
63 also·suffixed·at·the·end.63 also·suffixed·at·the·end.
64 Literals·created·from·negative·numbers·might·not·survive·round-trips·through64 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
65 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>65 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
66 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>66 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
67 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method67 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
68 below.</p>68 below.</p>
69 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i16_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i16_suffixed"·class="fn">i16_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.i16.html">i16</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>69 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i16_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i16_suffixed"·class="fn">i16_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.i16.html">i16</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
70 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer70 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
71 value·specified·is·the·first·part·of·the·token·and·the·integral·is71 value·specified·is·the·first·part·of·the·token·and·the·integral·is
72 also·suffixed·at·the·end.72 also·suffixed·at·the·end.
73 Literals·created·from·negative·numbers·might·not·survive·round-trips·through73 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
74 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>74 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
75 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>75 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
76 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method76 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
77 below.</p>77 below.</p>
78 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i32_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i32_suffixed"·class="fn">i32_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.i32.html">i32</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>78 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i32_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i32_suffixed"·class="fn">i32_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.i32.html">i32</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
79 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer79 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
80 value·specified·is·the·first·part·of·the·token·and·the·integral·is80 value·specified·is·the·first·part·of·the·token·and·the·integral·is
81 also·suffixed·at·the·end.81 also·suffixed·at·the·end.
82 Literals·created·from·negative·numbers·might·not·survive·round-trips·through82 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
83 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>83 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
84 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>84 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
85 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method85 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
86 below.</p>86 below.</p>
87 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i64_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i64_suffixed"·class="fn">i64_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.i64.html">i64</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>87 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i64_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i64_suffixed"·class="fn">i64_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.i64.html">i64</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
88 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer88 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
89 value·specified·is·the·first·part·of·the·token·and·the·integral·is89 value·specified·is·the·first·part·of·the·token·and·the·integral·is
90 also·suffixed·at·the·end.90 also·suffixed·at·the·end.
91 Literals·created·from·negative·numbers·might·not·survive·round-trips·through91 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
92 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>92 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
93 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>93 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
94 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method94 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
95 below.</p>95 below.</p>
96 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i128_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i128_suffixed"·class="fn">i128_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.i128.html">i128</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>96 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i128_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.i128_suffixed"·class="fn">i128_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.i128.html">i128</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
97 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer97 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
98 value·specified·is·the·first·part·of·the·token·and·the·integral·is98 value·specified·is·the·first·part·of·the·token·and·the·integral·is
99 also·suffixed·at·the·end.99 also·suffixed·at·the·end.
100 Literals·created·from·negative·numbers·might·not·survive·round-trips·through100 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
101 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>101 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
102 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>102 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
103 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method103 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
104 below.</p>104 below.</p>
105 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.isize_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.isize_suffixed"·class="fn">isize_suffixed</a>(n:·<a·class="primitive"·href="../std/primitive.isize.html">isize</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>105 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.isize_suffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1225-1238">source</a><h4·class="code-header">pub·fn·<a·href="#method.isize_suffixed"·class="fn">isize_suffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.isize.html">isize</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·suffixed·integer·literal·with·the·specified·value.</p>
106 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer106 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
107 value·specified·is·the·first·part·of·the·token·and·the·integral·is107 value·specified·is·the·first·part·of·the·token·and·the·integral·is
108 also·suffixed·at·the·end.108 also·suffixed·at·the·end.
109 Literals·created·from·negative·numbers·might·not·survive·round-trips·through109 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
110 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>110 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
111 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>111 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
112 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method112 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
113 below.</p>113 below.</p>
114 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u8_unsuffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1240-1253">source</a><h4·class="code-header">pub·fn·<a·href="#method.u8_unsuffixed"·class="fn">u8_unsuffixed</a>(n:·<a·class="primitive"·href="../std/primitive.u8.html">u8</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·unsuffixed·integer·literal·with·the·specified·value.</p>114 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u8_unsuffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1240-1253">source</a><h4·class="code-header">pub·fn·<a·href="#method.u8_unsuffixed"·class="fn">u8_unsuffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u8.html">u8</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·unsuffixed·integer·literal·with·the·specified·value.</p>
115 <p>This·function·will·create·an·integer·like·<code>1</code>·where·the·integer115 <p>This·function·will·create·an·integer·like·<code>1</code>·where·the·integer
116 value·specified·is·the·first·part·of·the·token.·No·suffix·is116 value·specified·is·the·first·part·of·the·token.·No·suffix·is
117 specified·on·this·token,·meaning·that·invocations·like117 specified·on·this·token,·meaning·that·invocations·like
118 <code>Literal::i8_unsuffixed(1)</code>·are·equivalent·to118 <code>Literal::i8_unsuffixed(1)</code>·are·equivalent·to
119 <code>Literal::u32_unsuffixed(1)</code>.119 <code>Literal::u32_unsuffixed(1)</code>.
120 Literals·created·from·negative·numbers·might·not·survive·rountrips·through120 Literals·created·from·negative·numbers·might·not·survive·rountrips·through
121 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>121 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
122 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>122 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
123 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method123 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
124 below.</p>124 below.</p>
125 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u16_unsuffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1240-1253">source</a><h4·class="code-header">pub·fn·<a·href="#method.u16_unsuffixed"·class="fn">u16_unsuffixed</a>(n:·<a·class="primitive"·href="../std/primitive.u16.html">u16</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·unsuffixed·integer·literal·with·the·specified·value.</p>125 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u16_unsuffixed"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1240-1253">source</a><h4·class="code-header">pub·fn·<a·href="#method.u16_unsuffixed"·class="fn">u16_unsuffixed</a>(n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u16.html">u16</a>)·-&gt;·<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·unsuffixed·integer·literal·with·the·specified·value.</p>
126 <p>This·function·will·create·an·integer·like·<code>1</code>·where·the·integer126 <p>This·function·will·create·an·integer·like·<code>1</code>·where·the·integer
127 value·specified·is·the·first·part·of·the·token.·No·suffix·is127 value·specified·is·the·first·part·of·the·token.·No·suffix·is
Max diff block lines reached; 73175/106942 bytes (68.42%) of diff not shown.
52.9 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.Punct.html
    
Offset 1, 34 lines modifiedOffset 1, 34 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="A·`Punct`·is·a·single·punctuation·character·such·as·`+`,·`-`·or·`#`."><title>Punct·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Punct</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_char">as_char</a></li><li><a·href="#method.new">new</a></li><li><a·href="#method.set_span">set_span</a></li><li><a·href="#method.spacing">spacing</a></li><li><a·href="#method.span">span</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-Punct">!Send</a></li><li><a·href="#impl-Sync-for-Punct">!Sync</a></li><li><a·href="#impl-Clone-for-Punct">Clone</a></li><li><a·href="#impl-Debug-for-Punct">Debug</a></li><li><a·href="#impl-Display-for-Punct">Display</a></li><li><a·href="#impl-From%3CPunct%3E-for-TokenTree">From&lt;Punct&gt;</a></li><li><a·href="#impl-PartialEq%3CPunct%3E-for-char">PartialEq&lt;Punct&gt;</a></li><li><a·href="#impl-PartialEq%3Cchar%3E-for-Punct">PartialEq&lt;char&gt;</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Punct">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Punct">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Punct">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Punct">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="A·`Punct`·is·a·single·punctuation·character·such·as·`+`,·`-`·or·`#`."><title>Punct·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Punct</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_char">as_char</a></li><li><a·href="#method.new">new</a></li><li><a·href="#method.set_span">set_span</a></li><li><a·href="#method.spacing">spacing</a></li><li><a·href="#method.span">span</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-Punct">!Send</a></li><li><a·href="#impl-Sync-for-Punct">!Sync</a></li><li><a·href="#impl-Clone-for-Punct">Clone</a></li><li><a·href="#impl-Debug-for-Punct">Debug</a></li><li><a·href="#impl-Display-for-Punct">Display</a></li><li><a·href="#impl-From%3CPunct%3E-for-TokenTree">From&lt;Punct&gt;</a></li><li><a·href="#impl-PartialEq%3CPunct%3E-for-char">PartialEq&lt;Punct&gt;</a></li><li><a·href="#impl-PartialEq%3Cchar%3E-for-Punct">PartialEq&lt;char&gt;</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Punct">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Punct">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Punct">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Punct">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">Punct</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#937">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Punct(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>A·<code>Punct</code>·is·a·single·punctuation·character·such·as·<code>+</code>,·<code>-</code>·or·<code>#</code>.</p>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">Punct</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#937">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Punct(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>A·<code>Punct</code>·is·a·single·punctuation·character·such·as·<code>+</code>,·<code>-</code>·or·<code>#</code>.</p>
3 <p>Multi-character·operators·like·<code>+=</code>·are·represented·as·two·instances·of·<code>Punct</code>·with·different3 <p>Multi-character·operators·like·<code>+=</code>·are·represented·as·two·instances·of·<code>Punct</code>·with·different
4 forms·of·<code>Spacing</code>·returned.</p>4 forms·of·<code>Spacing</code>·returned.</p>
5 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#972-1020">source</a><a·href="#impl-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.new"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#980-993">source</a><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>(ch:·<a·class="primitive"·href="../std/primitive.char.html">char</a>,·spacing:·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a>)·-&gt;·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·<code>Punct</code>·from·the·given·character·and·spacing.5 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#972-1020">source</a><a·href="#impl-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.new"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#980-993">source</a><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>(ch:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.char.html">char</a>,·spacing:·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a>)·-&gt;·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·<code>Punct</code>·from·the·given·character·and·spacing.
6 The·<code>ch</code>·argument·must·be·a·valid·punctuation·character·permitted·by·the·language,6 The·<code>ch</code>·argument·must·be·a·valid·punctuation·character·permitted·by·the·language,
7 otherwise·the·function·will·panic.</p>7 otherwise·the·function·will·panic.</p>
8 <p>The·returned·<code>Punct</code>·will·have·the·default·span·of·<code>Span::call_site()</code>8 <p>The·returned·<code>Punct</code>·will·have·the·default·span·of·<code>Span::call_site()</code>
9 which·can·be·further·configured·with·the·<code>set_span</code>·method·below.</p>9 which·can·be·further·configured·with·the·<code>set_span</code>·method·below.</p>
10 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.as_char"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#997-999">source</a><h4·class="code-header">pub·fn·<a·href="#method.as_char"·class="fn">as_char</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.char.html">char</a></h4></section></summary><div·class="docblock"><p>Returns·the·value·of·this·punctuation·character·as·<code>char</code>.</p>10 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.as_char"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#997-999">source</a><h4·class="code-header">pub·fn·<a·href="#method.as_char"·class="fn">as_char</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.char.html">char</a></h4></section></summary><div·class="docblock"><p>Returns·the·value·of·this·punctuation·character·as·<code>char</code>.</p>
11 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.spacing"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1005-1007">source</a><h4·class="code-header">pub·fn·<a·href="#method.spacing"·class="fn">spacing</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h4></section></summary><div·class="docblock"><p>Returns·the·spacing·of·this·punctuation·character,·indicating·whether·it·can·be·potentially11 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.spacing"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1005-1007">source</a><h4·class="code-header">pub·fn·<a·href="#method.spacing"·class="fn">spacing</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a></h4></section></summary><div·class="docblock"><p>Returns·the·spacing·of·this·punctuation·character,·indicating·whether·it·can·be·potentially
12 combined·into·a·multi-character·operator·with·the·following·token·(<code>Joint</code>),·or·whether·the12 combined·into·a·multi-character·operator·with·the·following·token·(<code>Joint</code>),·or·whether·the
13 operator·has·definitely·ended·(<code>Alone</code>).</p>13 operator·has·definitely·ended·(<code>Alone</code>).</p>
14 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1011-1013">source</a><h4·class="code-header">pub·fn·<a·href="#method.span"·class="fn">span</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Returns·the·span·for·this·punctuation·character.</p>14 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1011-1013">source</a><h4·class="code-header">pub·fn·<a·href="#method.span"·class="fn">span</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Returns·the·span·for·this·punctuation·character.</p>
15 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1017-1019">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_span"·class="fn">set_span</a>(&amp;mut·self,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)</h4></section></summary><div·class="docblock"><p>Configure·the·span·for·this·punctuation·character.</p>15 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1017-1019">source</a><h4·class="code-header">pub·fn·<a·href="#method.set_span"·class="fn">set_span</a>(&amp;mut·self,·span:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)</h4></section></summary><div·class="docblock"><p>Configure·the·span·for·this·punctuation·character.</p>
16 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#936">source</a><a·href="#impl-Clone-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#936">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1040-1048">source</a><a·href="#impl-Debug-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1041-1047">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1033-1037">source</a><a·href="#impl-Display-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="docblock"><p>Prints·the·punctuation·character·as·a·string·that·should·be·losslessly·convertible16 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#936">source</a><a·href="#impl-Clone-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#936">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1040-1048">source</a><a·href="#impl-Debug-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1041-1047">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1033-1037">source</a><a·href="#impl-Display-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="docblock"><p>Prints·the·punctuation·character·as·a·string·that·should·be·losslessly·convertible
17 back·into·the·same·character.</p>17 back·into·the·same·character.</p>
18 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1034-1036">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CPunct%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#742-746">source</a><a·href="#impl-From%3CPunct%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#743-745">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq%3CPunct%3E-for-char"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.52.0">1.52.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1058-1062">source</a></span><a·href="#impl-PartialEq%3CPunct%3E-for-char"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>&lt;<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>&gt;·for·<a·class="primitive"·href="../std/primitive.char.html">char</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1059-1[·...·truncated·by·diffoscope;·len:·301,·SHA:·481b97bf84679ed9e6fe3f3c2eb8ab131bc273e1f31e750d1f6f386e7a2690f3·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used18 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1034-1036">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CPunct%3E-for-TokenTree"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#742-746">source</a><a·href="#impl-From%3CPunct%3E-for-TokenTree"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>&gt;·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#743-745">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(g:·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>)·-&gt;·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq%3CPunct%3E-for-char"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.52.0">1.52.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1058-1062">source</a></span><a·href="#impl-PartialEq%3CPunct%3E-for-char"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>&lt;<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>&gt;·for·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.char.html">char</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src[·...·truncated·by·diffoscope;·len:·361,·SHA:·ae5f5951c624726dc8c32af9d489b71dec6ec1bcdfbe4fdbc0cf9060c688d102·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
19 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne-1"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always19 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne-1"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
20 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq%3Cchar%3E-for-Punct"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.50.0">1.50.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1051-1055">source</a></span><a·href="#impl-PartialEq%3Cchar%3E-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>&lt;<a·class="primitive"·href="../std/primitive.char.html">char</a>&gt;·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·c[·...·truncated·by·diffoscope;·len:·369,·SHA:·5c6edb72459f5525d6e09302bf6984a13c0a8db34ca7a78c4a010dee9e75fa84·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used20 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq%3Cchar%3E-for-Punct"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.50.0">1.50.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#1051-1055">source</a></span><a·href="#impl-PartialEq%3Cchar%3E-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.char.html">char</a>&gt;·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><sum[·...·truncated·by·diffoscope;·len:·459,·SHA:·0d37b4ba671af8573c70ae884819e8928021c972121e7d1d2782c61852e29818·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
21 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always21 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
22 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Send-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#940">source</a><a·href="#impl-Send-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section><section·id="impl-Sync-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#942">source</a><a·href="#impl-Sync-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Punct"·class="impl"><a·href="#impl-Freeze-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section><section·id="impl-RefUnwindSafe-for-Punct"·class="impl"><a·href="#impl-RefUnwindSafe-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section><section·id="impl-Unpin-for-Punct"·class="impl"><a·href="#impl-Unpin-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section><section·id="impl-UnwindSafe-for-Punct"·class="impl"><a·href="#impl-UnwindSafe-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where22 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Send-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#940">source</a><a·href="#impl-Send-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section><section·id="impl-Sync-for-Punct"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#942">source</a><a·href="#impl-Sync-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Punct"·class="impl"><a·href="#impl-Freeze-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section><section·id="impl-RefUnwindSafe-for-Punct"·class="impl"><a·href="#impl-RefUnwindSafe-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section><section·id="impl-Unpin-for-Punct"·class="impl"><a·href="#impl-Unpin-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section><section·id="impl-UnwindSafe-for-Punct"·class="impl"><a·href="#impl-UnwindSafe-for-Punct"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
23 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where23 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
24 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where24 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
25 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>25 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
26 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where26 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
27 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>27 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
28 <p>That·is,·this·conversion·is·whatever·the·implementation·of28 <p>That·is,·this·conversion·is·whatever·the·implementation·of
29 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>29 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
30 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where30 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
31 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where31 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
32 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where32 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
33 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where33 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
34 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>34 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
41.2 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.SourceFile.html
    
Offset 1, 24 lines modifiedOffset 1, 24 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="The·source·file·of·a·given·`Span`."><title>SourceFile·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">SourceFile</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.is_real">is_real</a></li><li><a·href="#method.path">path</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-SourceFile">Clone</a></li><li><a·href="#impl-Debug-for-SourceFile">Debug</a></li><li><a·href="#impl-Eq-for-SourceFile">Eq</a></li><li><a·href="#impl-PartialEq-for-SourceFile">PartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Send-for-SourceFile">!Send</a></li><li><a·href="#impl-Sync-for-SourceFile">!Sync</a></li><li><a·href="#impl-Freeze-for-SourceFile">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-SourceFile">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-SourceFile">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-SourceFile">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="The·source·file·of·a·given·`Span`."><title>SourceFile·in·proc_macro·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../proc_macro/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">SourceFile</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.is_real">is_real</a></li><li><a·href="#method.path">path</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-SourceFile">Clone</a></li><li><a·href="#impl-Debug-for-SourceFile">Debug</a></li><li><a·href="#impl-Eq-for-SourceFile">Eq</a></li><li><a·href="#impl-PartialEq-for-SourceFile">PartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Send-for-SourceFile">!Send</a></li><li><a·href="#impl-Sync-for-SourceFile">!Sync</a></li><li><a·href="#impl-Freeze-for-SourceFile">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-SourceFile">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-SourceFile">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-SourceFile">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·proc_macro</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">SourceFile</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/proc_macro/lib.rs.html#611">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·SourceFile(<span·class="comment">/*·private·fields·*/</span>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>The·source·file·of·a·given·<code>Span</code>.</p>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">SourceFile</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/proc_macro/lib.rs.html#611">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·SourceFile(<span·class="comment">/*·private·fields·*/</span>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>The·source·file·of·a·given·<code>Span</code>.</p>
3 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#613-638">source</a><a·href="#impl-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.path"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#625-627">source</a><h4·class="code-header">pub·fn·<a·href="#method.path"·class="fn">path</a>(&amp;self)·-&gt;·<a·class="struct"·href="../std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Gets·the·path·to·this·source·file.</p>3 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#613-638">source</a><a·href="#impl-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.path"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#625-627">source</a><h4·class="code-header">pub·fn·<a·href="#method.path"·class="fn">path</a>(&amp;self)·-&gt;·<a·class="struct"·href="https://doc.rust-lang.org/1.78.0/std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Gets·the·path·to·this·source·file.</p>
4 <h6·id="note"><a·class="doc-anchor"·href="#note">§</a>Note</h6>4 <h6·id="note"><a·class="doc-anchor"·href="#note">§</a>Note</h6>
5 <p>If·the·code·span·associated·with·this·<code>SourceFile</code>·was·generated·by·an·external·macro,·this5 <p>If·the·code·span·associated·with·this·<code>SourceFile</code>·was·generated·by·an·external·macro,·this
6 macro,·this·might·not·be·an·actual·path·on·the·filesystem.·Use·<a·href="struct.SourceFile.html#method.is_real"·title="method·proc_macro::SourceFile::is_real"><code>is_real</code></a>·to·check.</p>6 macro,·this·might·not·be·an·actual·path·on·the·filesystem.·Use·<a·href="struct.SourceFile.html#method.is_real"·title="method·proc_macro::SourceFile::is_real"><code>is_real</code></a>·to·check.</p>
7 <p>Also·note·that·even·if·<code>is_real</code>·returns·<code>true</code>,·if·<code>--remap-path-prefix</code>·was·passed·on7 <p>Also·note·that·even·if·<code>is_real</code>·returns·<code>true</code>,·if·<code>--remap-path-prefix</code>·was·passed·on
8 the·command·line,·the·path·as·given·might·not·actually·be·valid.</p>8 the·command·line,·the·path·as·given·might·not·actually·be·valid.</p>
9 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.is_real"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#632-637">source</a><h4·class="code-header">pub·fn·<a·href="#method.is_real"·class="fn">is_real</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Returns·<code>true</code>·if·this·source·file·is·a·real·source·file,·and·not·generated·by·an·external9 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.is_real"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#632-637">source</a><h4·class="code-header">pub·fn·<a·href="#method.is_real"·class="fn">is_real</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Returns·<code>true</code>·if·this·source·file·is·a·real·source·file,·and·not·generated·by·an·external
10 macro’s·expansion.</p>10 macro’s·expansion.</p>
11 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#610">source</a><a·href="#impl-Clone-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#610">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><detail[·...·truncated·by·diffoscope;·len:·2266,·SHA:·b30f469f1682e502b4f6a1a09d5c9d9c53c616994190d310fa3a6dbc75c3d3ca·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used11 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#610">source</a><a·href="#impl-Clone-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#610">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></d[·...·truncated·by·diffoscope;·len:·2356,·SHA:·22763436b52be39c63d9db7070debcac480f840b1e045fc415a3aa189d3f77e9·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
12 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always12 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
13 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Eq-for-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#658">source</a><a·href="#impl-Eq-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-SourceFile"·class="impl"><a·href="#impl-Freeze-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-RefUnwindSafe-for-SourceFile"·class="impl"><a·href="#impl-RefUnwindSafe-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-Send-for-SourceFile"·class="impl"><a·href="#impl-Send-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-Sync-for-SourceFile"·class="impl"><a·href="#impl-Sync-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-Unpin-for-SourceFile"·class="impl"><a·href="#impl-Unpin-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-UnwindSafe-for-SourceFile"·class="impl"><a·href="#impl-UnwindSafe-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where13 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Eq-for-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#658">source</a><a·href="#impl-Eq-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-SourceFile"·class="impl"><a·href="#impl-Freeze-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-RefUnwindSafe-for-SourceFile"·class="impl"><a·href="#impl-RefUnwindSafe-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-Send-for-SourceFile"·class="impl"><a·href="#impl-Send-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-Sync-for-SourceFile"·class="impl"><a·href="#impl-Sync-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-Unpin-for-SourceFile"·class="impl"><a·href="#impl-Unpin-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section><section·id="impl-UnwindSafe-for-SourceFile"·class="impl"><a·href="#impl-UnwindSafe-for-SourceFile"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
14 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where14 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
15 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where15 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
16 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>16 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
17 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where17 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
18 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>18 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
19 <p>That·is,·this·conversion·is·whatever·the·implementation·of19 <p>That·is,·this·conversion·is·whatever·the·implementation·of
20 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>20 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
21 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where21 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
22 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where22 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
23 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where23 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
24 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>24 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
44.9 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.Span.html
    
Offset 11, 48 lines modifiedOffset 11, 48 lines modified
11 The·span·location·is·taken·from·the·call-site.</p>11 The·span·location·is·taken·from·the·call-site.</p>
12 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.source_file"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#487-489">source</a><h4·class="code-header">pub·fn·<a·href="#method.source_file"·class="fn">source_file</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·original·source·file·into·which·this·span·points.</p>12 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.source_file"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#487-489">source</a><h4·class="code-header">pub·fn·<a·href="#method.source_file"·class="fn">source_file</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.SourceFile.html"·title="struct·proc_macro::SourceFile">SourceFile</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·original·source·file·into·which·this·span·points.</p>
13 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.parent"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#494-496">source</a><h4·class="code-header">pub·fn·<a·href="#method.parent"·class="fn">parent</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·<code>Span</code>·for·the·tokens·in·the·previous·macro·expansion·from·which13 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.parent"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#494-496">source</a><h4·class="code-header">pub·fn·<a·href="#method.parent"·class="fn">parent</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·<code>Span</code>·for·the·tokens·in·the·previous·macro·expansion·from·which
14 <code>self</code>·was·generated·from,·if·any.</p>14 <code>self</code>·was·generated·from,·if·any.</p>
15 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.source"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#502-504">source</a><h4·class="code-header">pub·fn·<a·href="#method.source"·class="fn">source</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·span·for·the·origin·source·code·that·<code>self</code>·was·generated·from.·If15 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.source"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#502-504">source</a><h4·class="code-header">pub·fn·<a·href="#method.source"·class="fn">source</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·span·for·the·origin·source·code·that·<code>self</code>·was·generated·from.·If
16 this·<code>Span</code>·wasn’t·generated·from·other·macro·expansions·then·the·return16 this·<code>Span</code>·wasn’t·generated·from·other·macro·expansions·then·the·return
17 value·is·the·same·as·<code>*self</code>.</p>17 value·is·the·same·as·<code>*self</code>.</p>
18 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.byte_range"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#508-510">source</a><h4·class="code-header">pub·fn·<a·href="#method.byte_range"·class="fn">byte_range</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/ops/range/struct.Range.html"·title="struct·core::ops::range::Range">Range</a>&lt;<a·class="primitive"·href="../std/primitive.usize.html">usize</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Returns·the·span’s·byte·position·range·in·the·source·file.</p>18 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.byte_range"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#508-510">source</a><h4·class="code-header">pub·fn·<a·href="#method.byte_range"·class="fn">byte_range</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/ops/range/struct.Range.html"·title="struct·core::ops::range::Range">Range</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Returns·the·span’s·byte·position·range·in·the·source·file.</p>
19 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.start"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#514-516">source</a><h4·class="code-header">pub·fn·<a·href="#method.start"·class="fn">start</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Creates·an·empty·span·pointing·to·directly·before·this·span.</p>19 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.start"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#514-516">source</a><h4·class="code-header">pub·fn·<a·href="#method.start"·class="fn">start</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Creates·an·empty·span·pointing·to·directly·before·this·span.</p>
20 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.end"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#520-522">source</a><h4·class="code-header">pub·fn·<a·href="#method.end"·class="fn">end</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Creates·an·empty·span·pointing·to·directly·after·this·span.</p>20 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.end"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#520-522">source</a><h4·class="code-header">pub·fn·<a·href="#method.end"·class="fn">end</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Creates·an·empty·span·pointing·to·directly·after·this·span.</p>
21 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.line"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#528-530">source</a><h4·class="code-header">pub·fn·<a·href="#method.line"·class="fn">line</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.usize.html">usize</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·one-indexed·line·of·the·source·file·where·the·span·starts.</p>21 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.line"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#528-530">source</a><h4·class="code-header">pub·fn·<a·href="#method.line"·class="fn">line</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·one-indexed·line·of·the·source·file·where·the·span·starts.</p>
22 <p>To·obtain·the·line·of·the·span’s·end,·use·<code>span.end().line()</code>.</p>22 <p>To·obtain·the·line·of·the·span’s·end,·use·<code>span.end().line()</code>.</p>
23 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.column"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#536-538">source</a><h4·class="code-header">pub·fn·<a·href="#method.column"·class="fn">column</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.usize.html">usize</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·one-indexed·column·of·the·source·file·where·the·span·starts.</p>23 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.column"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#536-538">source</a><h4·class="code-header">pub·fn·<a·href="#method.column"·class="fn">column</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>The·one-indexed·column·of·the·source·file·where·the·span·starts.</p>
24 <p>To·obtain·the·column·of·the·span’s·end,·use·<code>span.end().column()</code>.</p>24 <p>To·obtain·the·column·of·the·span’s·end,·use·<code>span.end().column()</code>.</p>
25 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.join"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#544-546">source</a><h4·class="code-header">pub·fn·<a·href="#method.join"·class="fn">join</a>(&amp;self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·span·encompassing·<code>self</code>·and·<code>other</code>.</p>25 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.join"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#544-546">source</a><h4·class="code-header">pub·fn·<a·href="#method.join"·class="fn">join</a>(&amp;self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·span·encompassing·<code>self</code>·and·<code>other</code>.</p>
26 <p>Returns·<code>None</code>·if·<code>self</code>·and·<code>other</code>·are·from·different·files.</p>26 <p>Returns·<code>None</code>·if·<code>self</code>·and·<code>other</code>·are·from·different·files.</p>
27 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.resolved_at"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.45.0">1.45.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#551-553">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.resolved_at"·class="fn">resolved_at</a>(&amp;self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·span·with·the·same·line/column·information·as·<code>self</code>·but27 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.resolved_at"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.45.0">1.45.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#551-553">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.resolved_at"·class="fn">resolved_at</a>(&amp;self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·span·with·the·same·line/column·information·as·<code>self</code>·but
28 that·resolves·symbols·as·though·it·were·at·<code>other</code>.</p>28 that·resolves·symbols·as·though·it·were·at·<code>other</code>.</p>
29 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.located_at"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.45.0">1.45.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#558-560">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.located_at"·class="fn">located_at</a>(&amp;self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·span·with·the·same·name·resolution·behavior·as·<code>self</code>·but29 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.located_at"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.45.0">1.45.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#558-560">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.located_at"·class="fn">located_at</a>(&amp;self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class="docblock"><p>Creates·a·new·span·with·the·same·name·resolution·behavior·as·<code>self</code>·but
30 with·the·line/column·information·of·<code>other</code>.</p>30 with·the·line/column·information·of·<code>other</code>.</p>
31 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#564-566">source</a><h4·class="code-header">pub·fn·<a·href="#method.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Compares·two·spans·to·see·if·they’re·equal.</p>31 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#564-566">source</a><h4·class="code-header">pub·fn·<a·href="#method.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_span</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54725">#54725</a>)</span></div></span></summary><div·class="docblock"><p>Compares·two·spans·to·see·if·they’re·equal.</p>
32 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.source_text"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.66.0">1.66.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#576-578">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.source_text"·class="fn">source_text</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;</h4></section></summary><div·class="docblock"><p>Returns·the·source·text·behind·a·span.·This·preserves·the·original·source32 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.source_text"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.66.0">1.66.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#576-578">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.source_text"·class="fn">source_text</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;</h4></section></summary><div·class="docblock"><p>Returns·the·source·text·behind·a·span.·This·preserves·the·original·source
33 code,·including·spaces·and·comments.·It·only·returns·a·result·if·the·span33 code,·including·spaces·and·comments.·It·only·returns·a·result·if·the·span
34 corresponds·to·real·source·code.</p>34 corresponds·to·real·source·code.</p>
35 <p>Note:·The·observable·result·of·a·macro·should·only·rely·on·the·tokens·and35 <p>Note:·The·observable·result·of·a·macro·should·only·rely·on·the·tokens·and
36 not·on·this·source·text.·The·result·of·this·function·is·a·best·effort·to36 not·on·this·source·text.·The·result·of·this·function·is·a·best·effort·to
37 be·used·for·diagnostics·only.</p>37 be·used·for·diagnostics·only.</p>
38 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.error"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#594">source</a><h4·class="code-header">pub·fn·<a·href="#method.error"·class="fn">error</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span38 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.error"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#594">source</a><h4·class="code-header">pub·fn·<a·href="#method.error"·class="fn">error</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span
39 <code>self</code>.</p>39 <code>self</code>.</p>
40 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.warning"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#595">source</a><h4·class="code-header">pub·fn·<a·href="#method.warning"·class="fn">warning</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span40 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.warning"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#595">source</a><h4·class="code-header">pub·fn·<a·href="#method.warning"·class="fn">warning</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span
41 <code>self</code>.</p>41 <code>self</code>.</p>
42 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.note"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#596">source</a><h4·class="code-header">pub·fn·<a·href="#method.note"·class="fn">note</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span42 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.note"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#596">source</a><h4·class="code-header">pub·fn·<a·href="#method.note"·class="fn">note</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span
43 <code>self</code>.</p>43 <code>self</code>.</p>
44 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.help"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#597">source</a><h4·class="code-header">pub·fn·<a·href="#method.help"·class="fn">help</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span44 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.help"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#597">source</a><h4·class="code-header">pub·fn·<a·href="#method.help"·class="fn">help</a>&lt;T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;&gt;(self,·message:·T)·-&gt;·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span
45 <code>self</code>.</p>45 <code>self</code>.</p>
46 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#441">source</a><a·href="#impl-Clone-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#441">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#602-606">source</a><a·href="#impl-Debug-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></summary><div·class="docblock"><p>Prints·a·span·in·a·form·convenient·for·debugging.</p>46 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#441">source</a><a·href="#impl-Clone-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#441">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#602-606">source</a><a·href="#impl-Debug-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></summary><div·class="docblock"><p>Prints·a·span·in·a·form·convenient·for·debugging.</p>
47 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#603-605">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-MultiSpan-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#26-30">source</a><a·href="#impl-MultiSpan-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into_spans"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#27-29">source</a><a·href="#method.into_spans"·class="anchor">§</a><h4·class="code-header">fn·<a·href="trait.MultiSpan.html#tymethod.into_spans"·class="fn">into_spans</a>(self)·-&gt;·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>&gt;</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class='docblock'>Converts·<code>self</code>·into·a·<code>Vec&lt;Span&gt;</code>.</div></details></div></details><section·id="impl-Copy-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#441">source</a><a·href="#impl-Copy-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-Send-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#445">source</a><a·href="#impl-Send-for-Span"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-Sync-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#447">source</a><a·href="#impl-Sync-for-Span"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Span"·class="impl"><a·href="#impl-Freeze-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-RefUnwindSafe-for-Span"·class="impl"><a·href="#impl-RefUnwindSafe-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-Unpin-for-Span"·class="impl"><a·href="#impl-Unpin-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-UnwindSafe-for-Span"·class="impl"><a·href="#impl-UnwindSafe-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where47 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#603-605">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-MultiSpan-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#26-30">source</a><a·href="#impl-MultiSpan-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into_spans"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/diagnostic.rs.html#27-29">source</a><a·href="#method.into_spans"·class="anchor">§</a><h4·class="code-header">fn·<a·href="trait.MultiSpan.html#tymethod.into_spans"·class="fn">into_spans</a>(self)·-&gt;·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>&gt;</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_diagnostic</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span><div·class='docblock'>Converts·<code>self</code>·into·a·<code>Vec&lt;Span&gt;</code>.</div></details></div></details><section·id="impl-Copy-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#441">source</a><a·href="#impl-Copy-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-Send-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#445">source</a><a·href="#impl-Send-for-Span"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-Sync-for-Span"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#447">source</a><a·href="#impl-Sync-for-Span"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Span"·class="impl"><a·href="#impl-Freeze-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-RefUnwindSafe-for-Span"·class="impl"><a·href="#impl-RefUnwindSafe-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-Unpin-for-Span"·class="impl"><a·href="#impl-Unpin-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section><section·id="impl-UnwindSafe-for-Span"·class="impl"><a·href="#impl-UnwindSafe-for-Span"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
48 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where48 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
49 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where49 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
50 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>50 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
51 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where51 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
52 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>52 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
53 <p>That·is,·this·conversion·is·whatever·the·implementation·of53 <p>That·is,·this·conversion·is·whatever·the·implementation·of
54 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>54 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
55 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where55 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
56 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where56 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
57 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where57 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
58 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>58 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
68.5 KB
./usr/share/doc/rust-web-doc/html/proc_macro/struct.TokenStream.html
    
Offset 2, 50 lines modifiedOffset 2, 50 lines modified
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">TokenStream</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.15.0">1.15.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#85">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TokenStream(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>The·main·type·provided·by·this·crate,·representing·an·abstract·stream·of2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">proc_macro</a>::<wbr><a·class="struct"·href="#">TokenStream</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.15.0">1.15.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#85">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TokenStream(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>The·main·type·provided·by·this·crate,·representing·an·abstract·stream·of
3 tokens,·or,·more·specifically,·a·sequence·of·token·trees.3 tokens,·or,·more·specifically,·a·sequence·of·token·trees.
4 The·type·provides·interfaces·for·iterating·over·those·token·trees·and,·conversely,4 The·type·provides·interfaces·for·iterating·over·those·token·trees·and,·conversely,
5 collecting·a·number·of·token·trees·into·one·stream.</p>5 collecting·a·number·of·token·trees·into·one·stream.</p>
6 <p>This·is·both·the·input·and·output·of·<code>#[proc_macro]</code>,·<code>#[proc_macro_attribute]</code>6 <p>This·is·both·the·input·and·output·of·<code>#[proc_macro]</code>,·<code>#[proc_macro_attribute]</code>
7 and·<code>#[proc_macro_derive]</code>·definitions.</p>7 and·<code>#[proc_macro_derive]</code>·definitions.</p>
8 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#135-166">source</a><a·href="#impl-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.new"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#138-140">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>()·-&gt;·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h4></section></summary><div·class="docblock"><p>Returns·an·empty·<code>TokenStream</code>·containing·no·token·trees.</p>8 </div></details><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#135-166">source</a><a·href="#impl-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.new"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#138-140">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>()·-&gt;·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h4></section></summary><div·class="docblock"><p>Returns·an·empty·<code>TokenStream</code>·containing·no·token·trees.</p>
9 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.is_empty"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#144-146">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.is_empty"·class="fn">is_empty</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class="docblock"><p>Checks·if·this·<code>TokenStream</code>·is·empty.</p>9 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.is_empty"·class="method"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#144-146">source</a></span><h4·class="code-header">pub·fn·<a·href="#method.is_empty"·class="fn">is_empty</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class="docblock"><p>Checks·if·this·<code>TokenStream</code>·is·empty.</p>
10 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.expand_expr"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#159-165">source</a><h4·class="code-header">pub·fn·<a·href="#method.expand_expr"·class="fn">expand_expr</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>,·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_expand</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/90765">#90765</a>)</span></div></span></summary><div·class="docblock"><p>Parses·this·<code>TokenStream</code>·as·an·expression·and·attempts·to·expand·any10 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.expand_expr"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#159-165">source</a><h4·class="code-header">pub·fn·<a·href="#method.expand_expr"·class="fn">expand_expr</a>(&amp;self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>,·<a·class="struct"·href="struct.ExpandError.html"·title="struct·proc_macro::ExpandError">ExpandError</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_expand</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/90765">#90765</a>)</span></div></span></summary><div·class="docblock"><p>Parses·this·<code>TokenStream</code>·as·an·expression·and·attempts·to·expand·any
11 macros·within·it.·Returns·the·expanded·<code>TokenStream</code>.</p>11 macros·within·it.·Returns·the·expanded·<code>TokenStream</code>.</p>
12 <p>Currently·only·expressions·expanding·to·literals·will·succeed,·although12 <p>Currently·only·expressions·expanding·to·literals·will·succeed,·although
13 this·may·be·relaxed·in·the·future.</p>13 this·may·be·relaxed·in·the·future.</p>
14 <p>NOTE:·In·error·conditions,·<code>expand_expr</code>·may·leave·macros·unexpanded,14 <p>NOTE:·In·error·conditions,·<code>expand_expr</code>·may·leave·macros·unexpanded,
15 report·an·error,·failing·compilation,·and/or·return·an·<code>Err(..)</code>.·The15 report·an·error,·failing·compilation,·and/or·return·an·<code>Err(..)</code>.·The
16 specific·behavior·for·any·error·condition,·and·what·conditions·are16 specific·behavior·for·any·error·condition,·and·what·conditions·are
17 considered·errors,·is·unspecified·and·may·change·in·the·future.</p>17 considered·errors,·is·unspecified·and·may·change·in·the·future.</p>
18 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#84">source</a><a·href="#impl-Clone-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#84">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#215-220">source</a><a·href="#impl-Debug-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Prints·token·in·a·form·convenient·for·debugging.</p>18 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#84">source</a><a·href="#impl-Clone-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#84">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#215-220">source</a><a·href="#impl-Debug-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Prints·token·in·a·form·convenient·for·debugging.</p>
19 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#216-219">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Default-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.45.0">1.45.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#223-227">source</a></span><a·href="#impl-Default-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.default"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#224-226">source</a><a·href="#method.default"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/default/trait.Default.html#tymethod.default"·class="fn">default</a>()·-&gt;·Self</h4></section></summary><div·class='docblock'>Returns·the·“default·value”·for·a·type.·<a·href="../core/default/trait.Default.html#tymethod.default">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#206-211">source</a><a·href="#impl-Display-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Prints·the·token·stream·as·a·string·that·is·supposed·to·be·losslessly·convertible·back19 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#216-219">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Default-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.45.0">1.45.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#223-227">source</a></span><a·href="#impl-Default-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.default"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#224-226">source</a><a·href="#method.default"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/default/trait.Default.html#tymethod.default"·class="fn">default</a>()·-&gt;·Self</h4></section></summary><div·class='docblock'>Returns·the·“default·value”·for·a·type.·<a·href="../core/default/trait.Default.html#tymethod.default">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Display-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#206-211">source</a><a·href="#impl-Display-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Prints·the·token·stream·as·a·string·that·is·supposed·to·be·losslessly·convertible·back
20 into·the·same·token·stream·(modulo·spans),·except·for·possibly·<code>TokenTree::Group</code>s20 into·the·same·token·stream·(modulo·spans),·except·for·possibly·<code>TokenTree::Group</code>s
21 with·<code>Delimiter::None</code>·delimiters·and·negative·numeric·literals.</p>21 with·<code>Delimiter::None</code>·delimiters·and·negative·numeric·literals.</p>
22 <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might22 <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might
23 be·changes·in·the·whitespace·used·between·tokens.·Therefore,·you·should23 be·changes·in·the·whitespace·used·between·tokens.·Therefore,·you·should
24 <em>not</em>·do·any·kind·of·simple·substring·matching·on·the·output·string·(as24 <em>not</em>·do·any·kind·of·simple·substring·matching·on·the·output·string·(as
25 produced·by·<code>to_string</code>)·to·implement·a·proc·macro,·because·that·matching25 produced·by·<code>to_string</code>)·to·implement·a·proc·macro,·because·that·matching
26 might·stop·working·if·such·changes·happen.·Instead,·you·should·work·at·the26 might·stop·working·if·such·changes·happen.·Instead,·you·should·work·at·the
27 <code>TokenTree</code>·level,·e.g.·matching·against·<code>TokenTree::Ident</code>,27 <code>TokenTree</code>·level,·e.g.·matching·against·<code>TokenTree::Ident</code>,
28 <code>TokenTree::Punct</code>,·or·<code>TokenTree::Literal</code>.</p>28 <code>TokenTree::Punct</code>,·or·<code>TokenTree::Literal</code>.</p>
29 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#208-210">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Extend%3CTokenStream%3E-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#360-367">source</a></span><a·href="#impl-Extend%3CTokenStream%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.extend-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#361-366">source</a><a·href="#method.extend-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#tymethod.extend"·class="fn">extend</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>&gt;&gt;(&amp;mut·self,·streams:·I)</h4></section></summary><div·class='docblock'>Extends·a·collection·with·the·contents·of·an·iterator.·<a·href="../core/iter/traits/collect/trait.Extend.html#tymethod.extend">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.extend_one-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/iter/traits/collect.rs.html#419">source</a><a·href="#method.extend_one-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_one"·class="fn">extend_one</a>(&amp;mut·self,·item:·A)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/72631">#72631</a>)</span></div></span><div·class='docblock'>Extends·a·collection·with·exactly·one·element.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.extend_reserve-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/iter/traits/collect.rs.html#427">source</a><a·href="#method.extend_reserve-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_reserve"·class="fn">extend_reserve</a>(&amp;mut·self,·additional:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lan[·...·truncated·by·diffoscope;·len:·3107,·SHA:·4b0c038deb201126fd057cff1d0aaca8d361d53066aceb22f6b50feae2795252·...·]/std/primitive.usize.html">usize</a>)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/72631">#72631</a>)</span></div></span><div·class='docblock'>Reserves·capacity·in·a·collection·for·the·given·number·of·additional·elements.·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_reserve">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CTokenTree%3E-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#245-249">source</a></span><a·href="#impl-From%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Creates·a·token·stream·containing·a·single·token·tree.</p>29 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#208-210">source</a><a·href="#method.fmt-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Display.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Display.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Extend%3CTokenStream%3E-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#360-367">source</a></span><a·href="#impl-Extend%3CTokenStream%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.extend-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#361-366">source</a><a·href="#method.extend-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#tymethod.extend"·class="fn">extend</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>&gt;&gt;(&amp;mut·self,·streams:·I)</h4></section></summary><div·class='docblock'>Extends·a·collection·with·the·contents·of·an·iterator.·<a·href="../core/iter/traits/collect/trait.Extend.html#tymethod.extend">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.extend_one-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/iter/traits/collect.rs.html#419">source</a><a·href="#method.extend_one-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_one"·class="fn">extend_one</a>(&amp;mut·self,·item:·A)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/72631">#72631</a>)</span></div></span><div·class='docblock'>Extends·a·collection·with·exactly·one·element.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.extend_reserve-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/iter/traits/collect.rs.html#427">source</a><a·href="#method.extend_reserve-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_reserve"·class="fn">extend_reserve</a>(&amp;mut·self,·additional:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·hre[·...·truncated·by·diffoscope;·len:·3167,·SHA:·55436ad1dbdfd7100f0e3bc62bc29e71dbf5995ddfa305ed15d10ca8d4c9a2d0·...·]/std/primitive.usize.html">usize</a>)</h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>extend_one</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/72631">#72631</a>)</span></div></span><div·class='docblock'>Reserves·capacity·in·a·collection·for·the·given·number·of·additional·elements.·<a·href="../core/iter/traits/collect/trait.Extend.html#method.extend_reserve">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-From%3CTokenTree%3E-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#245-249">source</a></span><a·href="#impl-From%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Creates·a·token·stream·containing·a·single·token·tree.</p>
30 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#246-248">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(tree:·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>)·-&gt;·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromIterator%3CTokenStream%3E-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#340-347">source</a><a·href="#impl-FromIterator%3CTokenStream%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>A·“flattening”·operation·on·token·streams,·collects·token·trees30 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#246-248">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(tree:·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>)·-&gt;·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h4></section></summary><div·class='docblock'>Converts·to·this·type·from·the·input·type.</div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromIterator%3CTokenStream%3E-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#340-347">source</a><a·href="#impl-FromIterator%3CTokenStream%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>A·“flattening”·operation·on·token·streams,·collects·token·trees
31 from·multiple·token·streams·into·a·single·stream.</p>31 from·multiple·token·streams·into·a·single·stream.</p>
32 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from_iter"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#341-346">source</a><a·href="#method.from_iter"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter"·class="fn">from_iter</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>&gt;&gt;(streams:·I)·-&gt;·Self</h4></section></summary><div·class='docblock'>Creates·a·value·from·an·iterator.·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromIterator%3CTokenTree%3E-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#328-335">source</a></span><a·href="#impl-FromIterator%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Collects·a·number·of·token·trees·into·a·single·stream.</p>32 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from_iter"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#341-346">source</a><a·href="#method.from_iter"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter"·class="fn">from_iter</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>&gt;&gt;(streams:·I)·-&gt;·Self</h4></section></summary><div·class='docblock'>Creates·a·value·from·an·iterator.·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromIterator%3CTokenTree%3E-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#328-335">source</a></span><a·href="#impl-FromIterator%3CTokenTree%3E-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</a>&lt;<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Collects·a·number·of·token·trees·into·a·single·stream.</p>
33 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from_iter-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#329-334">source</a><a·href="#method.from_iter-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter"·class="fn">from_iter</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;&gt;(trees:·I)·-&gt;·Self</h4></section></summary><div·class='docblock'>Creates·a·value·from·an·iterator.·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromStr-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#176-182">source</a><a·href="#impl-FromStr-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/str/traits/trait.FromStr.html"·title="trait·core::str::traits::FromStr">FromStr</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Attempts·to·break·the·string·into·tokens·and·parse·those·tokens·into·a·token·stream.33 </div><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from_iter-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#329-334">source</a><a·href="#method.from_iter-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter"·class="fn">from_iter</a>&lt;I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;&gt;(trees:·I)·-&gt;·Self</h4></section></summary><div·class='docblock'>Creates·a·value·from·an·iterator.·<a·href="../core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromStr-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#176-182">source</a><a·href="#impl-FromStr-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/str/traits/trait.FromStr.html"·title="trait·core::str::traits::FromStr">FromStr</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="docblock"><p>Attempts·to·break·the·string·into·tokens·and·parse·those·tokens·into·a·token·stream.
34 May·fail·for·a·number·of·reasons,·for·example,·if·the·string·contains·unbalanced·delimiters34 May·fail·for·a·number·of·reasons,·for·example,·if·the·string·contains·unbalanced·delimiters
35 or·characters·not·existing·in·the·language.35 or·characters·not·existing·in·the·language.
36 All·tokens·in·the·parsed·stream·get·<code>Span::call_site()</code>·spans.</p>36 All·tokens·in·the·parsed·stream·get·<code>Span::call_site()</code>·spans.</p>
37 <p>NOTE:·some·errors·may·cause·panics·instead·of·returning·<code>LexError</code>.·We·reserve·the·right·to37 <p>NOTE:·some·errors·may·cause·panics·instead·of·returning·<code>LexError</code>.·We·reserve·the·right·to
38 change·these·errors·into·<code>LexError</code>s·later.</p>38 change·these·errors·into·<code>LexError</code>s·later.</p>
39 </div><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Err"·class="associatedtype·trait-impl"><a·href="#associatedtype.Err"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/str/traits/trait.FromStr.html#associatedtype.Err"·class="associatedtype">Err</a>·=·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h4></section></summary><div·class='docblock'>The·associated·error·which·can·be·returned·from·parsing.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.from_str"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#179-181">source</a><a·href="#method.from_str"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/str/traits/trait.FromStr.html#tymethod.from_str"·class="fn">from_str</a>(src:·&amp;<a·class="primitive"·href="../std/primitive.str.html">str</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>,·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a>&gt;</h4></section></summary><div·class='docblock'>Parses·a·string·<code>s</code>·to·return·a·value·of·this·type.·<a·href="../core/str/traits/trait.FromStr.html#tymethod.from_str">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-IntoIterator-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#412-419">source</a></span><a·href="#impl-IntoIterator-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Item"·class="associatedtype·trait-impl"><a·href="#associatedtype.Item"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"·class="associatedtype">Item</a>·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>The·type·of·the·elements·being·iterated·over.</div></details><details·class="toggle"·open><summary><section·id="associatedtype.IntoIter"·class="associatedtype·trait-impl"><a·href="#associatedtype.IntoIter"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·class="associatedtype">IntoIter</a>·=·<a·class="struct"·href="token_stream/struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a></h4></section></summary><div·class='docblock'>Which·kind·of·iterator·are·we·turning·this·into?</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.into_iter"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#416-418">source</a><a·href="#method.into_iter"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter"·class="fn">into_iter</a>(self)·-&gt;·<a·class="struct"·href="token_stream/struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a>·<a·href="#"·class="tooltip"·data-notable-ty="IntoIter">ⓘ</a></h4></section></summary><div·class='docblock'>Creates·an·iterator·from·a·value.·<a·href="../core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read·more</a></div></details></div></details><section·id="impl-Send-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#88">source</a><a·href="#impl-Send-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section><section·id="impl-Sync-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#90">source</a><a·href="#impl-Sync-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TokenStream"·class="impl"><a·href="#impl-Freeze-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section><section·id="impl-RefUnwindSafe-for-TokenStream"·class="impl"><a·href="#impl-RefUnwindSafe-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section><section·id="impl-Unpin-for-TokenStream"·class="impl"><a·href="#impl-Unpin-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section><section·id="impl-UnwindSafe-for-TokenStream"·class="impl"><a·href="#impl-UnwindSafe-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where39 </div><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Err"·class="associatedtype·trait-impl"><a·href="#associatedtype.Err"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/str/traits/trait.FromStr.html#associatedtype.Err"·class="associatedtype">Err</a>·=·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a></h4></section></summary><div·class='docblock'>The·associated·error·which·can·be·returned·from·parsing.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.from_str"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#179-181">source</a><a·href="#method.from_str"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/str/traits/trait.FromStr.html#tymethod.from_str"·class="fn">from_str</a>(src:·&amp;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>,·<a·class="struct"·href="struct.LexError.html"·title="struct·proc_macro::LexError">LexError</a>&gt;</h4></section></summary><div·class='docblock'>Parses·a·string·<code>s</code>·to·return·a·value·of·this·type.·<a·href="../core/str/traits/trait.FromStr.html#tymethod.from_str">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-IntoIterator-for-TokenStream"·class="impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../src/proc_macro/lib.rs.html#412-419">source</a></span><a·href="#impl-IntoIterator-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Item"·class="associatedtype·trait-impl"><a·href="#associatedtype.Item"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"·class="associatedtype">Item</a>·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h4></section></summary><div·class='docblock'>The·type·of·the·elements·being·iterated·over.</div></details><details·class="toggle"·open><summary><section·id="associatedtype.IntoIter"·class="associatedtype·trait-impl"><a·href="#associatedtype.IntoIter"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·class="associatedtype">IntoIter</a>·=·<a·class="struct"·href="token_stream/struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a></h4></section></summary><div·class='docblock'>Which·kind·of·iterator·are·we·turning·this·into?</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.into_iter"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#416-418">source</a><a·href="#method.into_iter"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter"·class="fn">into_iter</a>(self)·-&gt;·<a·class="struct"·href="token_stream/struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a>·<a·href="#"·class="tooltip"·data-notable-ty="IntoIter">ⓘ</a></h4></section></summary><div·class='docblock'>Creates·an·iterator·from·a·value.·<a·href="../core/iter/traits/collect/trait.IntoIterator.html#tymethod.into_iter">Read·more</a></div></details></div></details><section·id="impl-Send-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#88">source</a><a·href="#impl-Send-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section><section·id="impl-Sync-for-TokenStream"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#90">source</a><a·href="#impl-Sync-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TokenStream"·class="impl"><a·href="#impl-Freeze-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section><section·id="impl-RefUnwindSafe-for-TokenStream"·class="impl"><a·href="#impl-RefUnwindSafe-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section><section·id="impl-Unpin-for-TokenStream"·class="impl"><a·href="#impl-Unpin-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section><section·id="impl-UnwindSafe-for-TokenStream"·class="impl"><a·href="#impl-UnwindSafe-for-TokenStream"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
40 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where40 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
41 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where41 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
42 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>42 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from-1"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
43 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where43 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
44 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>44 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
45 <p>That·is,·this·conversion·is·whatever·the·implementation·of45 <p>That·is,·this·conversion·is·whatever·the·implementation·of
46 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>46 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
47 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where47 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
48 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where48 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
49 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where49 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
50 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where50 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
51 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div><script·type="text/json"·id="notable-traits-data">{"IntoIter":"<h3>Notable·traits·for·<code><a·class=\"struct\"·href=\"token_stream/struct.IntoIter.html\"·title=\"struct·proc_macro::token_stream::IntoIter\">IntoIter</a></code></h3><pre><code><div·class=\"where\">impl·<a·class=\"trait\"·href=\"../core/iter/traits/iterator/trait.Iterator.html\"·title=\"trait·core::iter::traits::iterator::Iterator\">Iterator</a>·for·<a·class=\"struct\"·href=\"token_stream/struct.IntoIter.html\"·title=\"struct·proc_macro::token_stream::IntoIter\">IntoIter</a></div><div·class=\"where\">····type·<a·href=\"../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\"·class=\"associatedtype\">Item</a>·=·<a·class=\"enum\"·href=\"enum.TokenTree.html\"·title=\"enum·proc_macro::TokenTree\">TokenTree</a>;</div>"}</script></section></div></main></body></html>51 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div><script·type="text/json"·id="notable-traits-data">{"IntoIter":"<h3>Notable·traits·for·<code><a·class=\"struct\"·href=\"token_stream/struct.IntoIter.html\"·title=\"struct·proc_macro::token_stream::IntoIter\">IntoIter</a></code></h3><pre><code><div·class=\"where\">impl·<a·class=\"trait\"·href=\"../core/iter/traits/iterator/trait.Iterator.html\"·title=\"trait·core::iter::traits::iterator::Iterator\">Iterator</a>·for·<a·class=\"struct\"·href=\"token_stream/struct.IntoIter.html\"·title=\"struct·proc_macro::token_stream::IntoIter\">IntoIter</a></div><div·class=\"where\">····type·<a·href=\"../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\"·class=\"associatedtype\">Item</a>·=·<a·class=\"enum\"·href=\"enum.TokenTree.html\"·title=\"enum·proc_macro::TokenTree\">TokenTree</a>;</div>"}</script></section></div></main></body></html>
175 KB
./usr/share/doc/rust-web-doc/html/proc_macro/token_stream/struct.IntoIter.html
    
Offset 1, 16 lines modifiedOffset 1, 16 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="An·iterator·over·`TokenStream`’s·`TokenTree`s.·The·iteration·is·“shallow”,·e.g.,·the·iterator·doesn’t·recurse·into·delimited·groups,·and·returns·whole·groups·as·token·trees."><title>IntoIter·in·proc_macro::token_stream·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">IntoIter</a></h2><div·class="sidebar-elems"><section><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-IntoIter">Clone</a></li><li><a·href="#impl-Iterator-for-IntoIter">Iterator</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Send-for-IntoIter">!Send</a></li><li><a·href="#impl-Sync-for-IntoIter">!Sync</a></li><li><a·href="#impl-Freeze-for-IntoIter">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-IntoIter">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-IntoIter">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-IntoIter">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-IntoIterator-for-I">IntoIterator</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·proc_macro::token_stream</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="An·iterator·over·`TokenStream`’s·`TokenTree`s.·The·iteration·is·“shallow”,·e.g.,·the·iterator·doesn’t·recurse·into·delimited·groups,·and·returns·whole·groups·as·token·trees."><title>IntoIter·in·proc_macro::token_stream·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">IntoIter</a></h2><div·class="sidebar-elems"><section><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-IntoIter">Clone</a></li><li><a·href="#impl-Iterator-for-IntoIter">Iterator</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Send-for-IntoIter">!Send</a></li><li><a·href="#impl-Sync-for-IntoIter">!Sync</a></li><li><a·href="#impl-Freeze-for-IntoIter">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-IntoIter">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-IntoIter">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-IntoIter">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-IntoIterator-for-I">IntoIterator</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·proc_macro::token_stream</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">token_stream</a>::<wbr><a·class="struct"·href="#">IntoIter</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../../src/proc_macro/lib.rs.html#379-387">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·IntoIter(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>An·iterator·over·<code>TokenStream</code>’s·<code>TokenTree</code>s.2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">token_stream</a>::<wbr><a·class="struct"·href="#">IntoIter</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><span·class="since"·title="Stable·since·Rust·version·1.29.0">1.29.0</span>···<a·class="src"·href="../../src/proc_macro/lib.rs.html#379-387">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·IntoIter(<span·class="comment">/*·private·fields·*/</span>);</code></pre><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>An·iterator·over·<code>TokenStream</code>’s·<code>TokenTree</code>s.
3 The·iteration·is·“shallow”,·e.g.,·the·iterator·doesn’t·recurse·into·delimited·groups,3 The·iteration·is·“shallow”,·e.g.,·the·iterator·doesn’t·recurse·into·delimited·groups,
4 and·returns·whole·groups·as·token·trees.</p>4 and·returns·whole·groups·as·token·trees.</p>
5 </div></details><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-IntoIter"·class="impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#377">source</a><a·href="#impl-Clone-for-IntoIter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#377">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a>·<a·href="#"·class="tooltip"·data-notable-ty="IntoIter">ⓘ</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><[·...·truncated·by·diffoscope;·len:·3812,·SHA:·f49ee7113f64145854a6847dfa58f3812cb9c6ae63a07a352f5dbd67b400109f·...·]/std/primitive.usize.html">usize</a>&gt;(5 </div></details><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-IntoIter"·class="impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#377">source</a><a·href="#impl-Clone-for-IntoIter"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#377">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a>·<a·href="#"·class="tooltip"·data-notable-ty="IntoIter">ⓘ</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div>[·...·truncated·by·diffoscope;·len:·3947,·SHA:·a7d5bc0aa04b4acb94e04899fad65e693096353438b12b0db6d71901945a732c·...·]/std/primitive.usize.html">usize</a>&gt;(
6 ····&amp;mut·self6 ····&amp;mut·self
7 )·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;[Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>;·<a·class="primitive"·href="../../std/primitive.array.html">N</a>],·<a·class="struct"·href="../../core/array/iter/struct.IntoIter.html"·title="struct·core::array::iter::IntoIter">IntoIter</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·N&gt;&gt;<div·class="where">where7 )·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;[Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.array.html">N</a>],·<a·class="struct"·href="../../core/array/iter/struct.IntoIter.html"·title="struct·core::array::iter::IntoIter">IntoIter</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·N&gt;&gt;<div·class="where">where
8 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iter_next_chunk</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/98326">#98326</a>)</span></div></span><div·class='docblock'>Advances·the·iterator·and·returns·an·array·containing·the·next·<code>N</code>·values.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.next_chunk">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.last"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#258-260">source</a></span><a·href="#method.last"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.last"·class="fn">last</a>(self)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where8 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iter_next_chunk</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/98326">#98326</a>)</span></div></span><div·class='docblock'>Advances·the·iterator·and·returns·an·array·containing·the·next·<code>N</code>·values.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.next_chunk">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.last"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#258-260">source</a></span><a·href="#method.last"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.last"·class="fn">last</a>(self)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where
9 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Consumes·the·iterator,·returning·the·last·element.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.last">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.advance_by"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#305">source</a><a·href="#method.advance_by"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.advance_by"·class="fn">advance_by</a>(&amp;mut·self,·n:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../core/[·...·truncated·by·diffoscope;·len:·2172,·SHA:·86059b7e08545bcde3c917738b7957da62110a299fa88fa7be31da729c9fdedb·...·]/std/primitive.usize.html">usize</a>)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/step_by/struct.StepBy.html"·title="struct·core::iter::adapters::step_by::StepBy">StepBy</a>&lt;Self&gt;<div·class="where">where9 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Consumes·the·iterator,·returning·the·last·element.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.last">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.advance_by"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#305">source</a><a·href="#method.advance_by"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.advance_by"·class="fn">advance_by</a>(&amp;mut·self,·n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.[·...·truncated·by·diffoscope;·len:·2307,·SHA:·fd2f1e4fdf3a39711a4c74d1be48f342d6ff27731e71a5d02e7664d9d5a5e1cf·...·]/std/primitive.usize.html">usize</a>)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/step_by/struct.StepBy.html"·title="struct·core::iter::adapters::step_by::StepBy">StepBy</a>&lt;Self&gt;<div·class="where">where
10 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·starting·at·the·same·point,·but·stepping·by10 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·starting·at·the·same·point,·but·stepping·by
11 the·given·amount·at·each·iteration.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.step_by">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.chain"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#480-483">source</a></span><a·href="#method.chain"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.chain"·class="fn">chain</a>&lt;U&gt;(self,·other:·U)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/chain/struct.Chain.html"·title="struct·core::iter::adapters::chain::Chain">Chain</a>&lt;Self,·&lt;U·as·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&gt;::<a·class="associatedtype"·href="../../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·title="type·core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>&gt;<div·class="where">where11 the·given·amount·at·each·iteration.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.step_by">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.chain"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#480-483">source</a></span><a·href="#method.chain"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.chain"·class="fn">chain</a>&lt;U&gt;(self,·other:·U)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/chain/struct.Chain.html"·title="struct·core::iter::adapters::chain::Chain">Chain</a>&lt;Self,·&lt;U·as·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&gt;::<a·class="associatedtype"·href="../../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·title="type·core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>&gt;<div·class="where">where
12 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,12 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
13 ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,</div></h4></section></summary><div·class='docblock'>Takes·two·iterators·and·creates·a·new·iterator·over·both·in·sequence.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.chain">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.zip"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#599-602">source</a></span><a·href="#method.zip"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.zip"·class="fn">zip</a>&lt;U&gt;(self,·other:·U)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/zip/struct.Zip.html"·title="struct·core::iter::adapters::zip::Zip">Zip</a>&lt;Self,·&lt;U·as·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&gt;::<a·class="associatedtype"·href="../../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·title="type·core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>&gt;<div·class="where">where13 ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item·=·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,</div></h4></section></summary><div·class='docblock'>Takes·two·iterators·and·creates·a·new·iterator·over·both·in·sequence.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.chain">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.zip"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#599-602">source</a></span><a·href="#method.zip"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.zip"·class="fn">zip</a>&lt;U&gt;(self,·other:·U)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/zip/struct.Zip.html"·title="struct·core::iter::adapters::zip::Zip">Zip</a>&lt;Self,·&lt;U·as·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>&gt;::<a·class="associatedtype"·href="../../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·title="type·core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>&gt;<div·class="where">where
14 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,14 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
15 ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>,</div></h4></section></summary><div·class='docblock'>‘Zips·up’·two·iterators·into·a·single·iterator·of·pairs.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.zip">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.intersperse"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#642-645">source</a><a·href="#method.intersperse"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.intersperse"·class="fn">intersperse</a>(self,·separator:·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/intersperse/struct.Intersperse.html"·title="struct·core::iter::adapters::intersperse::Intersperse">Intersperse</a>&lt;Self&gt;<div·class="where">where15 ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>,</div></h4></section></summary><div·class='docblock'>‘Zips·up’·two·iterators·into·a·single·iterator·of·pairs.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.zip">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.intersperse"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#642-645">source</a><a·href="#method.intersperse"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.intersperse"·class="fn">intersperse</a>(self,·separator:·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/intersperse/struct.Intersperse.html"·title="struct·core::iter::adapters::intersperse::Intersperse">Intersperse</a>&lt;Self&gt;<div·class="where">where
16 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,16 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
Offset 21, 119 lines modifiedOffset 21, 119 lines modified
21 between·adjacent·items·of·the·original·iterator.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.intersperse_with">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.map"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#761-764">source</a></span><a·href="#method.map"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map"·class="fn">map</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/map/struct.Map.html"·title="struct·core::iter::adapters::map::Map">Map</a>&lt;Self,·F&gt;<div·class="where">where21 between·adjacent·items·of·the·original·iterator.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.intersperse_with">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.map"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#761-764">source</a></span><a·href="#method.map"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map"·class="fn">map</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/map/struct.Map.html"·title="struct·core::iter::adapters::map::Map">Map</a>&lt;Self,·F&gt;<div·class="where">where
22 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,22 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
23 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·B,</div></h4></section></summary><div·class='docblock'>Takes·a·closure·and·creates·an·iterator·which·calls·that·closure·on·each23 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·B,</div></h4></section></summary><div·class='docblock'>Takes·a·closure·and·creates·an·iterator·which·calls·that·closure·on·each
24 element.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.for_each"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.21.0">1.21.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#807-810">source</a></span><a·href="#method.for_each"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.for_each"·class="fn">for_each</a>&lt;F&gt;(self,·f:·F)<div·class="where">where24 element.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.for_each"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.21.0">1.21.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#807-810">source</a></span><a·href="#method.for_each"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.for_each"·class="fn">for_each</a>&lt;F&gt;(self,·f:·F)<div·class="where">where
25 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,25 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
26 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>),</div></h4></section></summary><div·class='docblock'>Calls·a·closure·on·each·element·of·an·iterator.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.for_each">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.filter"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#883-886">source</a></span><a·href="#method.filter"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.filter"·class="fn">filter</a>&lt;P&gt;(self,·predicate:·P)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/filter/struct.Filter.html"·title="struct·core::iter::adapters::filter::Filter">Filter</a>&lt;Self,·P&gt;<div·class="where">where26 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>),</div></h4></section></summary><div·class='docblock'>Calls·a·closure·on·each·element·of·an·iterator.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.for_each">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.filter"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#883-886">source</a></span><a·href="#method.filter"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.filter"·class="fn">filter</a>&lt;P&gt;(self,·predicate:·P)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/filter/struct.Filter.html"·title="struct·core::iter::adapters::filter::Filter">Filter</a>&lt;Self,·P&gt;<div·class="where">where
27 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,27 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
28 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·uses·a·closure·to·determine·if·an·element28 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·uses·a·closure·to·determine·if·an·element
29 should·be·yielded.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.filter">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.filter_map"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#929-932">source</a></span><a·href="#method.filter_map"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.filter_map"·class="fn">filter_map</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/filter_map/struct.FilterMap.html"·title="struct·core::iter::adapters::filter_map::FilterMap">FilterMap</a>&lt;Self,·F&gt;<div·class="where">where29 should·be·yielded.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.filter">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.filter_map"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#929-932">source</a></span><a·href="#method.filter_map"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.filter_map"·class="fn">filter_map</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/filter_map/struct.FilterMap.html"·title="struct·core::iter::adapters::filter_map::FilterMap">FilterMap</a>&lt;Self,·F&gt;<div·class="where">where
30 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,30 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
31 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·both·filters·and·maps.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.filter_map">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.enumerate"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#976-978">source</a></span><a·href="#method.enumerate"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.enumerate"·class="fn">enumerate</a>(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/enumerate/struct.Enumerate.html"·title="struct·core::iter::adapters::enumerate::Enumerate">Enumerate</a>&lt;Self&gt;<div·class="where">where31 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·both·filters·and·maps.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.filter_map">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.enumerate"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#976-978">source</a></span><a·href="#method.enumerate"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.enumerate"·class="fn">enumerate</a>(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/enumerate/struct.Enumerate.html"·title="struct·core::iter::adapters::enumerate::Enumerate">Enumerate</a>&lt;Self&gt;<div·class="where">where
32 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·gives·the·current·iteration·count·as·well·as32 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·gives·the·current·iteration·count·as·well·as
33 the·next·value.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.enumerate">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.peekable"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1048-1050">source</a></span><a·href="#method.peekable"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.peekable"·class="fn">peekable</a>(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/peekable/struct.Peekable.html"·title="struct·core::iter::adapters::peekable::Peekable">Peekable</a>&lt;Self&gt;<div·class="where">where33 the·next·value.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.enumerate">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.peekable"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1048-1050">source</a></span><a·href="#method.peekable"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.peekable"·class="fn">peekable</a>(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/peekable/struct.Peekable.html"·title="struct·core::iter::adapters::peekable::Peekable">Peekable</a>&lt;Self&gt;<div·class="where">where
34 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·can·use·the·<a·href="../../core/iter/adapters/peekable/struct.Peekable.html#method.peek"·title="method·core::iter::adapters::peekable::Peekable::peek"><code>peek</code></a>·and·<a·href="../../core/iter/adapters/peekable/struct.Peekable.html#method.peek_mut"·title="method·core::iter::adapters::peekable::Peekable::peek_mut"><code>peek_mut</code></a>·methods34 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·can·use·the·<a·href="../../core/iter/adapters/peekable/struct.Peekable.html#method.peek"·title="method·core::iter::adapters::peekable::Peekable::peek"><code>peek</code></a>·and·<a·href="../../core/iter/adapters/peekable/struct.Peekable.html#method.peek_mut"·title="method·core::iter::adapters::peekable::Peekable::peek_mut"><code>peek_mut</code></a>·methods
35 to·look·at·the·next·element·of·the·iterator·without·consuming·it.·See35 to·look·at·the·next·element·of·the·iterator·without·consuming·it.·See
36 their·documentation·for·more·information.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.peekable">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.skip_while"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1114-1117">source</a></span><a·href="#method.skip_while"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip_while"·class="fn">skip_while</a>&lt;P&gt;(self,·predicate:·P)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/skip_while/struct.SkipWhile.html"·title="struct·core::iter::adapters::skip_while::SkipWhile">SkipWhile</a>&lt;Self,·P&gt;<div·class="where">where36 their·documentation·for·more·information.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.peekable">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.skip_while"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1114-1117">source</a></span><a·href="#method.skip_while"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip_while"·class="fn">skip_while</a>&lt;P&gt;(self,·predicate:·P)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/skip_while/struct.SkipWhile.html"·title="struct·core::iter::adapters::skip_while::SkipWhile">SkipWhile</a>&lt;Self,·P&gt;<div·class="where">where
37 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,37 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
38 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip"·title="method·core::iter::traits::iterator::Iterator::skip"><code>skip</code></a>s·elements·based·on·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip_while">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.take_while"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1196-1199">source</a></span><a·href="#method.take_while"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.take_while"·class="fn">take_while</a>&lt;P&gt;(self,·predicate:·P)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/take_while/struct.TakeWhile.html"·title="struct·core::iter::adapters::take_while::TakeWhile">TakeWhile</a>&lt;Self,·P&gt;<div·class="where">where38 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip"·title="method·core::iter::traits::iterator::Iterator::skip"><code>skip</code></a>s·elements·based·on·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip_while">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.take_while"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1196-1199">source</a></span><a·href="#method.take_while"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.take_while"·class="fn">take_while</a>&lt;P&gt;(self,·predicate:·P)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/take_while/struct.TakeWhile.html"·title="struct·core::iter::adapters::take_while::TakeWhile">TakeWhile</a>&lt;Self,·P&gt;<div·class="where">where
39 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,39 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
40 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·yields·elements·based·on·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.take_while">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.map_while"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.57.0">1.57.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1285-1288">source</a></span><a·href="#method.map_while"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map_while"·class="fn">map_while</a>&lt;B,·P&gt;(self,·predicate:·P)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/map_while/struct.MapWhile.html"·title="struct·core::iter::adapters::map_while::MapWhile">MapWhile</a>&lt;Self,·P&gt;<div·class="where">where40 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·yields·elements·based·on·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.take_while">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.map_while"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.57.0">1.57.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1285-1288">source</a></span><a·href="#method.map_while"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map_while"·class="fn">map_while</a>&lt;B,·P&gt;(self,·predicate:·P)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/map_while/struct.MapWhile.html"·title="struct·core::iter::adapters::map_while::MapWhile">MapWhile</a>&lt;Self,·P&gt;<div·class="where">where
41 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,41 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
42 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·both·yields·elements·based·on·a·predicate·and·maps.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map_while">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.skip"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1315-1317">source</a></span><a·href="#method.skip"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip"·class="fn">skip</a>(self,·n:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/skip/struct.Skip.html"·title="struct·core::iter::adapters::skip::Skip">Skip</a>&lt;Self&gt;<div·class="where">where42 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·both·yields·elements·based·on·a·predicate·and·maps.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map_while">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.skip"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1315-1317">source</a></span><a·href="#method.skip"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip"·class="fn">skip</a>(self,·n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/skip/struct.Skip.html"·title="struct·core::iter::adapters::skip::Skip">Skip</a>&lt;Self&gt;<div·class="where">where
43 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·skips·the·first·<code>n</code>·elements.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.take"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1369-1371">source</a></span><a·href="#method.take"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.take"·class="fn">take</a>(self,·n:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/take/struct.Take.html"·title="struct·core::iter::adapters::take::Take">Take</a>&lt;Self&gt;<div·class="where">where43 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·skips·the·first·<code>n</code>·elements.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.skip">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.take"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1369-1371">source</a></span><a·href="#method.take"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.take"·class="fn">take</a>(self,·n:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/take/struct.Take.html"·title="struct·core::iter::adapters::take::Take">Take</a>&lt;Self&gt;<div·class="where">where
44 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·yields·the·first·<code>n</code>·elements,·or·fewer44 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·yields·the·first·<code>n</code>·elements,·or·fewer
45 if·the·underlying·iterator·ends·sooner.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.take">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.scan"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1417-1420">source</a></span><a·href="#method.scan"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.scan"·class="fn">scan</a>&lt;St,·B,·F&gt;(self,·initial_state:·St,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/scan/struct.Scan.html"·title="struct·core::iter::adapters::scan::Scan">Scan</a>&lt;Self,·St,·F&gt;<div·class="where">where45 if·the·underlying·iterator·ends·sooner.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.take">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.scan"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1417-1420">source</a></span><a·href="#method.scan"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.scan"·class="fn">scan</a>&lt;St,·B,·F&gt;(self,·initial_state:·St,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/scan/struct.Scan.html"·title="struct·core::iter::adapters::scan::Scan">Scan</a>&lt;Self,·St,·F&gt;<div·class="where">where
46 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,46 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
47 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·St</a>,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div·class='docblock'>An·iterator·adapter·which,·like·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fold"·title="method·core::iter::traits::iterator::Iterator::fold"><code>fold</code></a>,·holds·internal·state,·but47 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·St</a>,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div·class='docblock'>An·iterator·adapter·which,·like·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fold"·title="method·core::iter::traits::iterator::Iterator::fold"><code>fold</code></a>,·holds·internal·state,·but
48 unlike·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fold"·title="method·core::iter::traits::iterator::Iterator::fold"><code>fold</code></a>,·produces·a·new·iterator.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.scan">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.flat_map"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1456-1460">source</a></span><a·href="#method.flat_map"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.flat_map"·class="fn">flat_map</a>&lt;U,·F&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/flatten/struct.FlatMap.html"·title="struct·core::iter::adapters::flatten::FlatMap">FlatMap</a>&lt;Self,·U,·F&gt;<div·class="where">where48 unlike·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fold"·title="method·core::iter::traits::iterator::Iterator::fold"><code>fold</code></a>,·produces·a·new·iterator.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.scan">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.flat_map"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1456-1460">source</a></span><a·href="#method.flat_map"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.flat_map"·class="fn">flat_map</a>&lt;U,·F&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/flatten/struct.FlatMap.html"·title="struct·core::iter::adapters::flatten::FlatMap">FlatMap</a>&lt;Self,·U,·F&gt;<div·class="where">where
49 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,49 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
50 ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>,50 ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>,
51 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·U,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·works·like·map,·but·flattens·nested·structure.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.flat_map">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.map_windows"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#1698-1701">source</a><a·href="#method.map_windows"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map_windows"·class="fn">map_windows</a>&lt;F,·R,·const·N:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/map_windows/struct.MapWindows.html"·title="struct·core::iter::adapters::map_windows::MapWindows">MapWindows</a>&lt;Self,·F,·N&gt;<div·class="where">where51 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·U,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·that·works·like·map,·but·flattens·nested·structure.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.flat_map">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.map_windows"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#1698-1701">source</a><a·href="#method.map_windows"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map_windows"·class="fn">map_windows</a>&lt;F,·R,·const·N:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/map_windows/struct.MapWindows.html"·title="struct·core::iter::adapters::map_windows::MapWindows">MapWindows</a>&lt;Self,·F,·N&gt;<div·class="where">where
52 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,52 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
53 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;[Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>;·<a·class="primitive"·href="../../std/primitive.array.html">N</a>])·-&gt;·R,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iter_map_windows</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/87155">#87155</a>)</span></div></span><div·class='docblock'>Calls·the·given·function·<code>f</code>·for·each·contiguous·window·of·size·<code>N</code>·over53 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;[Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.array.html">N</a>])·-&gt;·R,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iter_map_windows</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/87155">#87155</a>)</span></div></span><div·class='docblock'>Calls·the·given·function·<code>f</code>·for·each·contiguous·window·of·size·<code>N</code>·over
54 <code>self</code>·and·returns·an·iterator·over·the·outputs·of·<code>f</code>.·Like·<a·href="../../std/primitive.slice.html#method.windows"·title="method·slice::windows"><code>slice::windows()</code></a>,54 <code>self</code>·and·returns·an·iterator·over·the·outputs·of·<code>f</code>.·Like·<a·href="https://doc.rust-lang.org/1.78.0/std/primitive.slice.html#method.windows"·title="method·slice::windows"><code>slice::windows()</code></a>,
55 the·windows·during·mapping·overlap·as·well.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map_windows">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.fuse"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1765-1767">source</a></span><a·href="#method.fuse"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fuse"·class="fn">fuse</a>(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/fuse/struct.Fuse.html"·title="struct·core::iter::adapters::fuse::Fuse">Fuse</a>&lt;Self&gt;<div·class="where">where55 the·windows·during·mapping·overlap·as·well.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.map_windows">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.fuse"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1765-1767">source</a></span><a·href="#method.fuse"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fuse"·class="fn">fuse</a>(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/fuse/struct.Fuse.html"·title="struct·core::iter::adapters::fuse::Fuse">Fuse</a>&lt;Self&gt;<div·class="where">where
56 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·ends·after·the·first·<a·href="../../core/option/enum.Option.html#variant.None"·title="variant·core::option::Option::None"><code>None</code></a>.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fuse">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.inspect"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1850-1853">source</a></span><a·href="#method.inspect"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.inspect"·class="fn">inspect</a>&lt;F&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/inspect/struct.Inspect.html"·title="struct·core::iter::adapters::inspect::Inspect">Inspect</a>&lt;Self,·F&gt;<div·class="where">where56 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·ends·after·the·first·<a·href="../../core/option/enum.Option.html#variant.None"·title="variant·core::option::Option::None"><code>None</code></a>.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fuse">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.inspect"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1850-1853">source</a></span><a·href="#method.inspect"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.inspect"·class="fn">inspect</a>&lt;F&gt;(self,·f:·F)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/inspect/struct.Inspect.html"·title="struct·core::iter::adapters::inspect::Inspect">Inspect</a>&lt;Self,·F&gt;<div·class="where">where
57 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,57 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
58 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>),</div></h4></section></summary><div·class='docblock'>Does·something·with·each·element·of·an·iterator,·passing·the·value·on.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.inspect">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.by_ref"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1879-1881">source</a></span><a·href="#method.by_ref"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.by_ref"·class="fn">by_ref</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·Self</a><div·class="where">where58 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>),</div></h4></section></summary><div·class='docblock'>Does·something·with·each·element·of·an·iterator,·passing·the·value·on.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.inspect">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.by_ref"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1879-1881">source</a></span><a·href="#method.by_ref"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.by_ref"·class="fn">by_ref</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·Self</a><div·class="where">where
59 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Borrows·an·iterator,·rather·than·consuming·it.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.by_ref">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.collect"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1999-2001">source</a></span><a·href="#method.collect"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.collect"·class="fn">collect</a>&lt;B&gt;(self)·-&gt;·B<div·class="where">where59 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Borrows·an·iterator,·rather·than·consuming·it.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.by_ref">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.collect"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#1999-2001">source</a></span><a·href="#method.collect"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.collect"·class="fn">collect</a>&lt;B&gt;(self)·-&gt;·B<div·class="where">where
60 ····B:·<a·class="trait"·href="../../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,60 ····B:·<a·class="trait"·href="../../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,
61 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Transforms·an·iterator·into·a·collection.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.collect">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.collect_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#2152-2154">source</a><a·href="#method.collect_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.collect_into"·class="fn">collect_into</a>&lt;E&gt;(self,·collection:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·E</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·E</a><div·class="where">where61 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Transforms·an·iterator·into·a·collection.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.collect">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.collect_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#2152-2154">source</a><a·href="#method.collect_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.collect_into"·class="fn">collect_into</a>&lt;E&gt;(self,·collection:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·E</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·E</a><div·class="where">where
62 ····E:·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,62 ····E:·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,
63 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iter_collect_into</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/94780">#94780</a>)</span></div></span><div·class='docblock'>Collects·all·the·items·from·an·iterator·into·a·collection.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.collect_into">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.partition"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2185-2189">source</a></span><a·href="#method.partition"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.partition"·class="fn">partition</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="primitive"·href="../../std/primitive.tuple.html">(B,·B)</a><div·class="where">where63 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iter_collect_into</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/94780">#94780</a>)</span></div></span><div·class='docblock'>Collects·all·the·items·from·an·iterator·into·a·collection.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.collect_into">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.partition"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2185-2189">source</a></span><a·href="#method.partition"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.partition"·class="fn">partition</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.tuple.html">(B,·B)</a><div·class="where">where
64 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,64 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
65 ····B:·<a·class="trait"·href="../../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·+·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,65 ····B:·<a·class="trait"·href="../../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·+·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,
66 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Consumes·an·iterator,·creating·two·collections·from·it.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.partition">Read·more</a></div></details[·...·truncated·by·diffoscope;·len:·472,·SHA:·4b4d3b30bc26f61626e82e3b87aac9b8512af706b0fe203caa028b5eca9cbd2e·...·]/std/primitive.bool.html">bool</a><div·class="where">where66 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Consumes·an·iterator,·creating·two·collections·from·it.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.partition">R[·...·truncated·by·diffoscope;·len:·526,·SHA:·29962af3e86e3e83889263565fce27bbded6dd8f09e42ca6d7bd629d329b0462·...·]/std/primitive.bool.html">bool</a><div·class="where">where
67 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,67 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
68 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iter_is_partitioned</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/62544">#62544</a>)</span></div></span><div·class='docblock'>Checks·if·the·elements·of·this·iterator·are·partitioned·according·to·the·given·predicate,68 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iter_is_partitioned</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/62544">#62544</a>)</span></div></span><div·class='docblock'>Checks·if·the·elements·of·this·iterator·are·partitioned·according·to·the·given·predicate,
69 such·that·all·those·that·return·<code>true</code>·precede·all·those·that·return·<code>false</code>.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.is_partitioned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_fold"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.27.0">1.27.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2401-2405">source</a></span><a·href="#method.try_fold"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_fold"·class="fn">try_fold</a>&lt;B,·F,·R&gt;(&amp;mut·self,·init:·B,·f:·F)·-&gt;·R<div·class="where">where69 such·that·all·those·that·return·<code>true</code>·precede·all·those·that·return·<code>false</code>.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.is_partitioned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_fold"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.27.0">1.27.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2401-2405">source</a></span><a·href="#method.try_fold"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_fold"·class="fn">try_fold</a>&lt;B,·F,·R&gt;(&amp;mut·self,·init:·B,·f:·F)·-&gt;·R<div·class="where">where
70 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,70 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
71 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(B,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·R,71 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(B,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·R,
72 ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&lt;Output·=·B&gt;,</div></h4></section></summary><div·class='docblock'>An·iterator·method·that·applies·a·function·as·long·as·it·returns72 ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&lt;Output·=·B&gt;,</div></h4></section></summary><div·class='docblock'>An·iterator·method·that·applies·a·function·as·long·as·it·returns
73 successfully,·producing·a·single,·final·value.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_fold">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_for_each"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.27.0">1.27.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2460-2464">source</a></span><a·href="#method.try_for_each"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_for_each"·class="fn">try_for_each</a>&lt;F,·R&gt;(&amp;mut·self,·f:·F)·-&gt;·R<div·class="where">where73 successfully,·producing·a·single,·final·value.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_fold">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_for_each"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.27.0">1.27.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2460-2464">source</a></span><a·href="#method.try_for_each"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_for_each"·class="fn">try_for_each</a>&lt;F,·R&gt;(&amp;mut·self,·f:·F)·-&gt;·R<div·class="where">where
74 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,74 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
75 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·R,75 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·R,
76 ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&lt;Output·=·<a·class="primitive"·href="../../std/primitive.unit.html">()</a>&gt;,</div></h4></section></summary><div·class='docblock'>An·iterator·method·that·applies·a·fallible·function·to·each·item·in·the76 ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&lt;Output·=·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>&gt;,</div></h4></section></summary><div·class='docblock'>An·iterator·method·that·applies·a·fallible·function·to·each·item·in·the
77 iterator,·stopping·at·the·first·error·and·returning·that·error.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_for_each">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.fold"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2580-2583">source</a></span><a·href="#method.fold"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fold"·class="fn">fold</a>&lt;B,·F&gt;(self,·init:·B,·f:·F)·-&gt;·B<div·class="where">where77 iterator,·stopping·at·the·first·error·and·returning·that·error.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_for_each">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.fold"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2580-2583">source</a></span><a·href="#method.fold"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fold"·class="fn">fold</a>&lt;B,·F&gt;(self,·init:·B,·f:·F)·-&gt;·B<div·class="where">where
78 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,78 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
79 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(B,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·B,</div></h4></section></summary><div·class='docblock'>Folds·every·element·into·an·accumulator·by·applying·an·operation,79 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(B,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·B,</div></h4></section></summary><div·class='docblock'>Folds·every·element·into·an·accumulator·by·applying·an·operation,
80 returning·the·final·result.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fold">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.reduce"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.51.0">1.51.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2618-2621">source</a></span><a·href="#method.reduce"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.reduce"·class="fn">reduce</a>&lt;F&gt;(self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where80 returning·the·final·result.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.fold">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.reduce"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.51.0">1.51.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2618-2621">source</a></span><a·href="#method.reduce"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.reduce"·class="fn">reduce</a>&lt;F&gt;(self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where
81 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,81 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
82 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,</div></h4></section></summary><div·class='docblock'>Reduces·the·elements·to·a·single·one,·by·repeatedly·applying·a·reducing82 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,</div></h4></section></summary><div·class='docblock'>Reduces·the·elements·to·a·single·one,·by·repeatedly·applying·a·reducing
83 operation.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.reduce">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_reduce"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#2690-2695">source</a><a·href="#method.try_reduce"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_reduce"·class="fn">try_reduce</a>&lt;F,·R&gt;(83 operation.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.reduce">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_reduce"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#2690-2695">source</a><a·href="#method.try_reduce"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_reduce"·class="fn">try_reduce</a>&lt;F,·R&gt;(
84 ····&amp;mut·self,84 ····&amp;mut·self,
85 ····f:·F85 ····f:·F
86 )·-&gt;·&lt;&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Residual"·title="type·core::ops::try_trait::Try::Residual">Residual</a>·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Residual.html"·title="trait·core::ops::try_trait::Residual">Residual</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Output"·title="type·core::ops::try_trait::Try::Output">Output</a>&gt;&gt;&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Residual.html#associatedtype.TryType"·title="type·core::ops::try_trait::Residual::TryType">TryType</a><div·class="where">where86 )·-&gt;·&lt;&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Residual"·title="type·core::ops::try_trait::Try::Residual">Residual</a>·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Residual.html"·title="trait·core::ops::try_trait::Residual">Residual</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Output"·title="type·core::ops::try_trait::Try::Output">Output</a>&gt;&gt;&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Residual.html#associatedtype.TryType"·title="type·core::ops::try_trait::Residual::TryType">TryType</a><div·class="where">where
87 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,87 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
88 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·R,88 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·R,
89 ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&lt;Output·=·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,89 ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&lt;Output·=·Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;,
90 ····&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Residual"·title="type·core::ops::try_trait::Try::Residual">Residual</a>:·<a·class="trait"·href="../../core/ops/try_trait/trait.Residual.html"·title="trait·core::ops::try_trait::Residual">Residual</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;&gt;,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iterator_try_reduce</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/87053">#87053</a>)</span></div></span><div·class='docblock'>Reduces·the·elements·to·a·single·one·by·repeatedly·applying·a·reducing·operation.·If·the90 ····&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Residual"·title="type·core::ops::try_trait::Try::Residual">Residual</a>:·<a·class="trait"·href="../../core/ops/try_trait/trait.Residual.html"·title="trait·core::ops::try_trait::Residual">Residual</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;&gt;,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>iterator_try_reduce</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/87053">#87053</a>)</span></div></span><div·class='docblock'>Reduces·the·elements·to·a·single·one·by·repeatedly·applying·a·reducing·operation.·If·the
91 closure·returns·a·failure,·the·failure·is·propagated·back·to·the·caller·immediately.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_reduce">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.all"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2748-2751">source</a></span><a·href="#method.all"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.all"·class="fn">all</a>&lt;F&gt;(&amp;mut·self,·f:·F)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a><div·class="where">where91 closure·returns·a·failure,·the·failure·is·propagated·back·to·the·caller·immediately.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_reduce">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.all"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2748-2751">source</a></span><a·href="#method.all"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.all"·class="fn">all</a>&lt;F&gt;(&amp;mut·self,·f:·F)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a><div·class="where">where
92 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,92 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
93 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Tests·if·every·element·of·the·iterator·matches·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.all">Read·more</a></div></details><[·...·truncated·by·diffoscope;·len:·523,·SHA:·fd006149d54f3ea7957c6979caa5bff17ce6a5ae55a4266d6e3aebb6804e705f·...·]/std/primitive.bool.html">bool</a><div·class="where">where93 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Tests·if·every·element·of·the·iterator·matches·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.all">Rea[·...·truncated·by·diffoscope;·len:·577,·SHA:·a3fbd10515a8fa97fde2df66b78e69e8ef4b88e064eb530885f5bcc746eedcc2·...·]/std/primitive.bool.html">bool</a><div·class="where">where
94 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,94 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
95 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Tests·if·any·element·of·the·iterator·matches·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.any">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.find"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2866-2869">source</a></span><a·href="#method.find"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.find"·class="fn">find</a>&lt;P&gt;(&amp;mut·self,·predicate:·P)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where95 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Tests·if·any·element·of·the·iterator·matches·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.any">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.find"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2866-2869">source</a></span><a·href="#method.find"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.find"·class="fn">find</a>&lt;P&gt;(&amp;mut·self,·predicate:·P)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where
96 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,96 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
97 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Searches·for·an·element·of·an·iterator·that·satisfies·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.find">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.find_map"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2898-2901">source</a></span><a·href="#method.find_map"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.find_map"·class="fn">find_map</a>&lt;B,·F&gt;(&amp;mut·self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;<div·class="where">where97 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Searches·for·an·element·of·an·iterator·that·satisfies·a·predicate.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.find">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.find_map"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.30.0">1.30.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#2898-2901">source</a></span><a·href="#method.find_map"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.find_map"·class="fn">find_map</a>&lt;B,·F&gt;(&amp;mut·self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;<div·class="where">where
98 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,98 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
99 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div·class='docblock'>Applies·function·to·the·elements·of·iterator·and·returns99 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div·class='docblock'>Applies·function·to·the·elements·of·iterator·and·returns
100 the·first·non-none·result.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.find_map">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_find"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#2956-2961">source</a><a·href="#method.try_find"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_find"·class="fn">try_find</a>&lt;F,·R&gt;(100 the·first·non-none·result.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.find_map">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_find"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#2956-2961">source</a><a·href="#method.try_find"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_find"·class="fn">try_find</a>&lt;F,·R&gt;(
101 ····&amp;mut·self,101 ····&amp;mut·self,
102 ····f:·F102 ····f:·F
103 )·-&gt;·&lt;&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Residual"·title="type·core::ops::try_trait::Try::Residual">Residual</a>·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Residual.html"·title="trait·core::ops::try_trait::Residual">Residual</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;&gt;&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Residual.html#associatedtype.TryType"·title="type·core::ops::try_trait::Residual::TryType">TryType</a><div·class="where">where103 )·-&gt;·&lt;&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Residual"·title="type·core::ops::try_trait::Try::Residual">Residual</a>·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Residual.html"·title="trait·core::ops::try_trait::Residual">Residual</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;&gt;&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Residual.html#associatedtype.TryType"·title="type·core::ops::try_trait::Residual::TryType">TryType</a><div·class="where">where
104 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,104 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
105 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·R,105 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·R,
106 ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&lt;Output·=·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>&gt;,106 ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&lt;Output·=·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>&gt;,
107 ····&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Residual"·title="type·core::ops::try_trait::Try::Residual">Residual</a>:·<a·class="trait"·href="../../core/ops/try_trait/trait.Residual.html"·title="trait·core::ops::try_trait::Residual">Residual</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;&gt;,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>try_find</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/63178">#63178</a>)</span></div></span><div·class='docblock'>Applies·function·to·the·elements·of·iterator·and·returns107 ····&lt;R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>&gt;::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Residual"·title="type·core::ops::try_trait::Try::Residual">Residual</a>:·<a·class="trait"·href="../../core/ops/try_trait/trait.Residual.html"·title="trait·core::ops::try_trait::Residual">Residual</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;&gt;,</div></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>try_find</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/63178">#63178</a>)</span></div></span><div·class='docblock'>Applies·function·to·the·elements·of·iterator·and·returns
108 the·first·true·result·or·the·first·error.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_find">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.position"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3039-3042">source</a></span><a·href="#method.position"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.position"·class="fn">position</a>&lt;P&gt;(&amp;mut·self,·predicate:·P)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>&gt;<div·class="where">where108 the·first·true·result·or·the·first·error.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.try_find">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.position"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3039-3042">source</a></span><a·href="#method.position"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.position"·class="fn">position</a>&lt;P&gt;(&amp;mut·self,·predicate:·P)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>&gt;<div·class="where">where
109 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,109 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
110 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Searches·for·an·element·in·an·iterator,·returning·its·index.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.position">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.max_by_key"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.6.0">1.6.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3214-3217">source</a></span><a·href="#method.max_by_key"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.max_by_key"·class="fn">max_by_key</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where110 ····P:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div·class='docblock'>Searches·for·an·element·in·an·iterator,·returning·its·index.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.position">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.max_by_key"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.6.0">1.6.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3214-3217">source</a></span><a·href="#method.max_by_key"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.max_by_key"·class="fn">max_by_key</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where
111 ····B:·<a·class="trait"·href="../../core/cmp/trait.Ord.html"·title="trait·core::cmp::Ord">Ord</a>,111 ····B:·<a·class="trait"·href="../../core/cmp/trait.Ord.html"·title="trait·core::cmp::Ord">Ord</a>,
112 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,112 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
113 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·B,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·maximum·value·from·the113 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·B,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·maximum·value·from·the
114 specified·function.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.max_by_key">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.max_by"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.15.0">1.15.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3248-3251">source</a></span><a·href="#method.max_by"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.max_by"·class="fn">max_by</a>&lt;F&gt;(self,·compare:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where114 specified·function.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.max_by_key">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.max_by"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.15.0">1.15.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3248-3251">source</a></span><a·href="#method.max_by"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.max_by"·class="fn">max_by</a>&lt;F&gt;(self,·compare:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where
115 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,115 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
116 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/cmp/enum.Ordering.html"·title="enum·core::cmp::Ordering">Ordering</a>,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·maximum·value·with·respect·to·the116 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/cmp/enum.Ordering.html"·title="enum·core::cmp::Ordering">Ordering</a>,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·maximum·value·with·respect·to·the
117 specified·comparison·function.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.max_by">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.min_by_key"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.6.0">1.6.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3276-3279">source</a></span><a·href="#method.min_by_key"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.min_by_key"·class="fn">min_by_key</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where117 specified·comparison·function.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.max_by">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.min_by_key"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.6.0">1.6.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3276-3279">source</a></span><a·href="#method.min_by_key"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.min_by_key"·class="fn">min_by_key</a>&lt;B,·F&gt;(self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where
118 ····B:·<a·class="trait"·href="../../core/cmp/trait.Ord.html"·title="trait·core::cmp::Ord">Ord</a>,118 ····B:·<a·class="trait"·href="../../core/cmp/trait.Ord.html"·title="trait·core::cmp::Ord">Ord</a>,
119 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,119 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
120 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·B,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·minimum·value·from·the120 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·B,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·minimum·value·from·the
121 specified·function.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.min_by_key">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.min_by"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.15.0">1.15.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3310-3313">source</a></span><a·href="#method.min_by"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.min_by"·class="fn">min_by</a>&lt;F&gt;(self,·compare:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where121 specified·function.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.min_by_key">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.min_by"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.15.0">1.15.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3310-3313">source</a></span><a·href="#method.min_by"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.min_by"·class="fn">min_by</a>&lt;F&gt;(self,·compare:·F)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>&gt;<div·class="where">where
122 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,122 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
123 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/cmp/enum.Ordering.html"·title="enum·core::cmp::Ordering">Ordering</a>,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·minimum·value·with·respect·to·the123 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>,·&amp;Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·-&gt;·<a·class="enum"·href="../../core/cmp/enum.Ordering.html"·title="enum·core::cmp::Ordering">Ordering</a>,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·minimum·value·with·respect·to·the
124 specified·comparison·function.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.min_by">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.unzip"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3385-3389">source</a></span><a·href="#method.unzip"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.unzip"·class="fn">unzip</a>&lt;A,·B,·FromA,·FromB&gt;(self)·-&gt;·<a·class="primitive"·href="../../std/primitive.tuple.html">(FromA,·FromB)</a><div·class="where">where124 specified·comparison·function.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.min_by">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.unzip"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3385-3389">source</a></span><a·href="#method.unzip"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.unzip"·class="fn">unzip</a>&lt;A,·B,·FromA,·FromB&gt;(self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.tuple.html">(FromA,·FromB)</a><div·class="where">where
125 ····FromA:·<a·class="trait"·href="../../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·+·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;A&gt;,125 ····FromA:·<a·class="trait"·href="../../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·+·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;A&gt;,
126 ····FromB:·<a·class="trait"·href="../../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·+·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;B&gt;,126 ····FromB:·<a·class="trait"·href="../../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·+·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</a>&lt;B&gt;,
127 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>·+·<a·class="trait"·href="../../core/iter/traits/iterator/trait.Iterator.html"·title="trait·core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item·=·<a·class="primitive"·href="../../std/primitive.tuple.html">(A,·B)</a>&gt;,</div></h4></section></summary><div·class='docblock'>Converts·an·iterator·of·pairs·into·a·pair·of·containers.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.unzip">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.copied"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.36.0">1.36.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3416-3419">source</a></span><a·href="#method.copied"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.copied"·class="fn">copied</a>&lt;'a,·T&gt;(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/copied/struct.Copied.html"·title="struct·core::iter::adapters::copied::Copied">Copied</a>&lt;Self&gt;<div·class="where">where127 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>·+·<a·class="trait"·href="../../core/iter/traits/iterator/trait.Iterator.html"·title="trait·core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item·=·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.tuple.html">(A,·B)</a>&gt;,</div></h4></section></summary><div·class='docblock'>Converts·an·iterator·of·pairs·into·a·pair·of·containers.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.unzip">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.copied"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.36.0">1.36.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3416-3419">source</a></span><a·href="#method.copied"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.copied"·class="fn">copied</a>&lt;'a,·T&gt;(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/copied/struct.Copied.html"·title="struct·core::iter::adapters::copied::Copied">Copied</a>&lt;Self&gt;<div·class="where">where
128 ····T:·'a·+·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>,128 ····T:·'a·+·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>,
129 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>·+·<a·class="trait"·href="../../core/iter/traits/iterator/trait.Iterator.html"·title="trait·core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item·=·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;'a·T</a>&gt;,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·copies·all·of·its·elements.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.copied">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.cloned"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3464-3467">source</a></span><a·href="#method.cloned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.cloned"·class="fn">cloned</a>&lt;'a,·T&gt;(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/cloned/struct.Cloned.html"·title="struct·core::iter::adapters::cloned::Cloned">Cloned</a>&lt;Self&gt;<div·class="where">where129 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>·+·<a·class="trait"·href="../../core/iter/traits/iterator/trait.Iterator.html"·title="trait·core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item·=·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;'a·T</a>&gt;,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·copies·all·of·its·elements.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.copied">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.cloned"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3464-3467">source</a></span><a·href="#method.cloned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.cloned"·class="fn">cloned</a>&lt;'a,·T&gt;(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/cloned/struct.Cloned.html"·title="struct·core::iter::adapters::cloned::Cloned">Cloned</a>&lt;Self&gt;<div·class="where">where
130 ····T:·'a·+·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,130 ····T:·'a·+·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,
Max diff block lines reached; 55569/179376 bytes (30.98%) of diff not shown.
8.82 KB
./usr/share/doc/rust-web-doc/html/proc_macro/tracked_env/fn.var.html
    
Offset 1, 7 lines modifiedOffset 1, 7 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Retrieve·an·environment·variable·and·add·it·to·build·dependency·info.·The·build·system·executing·the·compiler·will·know·that·the·variable·was·accessed·during·compilation,·and·will·be·able·to·rerun·the·build·when·the·value·of·that·variable·changes.·Besides·the·dependency·tracking·this·function·should·be·equivalent·to·`env::var`·from·the·standard·library,·except·that·the·argument·must·be·UTF-8."><title>var·in·proc_macro::tracked_env·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·proc_macro::tracked_env</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Retrieve·an·environment·variable·and·add·it·to·build·dependency·info.·The·build·system·executing·the·compiler·will·know·that·the·variable·was·accessed·during·compilation,·and·will·be·able·to·rerun·the·build·when·the·value·of·that·variable·changes.·Besides·the·dependency·tracking·this·function·should·be·equivalent·to·`env::var`·from·the·standard·library,·except·that·the·argument·must·be·UTF-8."><title>var·in·proc_macro::tracked_env·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·proc_macro::tracked_env</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">tracked_env</a>::<wbr><a·class="fn"·href="#">var</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/proc_macro/lib.rs.html#1534-1540">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·var&lt;K:·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a>&lt;<a·class="struct"·href="../../std/ffi/os_str/struct.OsStr.html"·title="struct·std::ffi::os_str::OsStr">OsStr</a>&gt;·+·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a>&lt;<a·class="primitive"·href="../../std/primitive.str.ht[·...·truncated·by·diffoscope;·len:·279,·SHA:·f4cbd961d68b0395039d11ac9c0c27f62c59345df6631c2150b4305da940190b·...·]/std/env/enum.VarError.html"·title="enum·std::env::VarError">VarError</a>&gt;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_tracked_env</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/99515">#99515</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Retrieve·an·environment·variable·and·add·it·to·build·dependency·info.2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">tracked_env</a>::<wbr><a·class="fn"·href="#">var</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/proc_macro/lib.rs.html#1534-1540">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·var&lt;K:·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a>&lt;<a·class="struct"·href="https://doc.rust-lang.org/1.78.0/std/ffi/os_str/struct.OsStr.html"·title="struct·std::ffi::os_str::OsStr">OsStr</a>&gt;·+·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a>&lt;<a·class="primitive"·href=[·...·truncated·by·diffoscope;·len:·360,·SHA:·79e9b6fcf74e1165071cdd1be217f098382ff75d1da74bca43d3439a781776f8·...·]/std/env/enum.VarError.html"·title="enum·std::env::VarError">VarError</a>&gt;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>proc_macro_tracked_env</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/99515">#99515</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Retrieve·an·environment·variable·and·add·it·to·build·dependency·info.
3 The·build·system·executing·the·compiler·will·know·that·the·variable·was·accessed·during3 The·build·system·executing·the·compiler·will·know·that·the·variable·was·accessed·during
4 compilation,·and·will·be·able·to·rerun·the·build·when·the·value·of·that·variable·changes.4 compilation,·and·will·be·able·to·rerun·the·build·when·the·value·of·that·variable·changes.
5 Besides·the·dependency·tracking·this·function·should·be·equivalent·to·<code>env::var</code>·from·the5 Besides·the·dependency·tracking·this·function·should·be·equivalent·to·<code>env::var</code>·from·the
6 standard·library,·except·that·the·argument·must·be·UTF-8.</p>6 standard·library,·except·that·the·argument·must·be·UTF-8.</p>
7 </div></details></section></div></main></body></html>7 </div></details></section></div></main></body></html>
6.95 KB
./usr/share/doc/rust-web-doc/html/proc_macro/tracked_path/fn.path.html
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Track·a·file·explicitly."><title>path·in·proc_macro::tracked_path·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·proc_macro::tracked_path</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Track·a·file·explicitly."><title>path·in·proc_macro::tracked_path·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="proc_macro"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../proc_macro/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_macro</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·proc_macro::tracked_path</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">tracked_path</a>::<wbr><a·class="fn"·href="#">path</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/proc_macro/lib.rs.html#1551-1554">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·path&lt;P:·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a>&lt;<a·class="primitive"·href="../../std/primitive.str.html">str</a>&gt;&gt;(path:·P)</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>track_path</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/99515">#99515</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Track·a·file·explicitly.</p>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../proc_macro/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">tracked_path</a>::<wbr><a·class="fn"·href="#">path</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/proc_macro/lib.rs.html#1551-1554">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·path&lt;P:·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>&gt;&gt;(path:·P)</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>track_path</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/99515">#99515</a>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Track·a·file·explicitly.</p>
3 <p>Commonly·used·for·tracking·asset·preprocessing.</p>3 <p>Commonly·used·for·tracking·asset·preprocessing.</p>
4 </div></details></section></div></main></body></html>4 </div></details></section></div></main></body></html>
6.54 KB
./usr/share/doc/rust-web-doc/html/test/bench/fn.benchmark.html
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`benchmark`·fn·in·crate·`test`."><title>benchmark·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`benchmark`·fn·in·crate·`test`."><title>benchmark·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="fn"·href="#">benchmark</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#191-235">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·benchmark&lt;F&gt;(2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="fn"·href="#">benchmark</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#191-235">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·benchmark&lt;F&gt;(
3 ····id:·<a·class="struct"·href="../test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>,3 ····id:·<a·class="struct"·href="../test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>,
4 ····desc:·<a·class="struct"·href="../test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,4 ····desc:·<a·class="struct"·href="../test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,
5 ····monitor_ch:·<a·class="struct"·href="../../std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a>&lt;CompletedTest&gt;,5 ····monitor_ch:·<a·class="struct"·href="https://doc.rust-lang.org/1.78.0/std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a>&lt;CompletedTest&gt;,
6 ····nocapture:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,6 ····nocapture:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
7 ····f:·F7 ····f:·F
8 )<div·class="where">where8 )<div·class="where">where
9 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,</div></code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>9 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,</div></code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>
6.36 KB
./usr/share/doc/rust-web-doc/html/test/bench/fn.iter.html
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`iter`·fn·in·crate·`test`."><title>iter·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`iter`·fn·in·crate·`test`."><title>iter·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="fn"·href="#">iter</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#122-189">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·iter&lt;T,·F&gt;(inner:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·F</a>)·-&gt;·<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a><div·class="where">where2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="fn"·href="#">iter</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#122-189">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·iter&lt;T,·F&gt;(inner:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·F</a>)·-&gt;·<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a><div·class="where">where
3 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>()·-&gt;·T,</div></code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>3 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>()·-&gt;·T,</div></code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>
7.71 KB
./usr/share/doc/rust-web-doc/html/test/bench/fn.run_once.html
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`run_once`·fn·in·crate·`test`."><title>run_once·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`run_once`·fn·in·crate·`test`."><title>run_once·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="fn"·href="#">run_once</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#237-243">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·run_once&lt;F&gt;(f:·F)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;<div·class="where">where2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="fn"·href="#">run_once</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#237-243">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·run_once&lt;F&gt;(f:·F)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;<div·class="where">where
3 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,</div></code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>3 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,</div></code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>
39.3 KB
./usr/share/doc/rust-web-doc/html/test/bench/struct.BenchSamples.html
    
Offset 1, 18 lines modifiedOffset 1, 18 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`BenchSamples`·struct·in·crate·`test`."><title>BenchSamples·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">BenchSamples</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.mb_s">mb_s</a></li><li><a·href="#structfield.ns_iter_summ">ns_iter_summ</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-BenchSamples">Clone</a></li><li><a·href="#impl-Debug-for-BenchSamples">Debug</a></li><li><a·href="#impl-PartialEq-for-BenchSamples">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-BenchSamples">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-BenchSamples">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-BenchSamples">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-BenchSamples">Send</a></li><li><a·href="#impl-Sync-for-BenchSamples">Sync</a></li><li><a·href="#impl-Unpin-for-BenchSamples">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-BenchSamples">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`BenchSamples`·struct·in·crate·`test`."><title>BenchSamples·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">BenchSamples</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.mb_s">mb_s</a></li><li><a·href="#structfield.ns_iter_summ">ns_iter_summ</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-BenchSamples">Clone</a></li><li><a·href="#impl-Debug-for-BenchSamples">Debug</a></li><li><a·href="#impl-PartialEq-for-BenchSamples">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-BenchSamples">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-BenchSamples">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-BenchSamples">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-BenchSamples">Send</a></li><li><a·href="#impl-Sync-for-BenchSamples">Sync</a></li><li><a·href="#impl-Unpin-for-BenchSamples">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-BenchSamples">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="struct"·href="#">BenchSamples</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#62-65">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·BenchSamples·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="struct"·href="#">BenchSamples</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#62-65">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·BenchSamples·{
3 ····pub·ns_iter_summ:·<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>,3 ····pub·ns_iter_summ:·<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>,
4 ····pub·mb_s:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,4 ····pub·mb_s:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.ns_iter_summ"·class="structfield·section-header"><a·href="#structfield.ns_iter_summ"·class="anchor·field">§</a><code>ns_iter_summ:·<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.mb_s"·class="structfield·section-header"><a·href="#structfield.mb_s"·class="anchor·field">§</a><code>mb_s:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="trait-implementations"·class[·...·truncated·by·diffoscope;·len:·4372,·SHA:·e322ad70173166473d922242671058d1666724e54532764cdd513a654168da21·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.ns_iter_summ"·class="structfield·section-header"><a·href="#structfield.ns_iter_summ"·class="anchor·field">§</a><code>ns_iter_summ:·<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.mb_s"·class="structfield·section-header"><a·href="#structfield.mb_s"·class="anchor·field">§</a><code>mb_s:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="t[·...·truncated·by·diffoscope;·len:·4453,·SHA:·83c20608530677850037cbc991905a6f95b45057d9ac0d66c853619270880646·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
6 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always6 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
7 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-StructuralPartialEq-for-BenchSamples"·class="impl"><a·class="src·rightside"·href="../../src/test/bench.rs.html#61">source</a><a·href="#impl-StructuralPartialEq-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-BenchSamples"·class="impl"><a·href="#impl-Freeze-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-RefUnwindSafe-for-BenchSamples"·class="impl"><a·href="#impl-RefUnwindSafe-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-Send-for-BenchSamples"·class="impl"><a·href="#impl-Send-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-Sync-for-BenchSamples"·class="impl"><a·href="#impl-Sync-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-Unpin-for-BenchSamples"·class="impl"><a·href="#impl-Unpin-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-UnwindSafe-for-BenchSamples"·class="impl"><a·href="#impl-UnwindSafe-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where7 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-StructuralPartialEq-for-BenchSamples"·class="impl"><a·class="src·rightside"·href="../../src/test/bench.rs.html#61">source</a><a·href="#impl-StructuralPartialEq-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-BenchSamples"·class="impl"><a·href="#impl-Freeze-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-RefUnwindSafe-for-BenchSamples"·class="impl"><a·href="#impl-RefUnwindSafe-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-Send-for-BenchSamples"·class="impl"><a·href="#impl-Send-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-Sync-for-BenchSamples"·class="impl"><a·href="#impl-Sync-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-Unpin-for-BenchSamples"·class="impl"><a·href="#impl-Unpin-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section><section·id="impl-UnwindSafe-for-BenchSamples"·class="impl"><a·href="#impl-UnwindSafe-for-BenchSamples"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
8 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where8 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
9 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where9 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
10 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>10 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
12 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>12 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
13 <p>That·is,·this·conversion·is·whatever·the·implementation·of13 <p>That·is,·this·conversion·is·whatever·the·implementation·of
14 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>14 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
16 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where16 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where17 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
18 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>18 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
38.2 KB
./usr/share/doc/rust-web-doc/html/test/bench/struct.Bencher.html
    
Offset 1, 23 lines modifiedOffset 1, 23 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Manager·of·the·benchmarking·runs."><title>Bencher·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Bencher</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bytes">bytes</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.bench">bench</a></li><li><a·href="#method.iter">iter</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Bencher">Clone</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Bencher">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Bencher">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Bencher">Send</a></li><li><a·href="#impl-Sync-for-Bencher">Sync</a></li><li><a·href="#impl-Unpin-for-Bencher">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Bencher">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Manager·of·the·benchmarking·runs."><title>Bencher·in·test::bench·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Bencher</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bytes">bytes</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.bench">bench</a></li><li><a·href="#method.iter">iter</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Bencher">Clone</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Bencher">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Bencher">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Bencher">Send</a></li><li><a·href="#impl-Sync-for-Bencher">Sync</a></li><li><a·href="#impl-Unpin-for-Bencher">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Bencher">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::bench</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="struct"·href="#">Bencher</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#32-36">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Bencher·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a>::<wbr><a·class="struct"·href="#">Bencher</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/bench.rs.html#32-36">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Bencher·{
3 ····pub·bytes:·<a·class="primitive"·href="../../std/primitive.u64.html">u64</a>,3 ····pub·bytes:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u64.html">u64</a>,
4 ····<span·class="comment">/*·private·fields·*/</span>4 ····<span·class="comment">/*·private·fields·*/</span>
5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Manager·of·the·benchmarking·runs.</p>5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Manager·of·the·benchmarking·runs.</p>
6 <p>This·is·fed·into·functions·marked·with·<code>#[bench]</code>·to·allow·for6 <p>This·is·fed·into·functions·marked·with·<code>#[bench]</code>·to·allow·for
7 set-up·&amp;·tear-down·before·running·a·piece·of·code·repeatedly·via·a7 set-up·&amp;·tear-down·before·running·a·piece·of·code·repeatedly·via·a
8 call·to·<code>iter</code>.</p>8 call·to·<code>iter</code>.</p>
9 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.bytes"·class="structfield·section-header"><a·href="#structfield.bytes"·class="anchor·field">§</a><code>bytes:·<a·class="primitive"·href="../../std/primitive.u64.html">u64</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Bencher"·class="impl"><a·class="src·rightside"·href="../../src/test/bench.rs.html#38-59">source</a><a·href="#impl-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.iter"·class="method"><a·class="src·rightside"·href="../../src/test/bench.rs.html#40-50">source</a><h4·class="code-header">pub·fn·<a·href="#method.iter"·class="fn">iter</a>&lt;T,·F&gt;(&amp;mut·self,·inner:·F)<div·class="where">where9 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.bytes"·class="structfield·section-header"><a·href="#structfield.bytes"·class="anchor·field">§</a><code>bytes:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u64.html">u64</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Bencher"·class="impl"><a·class="src·rightside"·href="../../src/test/bench.rs.html#38-59">source</a><a·href="#impl-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.iter"·class="method"><a·class="src·rightside"·href="../../src/test/bench.rs.html#40-50">source</a><h4·class="code-header">pub·fn·<a·href="#method.iter"·class="fn">iter</a>&lt;T,·F&gt;(&amp;mut·self,·inner:·F)<div·class="where">where
10 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>()·-&gt;·T,</div></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Callback·for·benchmark·functions·to·run·in·their·body.</p>10 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>()·-&gt;·T,</div></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Callback·for·benchmark·functions·to·run·in·their·body.</p>
11 </div></details><section·id="method.bench"·class="method"><a·class="src·rightside"·href="../../src/test/bench.rs.html#52-58">source</a><h4·class="code-header">pub·fn·<a·href="#method.bench"·class="fn">bench</a>&lt;F&gt;(&amp;mut·self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>&gt;,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;<div·class="where">where11 </div></details><section·id="method.bench"·class="method"><a·class="src·rightside"·href="../../src/test/bench.rs.html#52-58">source</a><h4·class="code-header">pub·fn·<a·href="#method.bench"·class="fn">bench</a>&lt;F&gt;(&amp;mut·self,·f:·F)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>&gt;,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;<div·class="where">where
12 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,</div></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><s[·...·truncated·by·diffoscope;·len:·1890,·SHA:·0258df8fcf426d4f8fd9679cbd33db71a448bda83862055d81fa1af13cf5d0a0·...·]/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Bencher"·class="impl"><a·href="#impl-Freeze-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-RefUnwindSafe-for-Bencher"·class="impl"><a·href="#impl-RefUnwindSafe-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-Send-for-Bencher"·class="impl"><a·href="#impl-Send-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-Sync-for-Bencher"·class="impl"><a·href="#impl-Sync-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-Unpin-for-Bencher"·class="impl"><a·href="#impl-Unpin-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-UnwindSafe-for-Bencher"·class="impl"><a·href="#impl-UnwindSafe-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where12 ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&amp;mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,</div></h4></section><span·class="item-info"><div·class="stab·unstable"><sp[·...·truncated·by·diffoscope;·len:·1944,·SHA:·9d4e6a35791e6a3097052225f7353634d7dc4ad62aa401a0d04e02ba2d4a9bb6·...·]/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Bencher"·class="impl"><a·href="#impl-Freeze-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-RefUnwindSafe-for-Bencher"·class="impl"><a·href="#impl-RefUnwindSafe-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-Send-for-Bencher"·class="impl"><a·href="#impl-Send-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-Sync-for-Bencher"·class="impl"><a·href="#impl-Sync-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-Unpin-for-Bencher"·class="impl"><a·href="#impl-Unpin-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section><section·id="impl-UnwindSafe-for-Bencher"·class="impl"><a·href="#impl-UnwindSafe-for-Bencher"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
13 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where13 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
14 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where14 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
15 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>15 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
16 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where16 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>17 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
18 <p>That·is,·this·conversion·is·whatever·the·implementation·of18 <p>That·is,·this·conversion·is·whatever·the·implementation·of
19 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>19 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
20 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where20 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
21 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where21 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where22 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
23 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>23 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
40.1 KB
./usr/share/doc/rust-web-doc/html/test/enum.ColorConfig.html
    
Offset 1, 18 lines modifiedOffset 1, 18 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·should·console·output·be·colored·or·not"><title>ColorConfig·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">ColorConfig</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlwaysColor">AlwaysColor</a></li><li><a·href="#variant.AutoColor">AutoColor</a></li><li><a·href="#variant.NeverColor">NeverColor</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-ColorConfig">Clone</a></li><li><a·href="#impl-Copy-for-ColorConfig">Copy</a></li><li><a·href="#impl-Debug-for-ColorConfig">Debug</a></li><li><a·href="#impl-Default-for-ColorConfig">Default</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-ColorConfig">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ColorConfig">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ColorConfig">Send</a></li><li><a·href="#impl-Sync-for-ColorConfig">Sync</a></li><li><a·href="#impl-Unpin-for-ColorConfig">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ColorConfig">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·should·console·output·be·colored·or·not"><title>ColorConfig·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">ColorConfig</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlwaysColor">AlwaysColor</a></li><li><a·href="#variant.AutoColor">AutoColor</a></li><li><a·href="#variant.NeverColor">NeverColor</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-ColorConfig">Clone</a></li><li><a·href="#impl-Copy-for-ColorConfig">Copy</a></li><li><a·href="#impl-Debug-for-ColorConfig">Debug</a></li><li><a·href="#impl-Default-for-ColorConfig">Default</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-ColorConfig">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ColorConfig">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ColorConfig">Send</a></li><li><a·href="#impl-Sync-for-ColorConfig">Sync</a></li><li><a·href="#impl-Unpin-for-ColorConfig">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ColorConfig">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">ColorConfig</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/options.rs.html#20-25">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·ColorConfig·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">ColorConfig</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/options.rs.html#20-25">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·ColorConfig·{
3 ····AutoColor,3 ····AutoColor,
4 ····AlwaysColor,4 ····AlwaysColor,
5 ····NeverColor,5 ····NeverColor,
6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·should·console·output·be·colored·or·not</p>6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·should·console·output·be·colored·or·not</p>
7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.AutoColor"·class="variant"><a·href="#variant.AutoColor"·class="anchor">§</a><h3·class="code-header">AutoColor</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.AlwaysColor"·class="variant"><a·href="#variant.AlwaysColor"·class="anchor">§</a><h3·class="code-header">AlwaysColor</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.NeverColor"·class="variant"><a·href="#variant.NeverColor"·class="anchor">§</a><h3·class="code-header">NeverColor</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-ColorConfig"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#impl-Clone-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-ColorConfig"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#impl-Debug-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Default-for-ColorConfig"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#impl-Default-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.default"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#method.default"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/default/trait.Default.html#tymethod.default"·class="fn">default</a>()·-&gt;·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h4></section></summary><div·class='docblock'>Returns·the·“default·value”·for·a·type.·<a·href="../core/default/trait.Default.html#tymethod.default">Read·more</a></div></details></div></details><section·id="impl-Copy-for-ColorConfig"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#impl-Copy-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-ColorConfig"·class="impl"><a·href="#impl-Freeze-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-RefUnwindSafe-for-ColorConfig"·class="impl"><a·href="#impl-RefUnwindSafe-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-Send-for-ColorConfig"·class="impl"><a·href="#impl-Send-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-Sync-for-ColorConfig"·class="impl"><a·href="#impl-Sync-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-Unpin-for-ColorConfig"·class="impl"><a·href="#impl-Unpin-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-UnwindSafe-for-ColorConfig"·class="impl"><a·href="#impl-UnwindSafe-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.AutoColor"·class="variant"><a·href="#variant.AutoColor"·class="anchor">§</a><h3·class="code-header">AutoColor</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.AlwaysColor"·class="variant"><a·href="#variant.AlwaysColor"·class="anchor">§</a><h3·class="code-header">AlwaysColor</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.NeverColor"·class="variant"><a·href="#variant.NeverColor"·class="anchor">§</a><h3·class="code-header">NeverColor</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-ColorConfig"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#impl-Clone-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-ColorConfig"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#impl-Debug-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Default-for-ColorConfig"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#impl-Default-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/default/trait.Default.html"·title="trait·core::default::Default">Default</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.default"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#method.default"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/default/trait.Default.html#tymethod.default"·class="fn">default</a>()·-&gt;·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h4></section></summary><div·class='docblock'>Returns·the·“default·value”·for·a·type.·<a·href="../core/default/trait.Default.html#tymethod.default">Read·more</a></div></details></div></details><section·id="impl-Copy-for-ColorConfig"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#19">source</a><a·href="#impl-Copy-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-ColorConfig"·class="impl"><a·href="#impl-Freeze-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-RefUnwindSafe-for-ColorConfig"·class="impl"><a·href="#impl-RefUnwindSafe-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-Send-for-ColorConfig"·class="impl"><a·href="#impl-Send-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-Sync-for-ColorConfig"·class="impl"><a·href="#impl-Sync-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-Unpin-for-ColorConfig"·class="impl"><a·href="#impl-Unpin-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section><section·id="impl-UnwindSafe-for-ColorConfig"·class="impl"><a·href="#impl-UnwindSafe-for-ColorConfig"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
8 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where8 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
9 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where9 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
10 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>10 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
12 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>12 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
13 <p>That·is,·this·conversion·is·whatever·the·implementation·of13 <p>That·is,·this·conversion·is·whatever·the·implementation·of
14 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>14 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
16 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where16 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where17 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
18 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>18 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
43.5 KB
./usr/share/doc/rust-web-doc/html/test/enum.NamePadding.html
    
Offset 1, 20 lines modifiedOffset 1, 20 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`NamePadding`·enum·in·crate·`test`."><title>NamePadding·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">NamePadding</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.PadNone">PadNone</a></li><li><a·href="#variant.PadOnRight">PadOnRight</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-NamePadding">Clone</a></li><li><a·href="#impl-Copy-for-NamePadding">Copy</a></li><li><a·href="#impl-Debug-for-NamePadding">Debug</a></li><li><a·href="#impl-Eq-for-NamePadding">Eq</a></li><li><a·href="#impl-Hash-for-NamePadding">Hash</a></li><li><a·href="#impl-PartialEq-for-NamePadding">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-NamePadding">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-NamePadding">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-NamePadding">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-NamePadding">Send</a></li><li><a·href="#impl-Sync-for-NamePadding">Sync</a></li><li><a·href="#impl-Unpin-for-NamePadding">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-NamePadding">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`NamePadding`·enum·in·crate·`test`."><title>NamePadding·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">NamePadding</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.PadNone">PadNone</a></li><li><a·href="#variant.PadOnRight">PadOnRight</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-NamePadding">Clone</a></li><li><a·href="#impl-Copy-for-NamePadding">Copy</a></li><li><a·href="#impl-Debug-for-NamePadding">Debug</a></li><li><a·href="#impl-Eq-for-NamePadding">Eq</a></li><li><a·href="#impl-Hash-for-NamePadding">Hash</a></li><li><a·href="#impl-PartialEq-for-NamePadding">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-NamePadding">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-NamePadding">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-NamePadding">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-NamePadding">Send</a></li><li><a·href="#impl-Sync-for-NamePadding">Sync</a></li><li><a·href="#impl-Unpin-for-NamePadding">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-NamePadding">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">NamePadding</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#32-35">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·NamePadding·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">NamePadding</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#32-35">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·NamePadding·{
3 ····PadNone,3 ····PadNone,
4 ····PadOnRight,4 ····PadOnRight,
5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.PadNone"·class="variant"><a·href="#variant.PadNone"·class="anchor">§</a><h3·class="code-header">PadNone</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.PadOnRight"·class="variant"><a·href="#variant.PadOnRight"·class="anchor">§</a><h3·class="code-header">PadOnRight</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-Clone-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><detail[·...·truncated·by·diffoscope;·len:·3103,·SHA:·5e135d5e9298ee8f0eb0cc815104cee9161d148d42c9301e14434919f1394110·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.PadNone"·class="variant"><a·href="#variant.PadNone"·class="anchor">§</a><h3·class="code-header">PadNone</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.PadOnRight"·class="variant"><a·href="#variant.PadOnRight"·class="anchor">§</a><h3·class="code-header">PadOnRight</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-Clone-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></d[·...·truncated·by·diffoscope;·len:·3223,·SHA:·854e7cb6acc25a260b08dd734a3f19fc7c6f4ab0f3195b94bd4883ce0fcefc56·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
6 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,6 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
7 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-PartialEq-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used7 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-PartialEq-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
8 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always8 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
9 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-Copy-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-Eq-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-Eq-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-StructuralPartialEq-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-StructuralPartialEq-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-NamePadding"·class="impl"><a·href="#impl-Freeze-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-RefUnwindSafe-for-NamePadding"·class="impl"><a·href="#impl-RefUnwindSafe-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-Send-for-NamePadding"·class="impl"><a·href="#impl-Send-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-Sync-for-NamePadding"·class="impl"><a·href="#impl-Sync-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-Unpin-for-NamePadding"·class="impl"><a·href="#impl-Unpin-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-UnwindSafe-for-NamePadding"·class="impl"><a·href="#impl-UnwindSafe-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where9 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-Copy-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-Eq-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-Eq-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-StructuralPartialEq-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#31">source</a><a·href="#impl-StructuralPartialEq-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-NamePadding"·class="impl"><a·href="#impl-Freeze-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-RefUnwindSafe-for-NamePadding"·class="impl"><a·href="#impl-RefUnwindSafe-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-Send-for-NamePadding"·class="impl"><a·href="#impl-Send-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-Sync-for-NamePadding"·class="impl"><a·href="#impl-Sync-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-Unpin-for-NamePadding"·class="impl"><a·href="#impl-Unpin-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section><section·id="impl-UnwindSafe-for-NamePadding"·class="impl"><a·href="#impl-UnwindSafe-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
10 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where10 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
11 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where11 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
12 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>12 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
14 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>14 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
15 <p>That·is,·this·conversion·is·whatever·the·implementation·of15 <p>That·is,·this·conversion·is·whatever·the·implementation·of
16 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>16 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
17 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where17 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
18 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where18 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
19 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where19 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
20 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>20 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
35.4 KB
./usr/share/doc/rust-web-doc/html/test/enum.OutputFormat.html
    
Offset 5, 21 lines modifiedOffset 5, 21 lines modified
5 ····Json,5 ····Json,
6 ····Junit,6 ····Junit,
7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Format·of·the·test·results·output</p>7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Format·of·the·test·results·output</p>
8 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.Pretty"·class="variant"><a·href="#variant.Pretty"·class="anchor">§</a><h3·class="code-header">Pretty</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Verbose·output</p>8 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.Pretty"·class="variant"><a·href="#variant.Pretty"·class="anchor">§</a><h3·class="code-header">Pretty</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Verbose·output</p>
9 </div><section·id="variant.Terse"·class="variant"><a·href="#variant.Terse"·class="anchor">§</a><h3·class="code-header">Terse</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Quiet·output</p>9 </div><section·id="variant.Terse"·class="variant"><a·href="#variant.Terse"·class="anchor">§</a><h3·class="code-header">Terse</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Quiet·output</p>
10 </div><section·id="variant.Json"·class="variant"><a·href="#variant.Json"·class="anchor">§</a><h3·class="code-header">Json</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>JSON·output</p>10 </div><section·id="variant.Json"·class="variant"><a·href="#variant.Json"·class="anchor">§</a><h3·class="code-header">Json</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>JSON·output</p>
11 </div><section·id="variant.Junit"·class="variant"><a·href="#variant.Junit"·class="anchor">§</a><h3·class="code-header">Junit</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>JUnit·output</p>11 </div><section·id="variant.Junit"·class="variant"><a·href="#variant.Junit"·class="anchor">§</a><h3·class="code-header">Junit</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>JUnit·output</p>
12 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Clone-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><detail[·...·truncated·by·diffoscope;·len:·3427,·SHA:·18787bcad2e975de39adc2eadc307c7c1436f3cc094c37e9cdaea940f15b8ceb·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used12 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Clone-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></d[·...·truncated·by·diffoscope;·len:·3487,·SHA:·79f54d788962b9a9c3c3b64523f1e1da3810aac3f99346803beeb408604fd477·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
13 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always13 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
14 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Copy-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-Eq-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Eq-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-StructuralPartialEq-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-StructuralPartialEq-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-OutputFormat"·class="impl"><a·href="#impl-Freeze-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-RefUnwindSafe-for-OutputFormat"·class="impl"><a·href="#impl-RefUnwindSafe-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-Send-for-OutputFormat"·class="impl"><a·href="#impl-Send-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-Sync-for-OutputFormat"·class="impl"><a·href="#impl-Sync-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-Unpin-for-OutputFormat"·class="impl"><a·href="#impl-Unpin-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-UnwindSafe-for-OutputFormat"·class="impl"><a·href="#impl-UnwindSafe-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where14 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Copy-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-Eq-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Eq-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-StructuralPartialEq-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-StructuralPartialEq-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-OutputFormat"·class="impl"><a·href="#impl-Freeze-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-RefUnwindSafe-for-OutputFormat"·class="impl"><a·href="#impl-RefUnwindSafe-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-Send-for-OutputFormat"·class="impl"><a·href="#impl-Send-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-Sync-for-OutputFormat"·class="impl"><a·href="#impl-Sync-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-Unpin-for-OutputFormat"·class="impl"><a·href="#impl-Unpin-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section><section·id="impl-UnwindSafe-for-OutputFormat"·class="impl"><a·href="#impl-UnwindSafe-for-OutputFormat"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
15 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where15 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
16 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where16 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
17 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>17 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
19 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>19 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
20 <p>That·is,·this·conversion·is·whatever·the·implementation·of20 <p>That·is,·this·conversion·is·whatever·the·implementation·of
21 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>21 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
22 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where22 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
23 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where23 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
24 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where24 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
25 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>25 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
38.5 KB
./usr/share/doc/rust-web-doc/html/test/enum.RunIgnored.html
    
Offset 1, 21 lines modifiedOffset 1, 21 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·ignored·test·should·be·run·or·not"><title>RunIgnored·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">RunIgnored</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No">No</a></li><li><a·href="#variant.Only">Only</a></li><li><a·href="#variant.Yes">Yes</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-RunIgnored">Clone</a></li><li><a·href="#impl-Copy-for-RunIgnored">Copy</a></li><li><a·href="#impl-Debug-for-RunIgnored">Debug</a></li><li><a·href="#impl-Eq-for-RunIgnored">Eq</a></li><li><a·href="#impl-PartialEq-for-RunIgnored">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-RunIgnored">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-RunIgnored">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-RunIgnored">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-RunIgnored">Send</a></li><li><a·href="#impl-Sync-for-RunIgnored">Sync</a></li><li><a·href="#impl-Unpin-for-RunIgnored">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-RunIgnored">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·ignored·test·should·be·run·or·not"><title>RunIgnored·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">RunIgnored</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No">No</a></li><li><a·href="#variant.Only">Only</a></li><li><a·href="#variant.Yes">Yes</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-RunIgnored">Clone</a></li><li><a·href="#impl-Copy-for-RunIgnored">Copy</a></li><li><a·href="#impl-Debug-for-RunIgnored">Debug</a></li><li><a·href="#impl-Eq-for-RunIgnored">Eq</a></li><li><a·href="#impl-PartialEq-for-RunIgnored">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-RunIgnored">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-RunIgnored">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-RunIgnored">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-RunIgnored">Send</a></li><li><a·href="#impl-Sync-for-RunIgnored">Sync</a></li><li><a·href="#impl-Unpin-for-RunIgnored">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-RunIgnored">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">RunIgnored</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/options.rs.html#43-48">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·RunIgnored·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">RunIgnored</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/options.rs.html#43-48">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·RunIgnored·{
3 ····Yes,3 ····Yes,
4 ····No,4 ····No,
5 ····Only,5 ····Only,
6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·ignored·test·should·be·run·or·not</p>6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·ignored·test·should·be·run·or·not</p>
7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.Yes"·class="variant"><a·href="#variant.Yes"·class="anchor">§</a><h3·class="code-header">Yes</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.No"·class="variant"><a·href="#variant.No"·class="anchor">§</a><h3·class="code-header">No</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.Only"·class="variant"><a·href="#variant.Only"·class="anchor">§</a><h3·class="code-header">Only</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Run·only·ignored·tests</p>7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.Yes"·class="variant"><a·href="#variant.Yes"·class="anchor">§</a><h3·class="code-header">Yes</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.No"·class="variant"><a·href="#variant.No"·class="anchor">§</a><h3·class="code-header">No</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.Only"·class="variant"><a·href="#variant.Only"·class="anchor">§</a><h3·class="code-header">Only</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Run·only·ignored·tests</p>
8 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-Clone-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><detail[·...·truncated·by·diffoscope;·len:·2267,·SHA:·b34ccc7f8174b105c77e43279bf2600f4f07da4d1cf596c92711fc3f152a60fd·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used8 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-Clone-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></d[·...·truncated·by·diffoscope;·len:·2327,·SHA:·4216516def670a4d5d086347f31068094867165e6db2049e2aa0c2e6aa0b9bbf·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
9 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always9 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
10 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-Copy-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Eq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-Eq-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-StructuralPartialEq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-StructuralPartialEq-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-RunIgnored"·class="impl"><a·href="#impl-Freeze-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-RefUnwindSafe-for-RunIgnored"·class="impl"><a·href="#impl-RefUnwindSafe-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Send-for-RunIgnored"·class="impl"><a·href="#impl-Send-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Sync-for-RunIgnored"·class="impl"><a·href="#impl-Sync-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Unpin-for-RunIgnored"·class="impl"><a·href="#impl-Unpin-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-UnwindSafe-for-RunIgnored"·class="impl"><a·href="#impl-UnwindSafe-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where10 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-Copy-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Eq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-Eq-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-StructuralPartialEq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-StructuralPartialEq-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-RunIgnored"·class="impl"><a·href="#impl-Freeze-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-RefUnwindSafe-for-RunIgnored"·class="impl"><a·href="#impl-RefUnwindSafe-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Send-for-RunIgnored"·class="impl"><a·href="#impl-Send-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Sync-for-RunIgnored"·class="impl"><a·href="#impl-Sync-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Unpin-for-RunIgnored"·class="impl"><a·href="#impl-Unpin-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-UnwindSafe-for-RunIgnored"·class="impl"><a·href="#impl-UnwindSafe-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
11 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where11 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
12 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where12 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
13 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>13 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
15 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>15 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
16 <p>That·is,·this·conversion·is·whatever·the·implementation·of16 <p>That·is,·this·conversion·is·whatever·the·implementation·of
17 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>17 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
19 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where19 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
20 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where20 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
21 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>21 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
44.8 KB
./usr/share/doc/rust-web-doc/html/test/enum.ShouldPanic.html
    
Offset 1, 22 lines modifiedOffset 1, 22 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·test·is·expected·to·panic·or·not"><title>ShouldPanic·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">ShouldPanic</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No">No</a></li><li><a·href="#variant.Yes">Yes</a></li><li><a·href="#variant.YesWithMessage">YesWithMessage</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-ShouldPanic">Clone</a></li><li><a·href="#impl-Copy-for-ShouldPanic">Copy</a></li><li><a·href="#impl-Debug-for-ShouldPanic">Debug</a></li><li><a·href="#impl-Eq-for-ShouldPanic">Eq</a></li><li><a·href="#impl-Hash-for-ShouldPanic">Hash</a></li><li><a·href="#impl-PartialEq-for-ShouldPanic">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-ShouldPanic">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-ShouldPanic">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ShouldPanic">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ShouldPanic">Send</a></li><li><a·href="#impl-Sync-for-ShouldPanic">Sync</a></li><li><a·href="#impl-Unpin-for-ShouldPanic">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ShouldPanic">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·test·is·expected·to·panic·or·not"><title>ShouldPanic·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">ShouldPanic</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No">No</a></li><li><a·href="#variant.Yes">Yes</a></li><li><a·href="#variant.YesWithMessage">YesWithMessage</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-ShouldPanic">Clone</a></li><li><a·href="#impl-Copy-for-ShouldPanic">Copy</a></li><li><a·href="#impl-Debug-for-ShouldPanic">Debug</a></li><li><a·href="#impl-Eq-for-ShouldPanic">Eq</a></li><li><a·href="#impl-Hash-for-ShouldPanic">Hash</a></li><li><a·href="#impl-PartialEq-for-ShouldPanic">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-ShouldPanic">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-ShouldPanic">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ShouldPanic">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ShouldPanic">Send</a></li><li><a·href="#impl-Sync-for-ShouldPanic">Sync</a></li><li><a·href="#impl-Unpin-for-ShouldPanic">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ShouldPanic">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">ShouldPanic</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/options.rs.html#12-16">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·ShouldPanic·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">ShouldPanic</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/options.rs.html#12-16">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·ShouldPanic·{
3 ····No,3 ····No,
4 ····Yes,4 ····Yes,
5 ····YesWithMessage(&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>),5 ····YesWithMessage(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>),
6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·test·is·expected·to·panic·or·not</p>6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·test·is·expected·to·panic·or·not</p>
7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.No"·class="variant"><a·href="#variant.No"·class="anchor">§</a><h3·class="code-header">No</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.Yes"·class="variant"><a·href="#variant.Yes"·class="anchor">§</a><h3·class="code-header">Yes</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.YesWithMessage"·class="variant"><a·href="#variant.YesWithMessage"·class="anchor">§</a><h3·class="code-header">YesWithMessage(&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="trait-implementations"·clas[·...·truncated·by·diffoscope;·len:·5144,·SHA:·a7f81d7c9ddc3a8adfcca6aace1a595169ae228ebfa335c426941bb41af54c90·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.No"·class="variant"><a·href="#variant.No"·class="anchor">§</a><h3·class="code-header">No</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.Yes"·class="variant"><a·href="#variant.Yes"·class="anchor">§</a><h3·class="code-header">Yes</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.YesWithMessage"·class="variant"><a·href="#variant.YesWithMessage"·class="anchor">§</a><h3·class="code-header">YesWithMessage(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·i[·...·truncated·by·diffoscope;·len:·5294,·SHA:·f65bce3cf6b66e728c13b9ff3787c8623ef6e28d255deb784267391f866facbd·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
8 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,8 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
9 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#impl-PartialEq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used9 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#impl-PartialEq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
10 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always10 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
11 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#impl-Copy-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Eq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#impl-Eq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-StructuralPartialEq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#impl-StructuralPartialEq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-ShouldPanic"·class="impl"><a·href="#impl-Freeze-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-RefUnwindSafe-for-ShouldPanic"·class="impl"><a·href="#impl-RefUnwindSafe-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Send-for-ShouldPanic"·class="impl"><a·href="#impl-Send-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Sync-for-ShouldPanic"·class="impl"><a·href="#impl-Sync-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Unpin-for-ShouldPanic"·class="impl"><a·href="#impl-Unpin-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-UnwindSafe-for-ShouldPanic"·class="impl"><a·href="#impl-UnwindSafe-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where11 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#impl-Copy-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Eq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#impl-Eq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-StructuralPartialEq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#11">source</a><a·href="#impl-StructuralPartialEq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-ShouldPanic"·class="impl"><a·href="#impl-Freeze-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-RefUnwindSafe-for-ShouldPanic"·class="impl"><a·href="#impl-RefUnwindSafe-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Send-for-ShouldPanic"·class="impl"><a·href="#impl-Send-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Sync-for-ShouldPanic"·class="impl"><a·href="#impl-Sync-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Unpin-for-ShouldPanic"·class="impl"><a·href="#impl-Unpin-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-UnwindSafe-for-ShouldPanic"·class="impl"><a·href="#impl-UnwindSafe-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
12 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where12 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
13 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where13 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
14 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>14 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
16 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>16 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
17 <p>That·is,·this·conversion·is·whatever·the·implementation·of17 <p>That·is,·this·conversion·is·whatever·the·implementation·of
18 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>18 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
19 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where19 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
20 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where20 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
21 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where21 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>22 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
46.3 KB
./usr/share/doc/rust-web-doc/html/test/enum.TestFn.html
    
Offset 1, 19 lines modifiedOffset 1, 19 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestFn`·enum·in·crate·`test`."><title>TestFn·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestFn</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.DynBenchAsTestFn">DynBenchAsTestFn</a></li><li><a·href="#variant.DynBenchFn">DynBenchFn</a></li><li><a·href="#variant.DynTestFn">DynTestFn</a></li><li><a·href="#variant.StaticBenchAsTestFn">StaticBenchAsTestFn</a></li><li><a·href="#variant.StaticBenchFn">StaticBenchFn</a></li><li><a·href="#variant.StaticTestFn">StaticTestFn</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padding">padding</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestFn">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-RefUnwindSafe-for-TestFn">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestFn">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestFn">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestFn">Freeze</a></li><li><a·href="#impl-Send-for-TestFn">Send</a></li><li><a·href="#impl-Unpin-for-TestFn">Unpin</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestFn`·enum·in·crate·`test`."><title>TestFn·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestFn</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.DynBenchAsTestFn">DynBenchAsTestFn</a></li><li><a·href="#variant.DynBenchFn">DynBenchFn</a></li><li><a·href="#variant.DynTestFn">DynTestFn</a></li><li><a·href="#variant.StaticBenchAsTestFn">StaticBenchAsTestFn</a></li><li><a·href="#variant.StaticBenchFn">StaticBenchFn</a></li><li><a·href="#variant.StaticTestFn">StaticTestFn</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padding">padding</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestFn">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-RefUnwindSafe-for-TestFn">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestFn">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestFn">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestFn">Freeze</a></li><li><a·href="#impl-Send-for-TestFn">Send</a></li><li><a·href="#impl-Unpin-for-TestFn">Unpin</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">TestFn</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#85-92">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·TestFn·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">TestFn</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#85-92">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·TestFn·{
3 ····StaticTestFn(<a·class="primitive"·href="../std/primitive.fn.html">fn</a>()·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),3 ····StaticTestFn(<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.fn.html">fn</a>()·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),
4 ····StaticBenchFn(<a·class="primitive"·href="../std/primitive.fn.html">fn</a>(_:·&amp;mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a[·...·truncated·by·diffoscope;·len:·27,·SHA:·9d678f070dc690752cfe71d77c55c910f041972b643b2573a30c86575bed12c1·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),4 ····StaticBenchFn(<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.fn.html">fn</a>(_:·&amp;mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::re[·...·truncated·by·diffoscope;·len:·87,·SHA:·d613639f878653e1998654a117e30ae6fc1f8a56b3699875d80ebac88decc926·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),
5 ····StaticBenchAsTestFn(<a·class="primitive"·href="../std/primitive.fn.html">fn</a>(_:·&amp;mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a[·...·truncated·by·diffoscope;·len:·27,·SHA:·9d678f070dc690752cfe71d77c55c910f041972b643b2573a30c86575bed12c1·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),5 ····StaticBenchAsTestFn(<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.fn.html">fn</a>(_:·&amp;mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::re[·...·truncated·by·diffoscope;·len:·87,·SHA:·d613639f878653e1998654a117e30ae6fc1f8a56b3699875d80ebac88decc926·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),
6 ····DynTestFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a>&lt;dyn·<a·class="trait"·href="../core/ops/function/trait.FnOnce.html"·title="trait·core::ops::function::FnOnce">FnOnce</a>()·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>&gt;),6 ····DynTestFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a>&lt;dyn·<a·class="trait"·href="../core/ops/function/trait.FnOnce.html"·title="trait·core::ops::function::FnOnce">FnOnce</a>()·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>&gt;),
7 ····DynBenchFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a>&lt;dyn·<a·class="trait"·href="../core/ops/function/trait.Fn.html"·title="trait·core::ops::function::Fn">Fn</a>(&amp;mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>&gt;),7 ····DynBenchFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a>&lt;dyn·<a·class="trait"·href="../core/ops/function/trait.Fn.html"·title="trait·core::ops::function::Fn">Fn</a>(&amp;mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>&gt;),
8 ····DynBenchAsTestFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a>&lt;dyn·<a·class="trait"·href="../core/ops/function/trait.Fn.html"·title="trait·core::ops::function::Fn">Fn</a>(&amp;mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>&gt;),8 ····DynBenchAsTestFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a>&lt;dyn·<a·class="trait"·href="../core/ops/function/trait.Fn.html"·title="trait·core::ops::function::Fn">Fn</a>(&amp;mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>&gt;),
9 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.StaticTestFn"·class="variant"><a·href="#variant.StaticTestFn"·class="anchor">§</a><h3·class="code-header">StaticTestFn(<a·class="primitive"·href="../std/primitive.fn.html">fn</a>()·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.St[·...·truncated·by·diffoscope;·len:·4364,·SHA:·3eec9adc972ca0b36cf2e9fb5d14440388b1c08e1a2c5634eeaca630da140312·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>&gt;)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TestFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#94-116">source</a><a·href="#impl-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section></summary><div·class="impl-items"><section·id="method.padding"·class="method"><a·class="src·rightside"·href="../src/test/types.rs.html#95-104">source</a><h4·class="code-header">pub·fn·<a·href="#method.padding"·class="fn">padding</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#118-129">source</a><a·href="#impl-Debug-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#119-128">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestFn"·class="impl"><a·href="#impl-Freeze-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-RefUnwindSafe-for-TestFn"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-Send-for-TestFn"·class="impl"><a·href="#impl-Send-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-Sync-for-TestFn"·class="impl"><a·href="#impl-Sync-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-Unpin-for-TestFn"·class="impl"><a·href="#impl-Unpin-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-UnwindSafe-for-TestFn"·class="impl"><a·href="#impl-UnwindSafe-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where9 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.StaticTestFn"·class="variant"><a·href="#variant.StaticTestFn"·class="anchor">§</a><h3·class="code-header">StaticTestFn(<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.fn.html">fn</a>()·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.htm[·...·truncated·by·diffoscope;·len:·4634,·SHA:·a49612ff4c7d59908947b7991daa6d6d133ea32d7d48a8b069bcba53ad3cf8a2·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>&gt;)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TestFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#94-116">source</a><a·href="#impl-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section></summary><div·class="impl-items"><section·id="method.padding"·class="method"><a·class="src·rightside"·href="../src/test/types.rs.html#95-104">source</a><h4·class="code-header">pub·fn·<a·href="#method.padding"·class="fn">padding</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#118-129">source</a><a·href="#impl-Debug-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#119-128">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestFn"·class="impl"><a·href="#impl-Freeze-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-RefUnwindSafe-for-TestFn"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-Send-for-TestFn"·class="impl"><a·href="#impl-Send-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-Sync-for-TestFn"·class="impl"><a·href="#impl-Sync-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-Unpin-for-TestFn"·class="impl"><a·href="#impl-Unpin-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section><section·id="impl-UnwindSafe-for-TestFn"·class="impl"><a·href="#impl-UnwindSafe-for-TestFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
10 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where10 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
11 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where11 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
12 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>12 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
14 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>14 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
15 <p>That·is,·this·conversion·is·whatever·the·implementation·of15 <p>That·is,·this·conversion·is·whatever·the·implementation·of
16 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>16 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
17 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where17 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
18 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where18 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
19 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>19 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
53.8 KB
./usr/share/doc/rust-web-doc/html/test/enum.TestName.html
    
Offset 1, 22 lines modifiedOffset 1, 22 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestName`·enum·in·crate·`test`."><title>TestName·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestName</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlignedTestName">AlignedTestName</a></li><li><a·href="#variant.DynTestName">DynTestName</a></li><li><a·href="#variant.StaticTestName">StaticTestName</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_slice">as_slice</a></li><li><a·href="#method.padding">padding</a></li><li><a·href="#method.with_padding">with_padding</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestName">Clone</a></li><li><a·href="#impl-Debug-for-TestName">Debug</a></li><li><a·href="#impl-Display-for-TestName">Display</a></li><li><a·href="#impl-Eq-for-TestName">Eq</a></li><li><a·href="#impl-Hash-for-TestName">Hash</a></li><li><a·href="#impl-PartialEq-for-TestName">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestName">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestName">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestName">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestName">Send</a></li><li><a·href="#impl-Sync-for-TestName">Sync</a></li><li><a·href="#impl-Unpin-for-TestName">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestName">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestName`·enum·in·crate·`test`."><title>TestName·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestName</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlignedTestName">AlignedTestName</a></li><li><a·href="#variant.DynTestName">DynTestName</a></li><li><a·href="#variant.StaticTestName">StaticTestName</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_slice">as_slice</a></li><li><a·href="#method.padding">padding</a></li><li><a·href="#method.with_padding">with_padding</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestName">Clone</a></li><li><a·href="#impl-Debug-for-TestName">Debug</a></li><li><a·href="#impl-Display-for-TestName">Display</a></li><li><a·href="#impl-Eq-for-TestName">Eq</a></li><li><a·href="#impl-Hash-for-TestName">Hash</a></li><li><a·href="#impl-PartialEq-for-TestName">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestName">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestName">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestName">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestName">Send</a></li><li><a·href="#impl-Sync-for-TestName">Sync</a></li><li><a·href="#impl-Unpin-for-TestName">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestName">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">TestName</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#42-46">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·TestName·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">TestName</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#42-46">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·TestName·{
3 ····StaticTestName(&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>),3 ····StaticTestName(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>),
4 ····DynTestName(<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),4 ····DynTestName(<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),
5 ····AlignedTestName(<a·class="enum"·href="../alloc/borrow/enum.Cow.html"·title="enum·alloc::borrow::Cow">Cow</a>&lt;'static,·<a·class="primitive"·href="../std/primitive.str.html">str</a>&gt;,·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>),5 ····AlignedTestName(<a·class="enum"·href="../alloc/borrow/enum.Cow.html"·title="enum·alloc::borrow::Cow">Cow</a>&lt;'static,·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>&gt;,·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>),
6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.StaticTestName"·class="variant"><a·href="#variant.StaticTestName"·class="anchor">§</a><h3·class="code-header">StaticTestName(&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.DynTestName"·class="[·...·truncated·by·diffoscope;·len:·9481,·SHA:·beeb35ed3196fece4ad9a33828c544e051710a1a62ffc210b2c85f193d1c9de6·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.StaticTestName"·class="variant"><a·href="#variant.StaticTestName"·class="anchor">§</a><h3·class="code-header">StaticTestName(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id[·...·truncated·by·diffoscope;·len:·9691,·SHA:·8cc6be37d730785963e31c428b682ef4df2ee32ab9c02979feb52c6a42ffe21f·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
7 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,7 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
8 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestName"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#41">source</a><a·href="#impl-PartialEq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#41">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used8 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestName"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#41">source</a><a·href="#impl-PartialEq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#41">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
9 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always9 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
10 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Eq-for-TestName"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#41">source</a><a·href="#impl-Eq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-StructuralPartialEq-for-TestName"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#41">source</a><a·href="#impl-StructuralPartialEq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestName"·class="impl"><a·href="#impl-Freeze-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-RefUnwindSafe-for-TestName"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Send-for-TestName"·class="impl"><a·href="#impl-Send-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Sync-for-TestName"·class="impl"><a·href="#impl-Sync-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Unpin-for-TestName"·class="impl"><a·href="#impl-Unpin-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-UnwindSafe-for-TestName"·class="impl"><a·href="#impl-UnwindSafe-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where10 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Eq-for-TestName"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#41">source</a><a·href="#impl-Eq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-StructuralPartialEq-for-TestName"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#41">source</a><a·href="#impl-StructuralPartialEq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestName"·class="impl"><a·href="#impl-Freeze-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-RefUnwindSafe-for-TestName"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Send-for-TestName"·class="impl"><a·href="#impl-Send-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Sync-for-TestName"·class="impl"><a·href="#impl-Sync-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Unpin-for-TestName"·class="impl"><a·href="#impl-Unpin-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-UnwindSafe-for-TestName"·class="impl"><a·href="#impl-UnwindSafe-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
11 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where11 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
12 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where12 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
13 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>13 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
15 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>15 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
16 <p>That·is,·this·conversion·is·whatever·the·implementation·of16 <p>That·is,·this·conversion·is·whatever·the·implementation·of
17 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>17 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
19 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where19 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
20 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where20 ····T:·<a·class="trait"·href="../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
21 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where21 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>22 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
38.1 KB
./usr/share/doc/rust-web-doc/html/test/enum.TestType.html
    
Offset 7, 23 lines modifiedOffset 7, 23 lines modified
7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Type·of·the·test·according·to·the·<a·href="https://doc.rust-lang.org/cargo/guide/tests.html">Rust·book</a>7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Type·of·the·test·according·to·the·<a·href="https://doc.rust-lang.org/cargo/guide/tests.html">Rust·book</a>
8 conventions.</p>8 conventions.</p>
9 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.UnitTest"·class="variant"><a·href="#variant.UnitTest"·class="anchor">§</a><h3·class="code-header">UnitTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Unit-tests·are·expected·to·be·in·the·<code>src</code>·folder·of·the·crate.</p>9 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.UnitTest"·class="variant"><a·href="#variant.UnitTest"·class="anchor">§</a><h3·class="code-header">UnitTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Unit-tests·are·expected·to·be·in·the·<code>src</code>·folder·of·the·crate.</p>
10 </div><section·id="variant.IntegrationTest"·class="variant"><a·href="#variant.IntegrationTest"·class="anchor">§</a><h3·class="code-header">IntegrationTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Integration-style·tests·are·expected·to·be·in·the·<code>tests</code>·folder·of·the·crate.</p>10 </div><section·id="variant.IntegrationTest"·class="variant"><a·href="#variant.IntegrationTest"·class="anchor">§</a><h3·class="code-header">IntegrationTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Integration-style·tests·are·expected·to·be·in·the·<code>tests</code>·folder·of·the·crate.</p>
11 </div><section·id="variant.DocTest"·class="variant"><a·href="#variant.DocTest"·class="anchor">§</a><h3·class="code-header">DocTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Doctests·are·created·by·the·<code>librustdoc</code>·manually,·so·it’s·a·different·type·of·test.</p>11 </div><section·id="variant.DocTest"·class="variant"><a·href="#variant.DocTest"·class="anchor">§</a><h3·class="code-header">DocTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Doctests·are·created·by·the·<code>librustdoc</code>·manually,·so·it’s·a·different·type·of·test.</p>
12 </div><section·id="variant.Unknown"·class="variant"><a·href="#variant.Unknown"·class="anchor">§</a><h3·class="code-header">Unknown</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Tests·for·the·sources·that·don’t·follow·the·project·layout·convention12 </div><section·id="variant.Unknown"·class="variant"><a·href="#variant.Unknown"·class="anchor">§</a><h3·class="code-header">Unknown</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Tests·for·the·sources·that·don’t·follow·the·project·layout·convention
13 (e.g.·tests·in·raw·<code>main.rs</code>·compiled·by·calling·<code>rustc·--test</code>·directly).</p>13 (e.g.·tests·in·raw·<code>main.rs</code>·compiled·by·calling·<code>rustc·--test</code>·directly).</p>
14 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-Clone-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><detail[·...·truncated·by·diffoscope;·len:·3095,·SHA:·fddceca405dcce4e9f83f31d399d7f6d8b5c0c98e8c363894f53c4944b76e52c·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where14 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-Clone-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></d[·...·truncated·by·diffoscope;·len:·3215,·SHA:·d5125296a2a37bc8a55dd66f1ccb19ea617e0171002f58beb4f8c4862bd6b819·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
15 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,15 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
16 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-PartialEq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used16 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-PartialEq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
17 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always17 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
18 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-Copy-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Eq-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-Eq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-StructuralPartialEq-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-StructuralPartialEq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestType"·class="impl"><a·href="#impl-Freeze-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-RefUnwindSafe-for-TestType"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Send-for-TestType"·class="impl"><a·href="#impl-Send-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Sync-for-TestType"·class="impl"><a·href="#impl-Sync-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Unpin-for-TestType"·class="impl"><a·href="#impl-Unpin-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-UnwindSafe-for-TestType"·class="impl"><a·href="#impl-UnwindSafe-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where18 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-Copy-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Eq-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-Eq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-StructuralPartialEq-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#18">source</a><a·href="#impl-StructuralPartialEq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestType"·class="impl"><a·href="#impl-Freeze-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-RefUnwindSafe-for-TestType"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Send-for-TestType"·class="impl"><a·href="#impl-Send-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Sync-for-TestType"·class="impl"><a·href="#impl-Sync-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Unpin-for-TestType"·class="impl"><a·href="#impl-Unpin-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-UnwindSafe-for-TestType"·class="impl"><a·href="#impl-UnwindSafe-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
19 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where19 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
20 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where20 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
21 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>21 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
22 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where22 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
23 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>23 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
24 <p>That·is,·this·conversion·is·whatever·the·implementation·of24 <p>That·is,·this·conversion·is·whatever·the·implementation·of
25 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>25 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
26 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where26 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
27 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where27 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
28 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where28 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
29 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>29 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
7.28 KB
./usr/share/doc/rust-web-doc/html/test/fn.assert_test_result.html
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="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."><title>assert_test_result·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="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."><title>assert_test_result·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">test</a>::<wbr><a·class="fn"·href="#">assert_test_result</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/lib.rs.html#225-235">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·assert_test_result&lt;T:·<a·class="trait"·href="../std/process/trait.Termination.html"·title="trait·std::process::Termination">Termination</a>&gt;(result:·T)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Invoked·when·unit·tests·terminate.·Returns·<code>Result::Err</code>·if·the·test·is2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">test</a>::<wbr><a·class="fn"·href="#">assert_test_result</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/lib.rs.html#225-235">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·assert_test_result&lt;T:·<a·class="trait"·href="https://doc.rust-lang.org/1.78.0/std/process/trait.Termination.html"·title="trait·std::process::Termination">Termination</a>&gt;(result:·T)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;<a·clas[·...·truncated·by·diffoscope;·len:·52,·SHA:·04505c4768006674e4f793fe1e2a0459c34b5f5a1069253ec739aee0062e4011·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Invoked·when·unit·tests·terminate.·Returns·<code>Result::Err</code>·if·the·test·is
3 considered·a·failure.·By·default,·invokes·<code>report()</code>·and·checks·for·a·<code>0</code>3 considered·a·failure.·By·default,·invokes·<code>report()</code>·and·checks·for·a·<code>0</code>
4 result.</p>4 result.</p>
5 </div></details></section></div></main></body></html>5 </div></details></section></div></main></body></html>
6.13 KB
./usr/share/doc/rust-web-doc/html/test/fn.run_test.html
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`run_test`·fn·in·crate·`test`."><title>run_test·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`run_test`·fn·in·crate·`test`."><title>run_test·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">test</a>::<wbr><a·class="fn"·href="#">run_test</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/lib.rs.html#531-616">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·run_test(2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">test</a>::<wbr><a·class="fn"·href="#">run_test</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/lib.rs.html#531-616">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·run_test(
3 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,3 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,
4 ····force_ignore:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,4 ····force_ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
5 ····id:·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>,5 ····id:·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>,
6 ····test:·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>,6 ····test:·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>,
7 ····strategy:·<a·class="enum"·href="test/enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a>,7 ····strategy:·<a·class="enum"·href="test/enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a>,
8 ····monitor_ch:·<a·class="struct"·href="../std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a>&lt;CompletedTest&gt;8 ····monitor_ch:·<a·class="struct"·href="https://doc.rust-lang.org/1.78.0/std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a>&lt;CompletedTest&gt;
9 )·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="../std/thread/struct.JoinHandle.html"·title="struct·std::thread::JoinHandle">JoinHandle</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>&gt;&gt;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>9 )·-&gt;·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="https://doc.rust-lang.org/1.78.0/std/thread/struct.JoinHandle.html"·title="struct·std::thread::JoinHandle">JoinHandle</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>&gt;&gt;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>
6.04 KB
./usr/share/doc/rust-web-doc/html/test/fn.run_tests.html
    
Offset 1, 7 lines modifiedOffset 1, 7 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`run_tests`·fn·in·crate·`test`."><title>run_tests·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`run_tests`·fn·in·crate·`test`."><title>run_tests·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">test</a>::<wbr><a·class="fn"·href="#">run_tests</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/lib.rs.html#259-473">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·run_tests&lt;F&gt;(2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">test</a>::<wbr><a·class="fn"·href="#">run_tests</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/lib.rs.html#259-473">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·run_tests&lt;F&gt;(
3 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,3 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,
4 ····tests:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>&gt;,4 ····tests:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>&gt;,
5 ····notify_about_test_event:·F5 ····notify_about_test_event:·F
6 )·-&gt;·<a·class="type"·href="../std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>&gt;<div·class="where">where6 )·-&gt;·<a·class="type"·href="https://doc.rust-lang.org/1.78.0/std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>&gt;<div·class="where">where
7 ····F:·<a·class="trait"·href="../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(TestEvent)·-&gt;·<a·class="type"·href="../std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.unit.html">()</a>&gt;,</div></code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>7 ····F:·<a·class="trait"·href="../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(TestEvent)·-&gt;·<a·class="type"·href="https://doc.rust-lang.org/1.78.0/std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.unit.html">()</a>&gt;,</div></code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></section></div></main></body></html>
5.71 KB
./usr/share/doc/rust-web-doc/html/test/fn.run_tests_console.html
    
Offset 1, 7 lines modifiedOffset 1, 7 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="A·simple·console·test·runner.·Runs·provided·tests·reporting·process·and·results·to·the·stdout."><title>run_tests_console·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="A·simple·console·test·runner.·Runs·provided·tests·reporting·process·and·results·to·the·stdout."><title>run_tests_console·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">test</a>::<wbr><a·class="fn"·href="#">run_tests_console</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/console.rs.html#293-337">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·run_tests_console(2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="index.html">test</a>::<wbr><a·class="fn"·href="#">run_tests_console</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/console.rs.html#293-337">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·run_tests_console(
3 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,3 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,
4 ····tests:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>&gt;4 ····tests:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>&gt;
5 )·-&gt;·<a·class="type"·href="../std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a>&lt;<a·class="primitive"·href="../std/primitive.bool.html">bool</a>&gt;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>A·simple·console·test·runner.5 )·-&gt;·<a·class="type"·href="https://doc.rust-lang.org/1.78.0/std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>&gt;</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>A·simple·console·test·runner.
6 Runs·provided·tests·reporting·process·and·results·to·the·stdout.</p>6 Runs·provided·tests·reporting·process·and·results·to·the·stdout.</p>
7 </div></details></section></div></main></body></html>7 </div></details></section></div></main></body></html>
7.43 KB
./usr/share/doc/rust-web-doc/html/test/stats/fn.winsorize.html
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="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."><title>winsorize·in·test::stats·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·test::stats</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="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."><title>winsorize·in·test::stats·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·fn"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><div·class="sidebar-elems"><h2><a·href="index.html">In·test::stats</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a>::<wbr><a·class="fn"·href="#">winsorize</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/stats.rs.html#289-302">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·winsorize(samples:·&amp;mut·[<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>],·pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>)</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Winsorize·a·set·of·samples,·replacing·values·above·the·<code>100-pct</code>·percentile2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Function·<a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a>::<wbr><a·class="fn"·href="#">winsorize</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/stats.rs.html#289-302">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·fn·winsorize(samples:·&amp;mut·[<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>],·pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>)</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Winsorize·a·set·of·samples,·replacing·values·above·the·<code>100-pct</code>·percentile
3 and·below·the·<code>pct</code>·percentile·with·those·percentiles·themselves.·This·is·a3 and·below·the·<code>pct</code>·percentile·with·those·percentiles·themselves.·This·is·a
4 way·of·minimizing·the·effect·of·outliers,·at·the·cost·of·biasing·the·sample.4 way·of·minimizing·the·effect·of·outliers,·at·the·cost·of·biasing·the·sample.
5 It·differs·from·trimming·in·that·it·does·not·change·the·number·of·samples,5 It·differs·from·trimming·in·that·it·does·not·change·the·number·of·samples,
6 just·changes·the·values·of·those·that·are·outliers.</p>6 just·changes·the·values·of·those·that·are·outliers.</p>
7 <p>See:·<a·href="https://en.wikipedia.org/wiki/Winsorising">https://en.wikipedia.org/wiki/Winsorising</a></p>7 <p>See:·<a·href="https://en.wikipedia.org/wiki/Winsorising">https://en.wikipedia.org/wiki/Winsorising</a></p>
8 </div></details></section></div></main></body></html>8 </div></details></section></div></main></body></html>
52.7 KB
./usr/share/doc/rust-web-doc/html/test/stats/struct.Summary.html
    
Offset 1, 30 lines modifiedOffset 1, 30 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Extracted·collection·of·all·the·summary·statistics·of·a·sample·set."><title>Summary·in·test::stats·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Summary</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.iqr">iqr</a></li><li><a·href="#structfield.max">max</a></li><li><a·href="#structfield.mean">mean</a></li><li><a·href="#structfield.median">median</a></li><li><a·href="#structfield.median_abs_dev">median_abs_dev</a></li><li><a·href="#structfield.median_abs_dev_pct">median_abs_dev_pct</a></li><li><a·href="#structfield.min">min</a></li><li><a·href="#structfield.quartiles">quartiles</a></li><li><a·href="#structfield.std_dev">std_dev</a></li><li><a·href="#structfield.std_dev_pct">std_dev_pct</a></li><li><a·href="#structfield.sum">sum</a></li><li><a·href="#structfield.var">var</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new">new</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Summary">Clone</a></li><li><a·href="#impl-Copy-for-Summary">Copy</a></li><li><a·href="#impl-Debug-for-Summary">Debug</a></li><li><a·href="#impl-PartialEq-for-Summary">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-Summary">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Summary">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Summary">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Summary">Send</a></li><li><a·href="#impl-Sync-for-Summary">Sync</a></li><li><a·href="#impl-Unpin-for-Summary">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Summary">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::stats</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Extracted·collection·of·all·the·summary·statistics·of·a·sample·set."><title>Summary·in·test::stats·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Summary</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.iqr">iqr</a></li><li><a·href="#structfield.max">max</a></li><li><a·href="#structfield.mean">mean</a></li><li><a·href="#structfield.median">median</a></li><li><a·href="#structfield.median_abs_dev">median_abs_dev</a></li><li><a·href="#structfield.median_abs_dev_pct">median_abs_dev_pct</a></li><li><a·href="#structfield.min">min</a></li><li><a·href="#structfield.quartiles">quartiles</a></li><li><a·href="#structfield.std_dev">std_dev</a></li><li><a·href="#structfield.std_dev_pct">std_dev_pct</a></li><li><a·href="#structfield.sum">sum</a></li><li><a·href="#structfield.var">var</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new">new</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Summary">Clone</a></li><li><a·href="#impl-Copy-for-Summary">Copy</a></li><li><a·href="#impl-Debug-for-Summary">Debug</a></li><li><a·href="#impl-PartialEq-for-Summary">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-Summary">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Summary">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Summary">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Summary">Send</a></li><li><a·href="#impl-Sync-for-Summary">Sync</a></li><li><a·href="#impl-Unpin-for-Summary">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Summary">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::stats</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a>::<wbr><a·class="struct"·href="#">Summary</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/stats.rs.html#103-116">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Summary·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a>::<wbr><a·class="struct"·href="#">Summary</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/stats.rs.html#103-116">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Summary·{
3 ····pub·sum:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,3 ····pub·sum:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
4 ····pub·min:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,4 ····pub·min:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
5 ····pub·max:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,5 ····pub·max:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
6 ····pub·mean:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,6 ····pub·mean:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
7 ····pub·median:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,7 ····pub·median:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
8 ····pub·var:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,8 ····pub·var:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
9 ····pub·std_dev:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,9 ····pub·std_dev:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
10 ····pub·std_dev_pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,10 ····pub·std_dev_pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
11 ····pub·median_abs_dev:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,11 ····pub·median_abs_dev:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
12 ····pub·median_abs_dev_pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,12 ····pub·median_abs_dev_pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
13 ····pub·quartiles:·(<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>),13 ····pub·quartiles:·(<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>),
14 ····pub·iqr:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,14 ····pub·iqr:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,
15 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Extracted·collection·of·all·the·summary·statistics·of·a·sample·set.</p>15 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Extracted·collection·of·all·the·summary·statistics·of·a·sample·set.</p>
16 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.sum"·class="structfield·section-header"><a·href="#structfield.sum"·class="anchor·field">§</a><code>sum:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.min"·class="struct[·...·truncated·by·diffoscope;·len:·5124,·SHA:·9675fc8389d32ff5331ce2561607dca2204b2b3951cacb2ccd716787281e5eb0·...·]/std/primitive.f64.html">f64</a>])·-&gt;·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Construct·a·new·summary·of·a·sample·set.</p>16 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.sum"·class="structfield·section-header"><a·href="#structfield.sum"·class="anchor·field">§</a><code>sum:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="str[·...·truncated·by·diffoscope;·len:·5529,·SHA:·eef2b231aa50c99d8d1671fbea1a05e171616dfebaf58bf25b60c635c3a2025b·...·]/std/primitive.f64.html">f64</a>])·-&gt;·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Construct·a·new·summary·of·a·sample·set.</p>
17 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-Clone-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><[·...·truncated·by·diffoscope;·len:·2272,·SHA:·a1758cea130477973172b4fa2f7633734586a63fa2fc0e353c83a7fbc994421d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used17 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-Clone-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div>[·...·truncated·by·diffoscope;·len:·2326,·SHA:·082e88fb77c71fb1f282e2d55656f299a37e42d94189e4a9c67056c4ee028ff8·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
18 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always18 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
19 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-Copy-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-StructuralPartialEq-for-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-StructuralPartialEq-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Summary"·class="impl"><a·href="#impl-Freeze-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-RefUnwindSafe-for-Summary"·class="impl"><a·href="#impl-RefUnwindSafe-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-Send-for-Summary"·class="impl"><a·href="#impl-Send-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-Sync-for-Summary"·class="impl"><a·href="#impl-Sync-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-Unpin-for-Summary"·class="impl"><a·href="#impl-Unpin-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-UnwindSafe-for-Summary"·class="impl"><a·href="#impl-UnwindSafe-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where19 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-Copy-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-StructuralPartialEq-for-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-StructuralPartialEq-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Summary"·class="impl"><a·href="#impl-Freeze-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-RefUnwindSafe-for-Summary"·class="impl"><a·href="#impl-RefUnwindSafe-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-Send-for-Summary"·class="impl"><a·href="#impl-Send-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-Sync-for-Summary"·class="impl"><a·href="#impl-Sync-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-Unpin-for-Summary"·class="impl"><a·href="#impl-Unpin-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section><section·id="impl-UnwindSafe-for-Summary"·class="impl"><a·href="#impl-UnwindSafe-for-Summary"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
20 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where20 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
21 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where21 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
22 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>22 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
23 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where23 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
24 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>24 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
25 <p>That·is,·this·conversion·is·whatever·the·implementation·of25 <p>That·is,·this·conversion·is·whatever·the·implementation·of
26 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>26 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
27 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where27 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
28 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where28 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
29 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where29 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
30 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>30 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
48.8 KB
./usr/share/doc/rust-web-doc/html/test/stats/trait.Stats.html
    
Offset 1, 63 lines modifiedOffset 1, 63 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Trait·that·provides·simple·descriptive·statistics·on·a·univariate·set·of·numeric·samples."><title>Stats·in·test::stats·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·trait"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Stats</a></h2><div·class="sidebar-elems"><section><h3><a·href="#required-methods">Required·Methods</a></h3><ul·class="block"><li><a·href="#tymethod.iqr">iqr</a></li><li><a·href="#tymethod.max">max</a></li><li><a·href="#tymethod.mean">mean</a></li><li><a·href="#tymethod.median">median</a></li><li><a·href="#tymethod.median_abs_dev">median_abs_dev</a></li><li><a·href="#tymethod.median_abs_dev_pct">median_abs_dev_pct</a></li><li><a·href="#tymethod.min">min</a></li><li><a·href="#tymethod.percentile">percentile</a></li><li><a·href="#tymethod.quartiles">quartiles</a></li><li><a·href="#tymethod.std_dev">std_dev</a></li><li><a·href="#tymethod.std_dev_pct">std_dev_pct</a></li><li><a·href="#tymethod.sum">sum</a></li><li><a·href="#tymethod.var">var</a></li></ul><h3><a·href="#foreign-impls">Implementations·on·Foreign·Types</a></h3><ul·class="block"><li><a·href="#impl-Stats-for-%5Bf64%5D">[f64]</a></li></ul><h3><a·href="#implementors">Implementors</a></h3></section><h2><a·href="index.html">In·test::stats</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Trait·that·provides·simple·descriptive·statistics·on·a·univariate·set·of·numeric·samples."><title>Stats·in·test::stats·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·trait"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Stats</a></h2><div·class="sidebar-elems"><section><h3><a·href="#required-methods">Required·Methods</a></h3><ul·class="block"><li><a·href="#tymethod.iqr">iqr</a></li><li><a·href="#tymethod.max">max</a></li><li><a·href="#tymethod.mean">mean</a></li><li><a·href="#tymethod.median">median</a></li><li><a·href="#tymethod.median_abs_dev">median_abs_dev</a></li><li><a·href="#tymethod.median_abs_dev_pct">median_abs_dev_pct</a></li><li><a·href="#tymethod.min">min</a></li><li><a·href="#tymethod.percentile">percentile</a></li><li><a·href="#tymethod.quartiles">quartiles</a></li><li><a·href="#tymethod.std_dev">std_dev</a></li><li><a·href="#tymethod.std_dev_pct">std_dev_pct</a></li><li><a·href="#tymethod.sum">sum</a></li><li><a·href="#tymethod.var">var</a></li></ul><h3><a·href="#foreign-impls">Implementations·on·Foreign·Types</a></h3><ul·class="block"><li><a·href="#impl-Stats-for-%5Bf64%5D">[f64]</a></li></ul><h3><a·href="#implementors">Implementors</a></h3></section><h2><a·href="index.html">In·test::stats</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Trait·<a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a>::<wbr><a·class="trait"·href="#">Stats</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/stats.rs.html#13-98">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·trait·Stats·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Trait·<a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a>::<wbr><a·class="trait"·href="#">Stats</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/stats.rs.html#13-98">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·trait·Stats·{
3 <details·class="toggle·type-contents-toggle"><summary·class="hideme"><span>Show·13·methods</span></summary>····//·Required·methods3 <details·class="toggle·type-contents-toggle"><summary·class="hideme"><span>Show·13·methods</span></summary>····//·Required·methods
4 ····fn·<a·href="#tymethod.sum"·class="fn">sum</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;4 ····fn·<a·href="#tymethod.sum"·class="fn">sum</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
5 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.min"·class="fn">min</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;5 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.min"·class="fn">min</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
6 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.max"·class="fn">max</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;6 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.max"·class="fn">max</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
7 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.mean"·class="fn">mean</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;7 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.mean"·class="fn">mean</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
8 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median"·class="fn">median</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;8 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median"·class="fn">median</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
9 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.var"·class="fn">var</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;9 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.var"·class="fn">var</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
10 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.std_dev"·class="fn">std_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;10 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.std_dev"·class="fn">std_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
11 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.std_dev_pct"·class="fn">std_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;11 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.std_dev_pct"·class="fn">std_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
12 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median_abs_dev"·class="fn">median_abs_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;12 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median_abs_dev"·class="fn">median_abs_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
13 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median_abs_dev_pct"·class="fn">median_abs_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;13 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median_abs_dev_pct"·class="fn">median_abs_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
14 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.percentile"·class="fn">percentile</a>(&amp;self,·pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;14 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.percentile"·class="fn">percentile</a>(&amp;self,·pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
15 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.quartiles"·class="fn">quartiles</a>(&amp;self)·-&gt;·(<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>);15 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.quartiles"·class="fn">quartiles</a>(&amp;self)·-&gt;·(<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>);
16 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.iqr"·class="fn">iqr</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;16 <span·class="item-spacer"></span>····fn·<a·href="#tymethod.iqr"·class="fn">iqr</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>;
17 </details>}</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Trait·that·provides·simple·descriptive·statistics·on·a·univariate·set·of·numeric·samples.</p>17 </details>}</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Trait·that·provides·simple·descriptive·statistics·on·a·univariate·set·of·numeric·samples.</p>
18 </div></details><h2·id="required-methods"·class="section-header">Required·Methods<a·href="#required-methods"·class="anchor">§</a></h2><div·class="methods"><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.sum"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#22">source</a><h4·class="code-header">fn·<a·href="#tymethod.sum"·class="fn">sum</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Sum·of·the·samples.</p>18 </div></details><h2·id="required-methods"·class="section-header">Required·Methods<a·href="#required-methods"·class="anchor">§</a></h2><div·class="methods"><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.sum"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#22">source</a><h4·class="code-header">fn·<a·href="#tymethod.sum"·class="fn">sum</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Sum·of·the·samples.</p>
19 <p>Note:·this·method·sacrifices·performance·at·the·altar·of·accuracy19 <p>Note:·this·method·sacrifices·performance·at·the·altar·of·accuracy
20 Depends·on·IEEE·754·arithmetic·guarantees.·See·proof·of·correctness·at:20 Depends·on·IEEE·754·arithmetic·guarantees.·See·proof·of·correctness·at:
21 <a·href="https://www.cs.cmu.edu/~quake-papers/robust-arithmetic.ps">“Adaptive·Precision·Floating-Point·Arithmetic·and·Fast·Robust·Geometric21 <a·href="https://www.cs.cmu.edu/~quake-papers/robust-arithmetic.ps">“Adaptive·Precision·Floating-Point·Arithmetic·and·Fast·Robust·Geometric
22 Predicates”</a></p>22 Predicates”</a></p>
23 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.min"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#25">source</a><h4·class="code-header">fn·<a·href="#tymethod.min"·class="fn">min</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Minimum·value·of·the·samples.</p>23 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.min"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#25">source</a><h4·class="code-header">fn·<a·href="#tymethod.min"·class="fn">min</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Minimum·value·of·the·samples.</p>
24 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.max"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#28">source</a><h4·class="code-header">fn·<a·href="#tymethod.max"·class="fn">max</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Maximum·value·of·the·samples.</p>24 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.max"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#28">source</a><h4·class="code-header">fn·<a·href="#tymethod.max"·class="fn">max</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Maximum·value·of·the·samples.</p>
25 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.mean"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#33">source</a><h4·class="code-header">fn·<a·href="#tymethod.mean"·class="fn">mean</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Arithmetic·mean·(average)·of·the·samples:·sum·divided·by·sample-count.</p>25 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.mean"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#33">source</a><h4·class="code-header">fn·<a·href="#tymethod.mean"·class="fn">mean</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Arithmetic·mean·(average)·of·the·samples:·sum·divided·by·sample-count.</p>
26 <p>See:·<a·href="https://en.wikipedia.org/wiki/Arithmetic_mean">https://en.wikipedia.org/wiki/Arithmetic_mean</a></p>26 <p>See:·<a·href="https://en.wikipedia.org/wiki/Arithmetic_mean">https://en.wikipedia.org/wiki/Arithmetic_mean</a></p>
27 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.median"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#39">source</a><h4·class="code-header">fn·<a·href="#tymethod.median"·class="fn">median</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Median·of·the·samples:·value·separating·the·lower·half·of·the·samples·from·the·higher·half.27 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.median"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#39">source</a><h4·class="code-header">fn·<a·href="#tymethod.median"·class="fn">median</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Median·of·the·samples:·value·separating·the·lower·half·of·the·samples·from·the·higher·half.
28 Equal·to·<code>self.percentile(50.0)</code>.</p>28 Equal·to·<code>self.percentile(50.0)</code>.</p>
29 <p>See:·<a·href="https://en.wikipedia.org/wiki/Median">https://en.wikipedia.org/wiki/Median</a></p>29 <p>See:·<a·href="https://en.wikipedia.org/wiki/Median">https://en.wikipedia.org/wiki/Median</a></p>
30 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.var"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#48">source</a><h4·class="code-header">fn·<a·href="#tymethod.var"·class="fn">var</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Variance·of·the·samples:·bias-corrected·mean·of·the·squares·of·the·differences·of·each30 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.var"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#48">source</a><h4·class="code-header">fn·<a·href="#tymethod.var"·class="fn">var</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Variance·of·the·samples:·bias-corrected·mean·of·the·squares·of·the·differences·of·each
31 sample·from·the·sample·mean.·Note·that·this·calculates·the·<em>sample·variance</em>·rather·than·the31 sample·from·the·sample·mean.·Note·that·this·calculates·the·<em>sample·variance</em>·rather·than·the
32 population·variance,·which·is·assumed·to·be·unknown.·It·therefore·corrects·the·<code>(n-1)/n</code>32 population·variance,·which·is·assumed·to·be·unknown.·It·therefore·corrects·the·<code>(n-1)/n</code>
33 bias·that·would·appear·if·we·calculated·a·population·variance,·by·dividing·by·<code>(n-1)</code>·rather33 bias·that·would·appear·if·we·calculated·a·population·variance,·by·dividing·by·<code>(n-1)</code>·rather
34 than·<code>n</code>.</p>34 than·<code>n</code>.</p>
35 <p>See:·<a·href="https://en.wikipedia.org/wiki/Variance">https://en.wikipedia.org/wiki/Variance</a></p>35 <p>See:·<a·href="https://en.wikipedia.org/wiki/Variance">https://en.wikipedia.org/wiki/Variance</a></p>
36 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.std_dev"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#56">source</a><h4·class="code-header">fn·<a·href="#tymethod.std_dev"·class="fn">std_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Standard·deviation:·the·square·root·of·the·sample·variance.</p>36 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.std_dev"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#56">source</a><h4·class="code-header">fn·<a·href="#tymethod.std_dev"·class="fn">std_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Standard·deviation:·the·square·root·of·the·sample·variance.</p>
37 <p>Note:·this·is·not·a·robust·statistic·for·non-normal·distributions.·Prefer·the37 <p>Note:·this·is·not·a·robust·statistic·for·non-normal·distributions.·Prefer·the
38 <code>median_abs_dev</code>·for·unknown·distributions.</p>38 <code>median_abs_dev</code>·for·unknown·distributions.</p>
39 <p>See:·<a·href="https://en.wikipedia.org/wiki/Standard_deviation">https://en.wikipedia.org/wiki/Standard_deviation</a></p>39 <p>See:·<a·href="https://en.wikipedia.org/wiki/Standard_deviation">https://en.wikipedia.org/wiki/Standard_deviation</a></p>
40 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.std_dev_pct"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#62">source</a><h4·class="code-header">fn·<a·href="#tymethod.std_dev_pct"·class="fn">std_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Standard·deviation·as·a·percent·of·the·mean·value.·See·<code>std_dev</code>·and·<code>mean</code>.</p>40 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.std_dev_pct"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#62">source</a><h4·class="code-header">fn·<a·href="#tymethod.std_dev_pct"·class="fn">std_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Standard·deviation·as·a·percent·of·the·mean·value.·See·<code>std_dev</code>·and·<code>mean</code>.</p>
41 <p>Note:·this·is·not·a·robust·statistic·for·non-normal·distributions.·Prefer·the41 <p>Note:·this·is·not·a·robust·statistic·for·non-normal·distributions.·Prefer·the
42 <code>median_abs_dev_pct</code>·for·unknown·distributions.</p>42 <code>median_abs_dev_pct</code>·for·unknown·distributions.</p>
43 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.median_abs_dev"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#71">source</a><h4·class="code-header">fn·<a·href="#tymethod.median_abs_dev"·class="fn">median_abs_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Scaled·median·of·the·absolute·deviations·of·each·sample·from·the·sample·median.·This·is·a43 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.median_abs_dev"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#71">source</a><h4·class="code-header">fn·<a·href="#tymethod.median_abs_dev"·class="fn">median_abs_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Scaled·median·of·the·absolute·deviations·of·each·sample·from·the·sample·median.·This·is·a
44 robust·(distribution-agnostic)·estimator·of·sample·variability.·Use·this·in·preference·to44 robust·(distribution-agnostic)·estimator·of·sample·variability.·Use·this·in·preference·to
45 <code>std_dev</code>·if·you·cannot·assume·your·sample·is·normally·distributed.·Note·that·this·is·scaled45 <code>std_dev</code>·if·you·cannot·assume·your·sample·is·normally·distributed.·Note·that·this·is·scaled
46 by·the·constant·<code>1.4826</code>·to·allow·its·use·as·a·consistent·estimator·for·the·standard46 by·the·constant·<code>1.4826</code>·to·allow·its·use·as·a·consistent·estimator·for·the·standard
47 deviation.</p>47 deviation.</p>
48 <p>See:·<a·href="https://en.wikipedia.org/wiki/Median_absolute_deviation">https://en.wikipedia.org/wiki/Median_absolute_deviation</a></p>48 <p>See:·<a·href="https://en.wikipedia.org/wiki/Median_absolute_deviation">https://en.wikipedia.org/wiki/Median_absolute_deviation</a></p>
49 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.median_abs_dev_pct"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#74">source</a><h4·class="code-header">fn·<a·href="#tymethod.median_abs_dev_pct"·class="fn">median_abs_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Median·absolute·deviation·as·a·percent·of·the·median.·See·<code>median_abs_dev</code>·and·<code>median</code>.</p>49 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.median_abs_dev_pct"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#74">source</a><h4·class="code-header">fn·<a·href="#tymethod.median_abs_dev_pct"·class="fn">median_abs_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Median·absolute·deviation·as·a·percent·of·the·median.·See·<code>median_abs_dev</code>·and·<code>median</code>.</p>
50 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.percentile"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#83">source</a><h4·class="code-header">fn·<a·href="#tymethod.percentile"·class="fn">percentile</a>(&amp;self,·pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Percentile:·the·value·below·which·<code>pct</code>·percent·of·the·values·in·<code>self</code>·fall.·For·example,50 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.percentile"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#83">source</a><h4·class="code-header">fn·<a·href="#tymethod.percentile"·class="fn">percentile</a>(&amp;self,·pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Percentile:·the·value·below·which·<code>pct</code>·percent·of·the·values·in·<code>self</code>·fall.·For·example,
51 percentile(95.0)·will·return·the·value·<code>v</code>·such·that·95%·of·the·samples·<code>s</code>·in·<code>self</code>51 percentile(95.0)·will·return·the·value·<code>v</code>·such·that·95%·of·the·samples·<code>s</code>·in·<code>self</code>
52 satisfy·<code>s·&lt;=·v</code>.</p>52 satisfy·<code>s·&lt;=·v</code>.</p>
53 <p>Calculated·by·linear·interpolation·between·closest·ranks.</p>53 <p>Calculated·by·linear·interpolation·between·closest·ranks.</p>
54 <p>See:·<a·href="https://en.wikipedia.org/wiki/Percentile">https://en.wikipedia.org/wiki/Percentile</a></p>54 <p>See:·<a·href="https://en.wikipedia.org/wiki/Percentile">https://en.wikipedia.org/wiki/Percentile</a></p>
55 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.quartiles"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#91">source</a><h4·class="code-header">fn·<a·href="#tymethod.quartiles"·class="fn">quartiles</a>(&amp;self)·-&gt;·(<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Quartiles·of·the·sample:·three·values·that·divide·the·sample·into·four·equal·groups,·each55 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.quartiles"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#91">source</a><h4·class="code-header">fn·<a·href="#tymethod.quartiles"·class="fn">quartiles</a>(&amp;self)·-&gt;·(<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Quartiles·of·the·sample:·three·values·that·divide·the·sample·into·four·equal·groups,·each
56 with·1/4·of·the·data.·The·middle·value·is·the·median.·See·<code>median</code>·and·<code>percentile</code>.·This56 with·1/4·of·the·data.·The·middle·value·is·the·median.·See·<code>median</code>·and·<code>percentile</code>.·This
57 function·may·calculate·the·3·quartiles·more·efficiently·than·3·calls·to·<code>percentile</code>,·but57 function·may·calculate·the·3·quartiles·more·efficiently·than·3·calls·to·<code>percentile</code>,·but
58 is·otherwise·equivalent.</p>58 is·otherwise·equivalent.</p>
59 <p>See·also:·<a·href="https://en.wikipedia.org/wiki/Quartile">https://en.wikipedia.org/wiki/Quartile</a></p>59 <p>See·also:·<a·href="https://en.wikipedia.org/wiki/Quartile">https://en.wikipedia.org/wiki/Quartile</a></p>
60 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.iqr"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#97">source</a><h4·class="code-header">fn·<a·href="#tymethod.iqr"·class="fn">iqr</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Inter-quartile·range:·the·difference·between·the·25th·percentile·(1st·quartile)·and·the·75th60 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="tymethod.iqr"·class="method"><a·class="src·rightside"·href="../../src/test/stats.rs.html#97">source</a><h4·class="code-header">fn·<a·href="#tymethod.iqr"·class="fn">iqr</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Inter-quartile·range:·the·difference·between·the·25th·percentile·(1st·quartile)·and·the·75th
61 percentile·(3rd·quartile).·See·<code>quartiles</code>.</p>61 percentile·(3rd·quartile).·See·<code>quartiles</code>.</p>
62 <p>See·also:·<a·href="https://en.wikipedia.org/wiki/Interquartile_range">https://en.wikipedia.org/wiki/Interquartile_range</a></p>62 <p>See·also:·<a·href="https://en.wikipedia.org/wiki/Interquartile_range">https://en.wikipedia.org/wiki/Interquartile_range</a></p>
63 </div></details></div><h2·id="foreign-impls"·class="section-header">Implementations·on·Foreign·Types<a·href="#foreign-impls"·class="anchor">§</a></h2><details·class="toggle·implementors-toggle"><summary><section·id="impl-Stats-for-%5Bf64%5D"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#138-256">source</a><a·href="#impl-Stats-for-%5Bf64%5D"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="trait.Stats.html"·title="trait·test::stats::Stats">Stats</a>·for·[<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>]</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.sum"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#140-17[·...·truncated·by·diffoscope;·len:·7499,·SHA:·38f9c9cab326def7b7b0f03e27f82ca21a5cc1aef5ffe767de261e094b07ae23·...·]/std/primitive.f64.html">f64</a></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></details></div></details><h2·id="implementors"·class="section-header">Implementors<a·href="#implementors"·class="anchor">§</a></h2><div·id="implementors-list"></div><script·src="../../trait.impl/test/stats/trait.Stats.js"·data-ignore-extern-crates="std"·async></script></section></div></main></body></html>63 </div></details></div><h2·id="foreign-impls"·class="section-header">Implementations·on·Foreign·Types<a·href="#foreign-impls"·class="anchor">§</a></h2><details·class="toggle·implementors-toggle"><summary><section·id="impl-Stats-for-%5Bf64%5D"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#138-256">source</a><a·href="#impl-Stats-for-%5Bf64%5D"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="trait.Stats.html"·title="trait·test::stats::Stats">Stats</a>·for·[<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>]</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.sum"·class="method·trait-impl"><a·class="src·rightside"·href="../../sr[·...·truncated·by·diffoscope;·len:·7958,·SHA:·7fa00c00e3886ca76a6842a36519f697fb93c8dba88fbcdea552253e9abdc69a·...·]/std/primitive.f64.html">f64</a></h4></section></summary><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></details></div></details><h2·id="implementors"·class="section-header">Implementors<a·href="#implementors"·class="anchor">§</a></h2><div·id="implementors-list"></div><script·src="../../trait.impl/test/stats/trait.Stats.js"·data-ignore-extern-crates="std"·async></script></section></div></main></body></html>
42.5 KB
./usr/share/doc/rust-web-doc/html/test/struct.Options.html
    
Offset 1, 18 lines modifiedOffset 1, 18 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="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."><title>Options·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Options</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.display_output">display_output</a></li><li><a·href="#structfield.panic_abort">panic_abort</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.display_output">display_output</a></li><li><a·href="#method.new">new</a></li><li><a·href="#method.panic_abort">panic_abort</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Options">Clone</a></li><li><a·href="#impl-Copy-for-Options">Copy</a></li><li><a·href="#impl-Debug-for-Options">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Options">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Options">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Options">Send</a></li><li><a·href="#impl-Sync-for-Options">Sync</a></li><li><a·href="#impl-Unpin-for-Options">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Options">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="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."><title>Options·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Options</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.display_output">display_output</a></li><li><a·href="#structfield.panic_abort">panic_abort</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.display_output">display_output</a></li><li><a·href="#method.new">new</a></li><li><a·href="#method.panic_abort">panic_abort</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Options">Clone</a></li><li><a·href="#impl-Copy-for-Options">Copy</a></li><li><a·href="#impl-Debug-for-Options">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Options">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Options">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Options">Send</a></li><li><a·href="#impl-Sync-for-Options">Sync</a></li><li><a·href="#impl-Unpin-for-Options">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Options">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">Options</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/options.rs.html#65-68">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Options·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">Options</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/options.rs.html#65-68">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Options·{
3 ····pub·display_output:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,3 ····pub·display_output:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
4 ····pub·panic_abort:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,4 ····pub·panic_abort:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Options·for·the·test·run·defined·by·the·caller·(instead·of·CLI·arguments).5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Options·for·the·test·run·defined·by·the·caller·(instead·of·CLI·arguments).
6 In·case·we·want·to·add·other·options·as·well,·just·add·them·in·this·struct.</p>6 In·case·we·want·to·add·other·options·as·well,·just·add·them·in·this·struct.</p>
7 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.display_output"·class="structfield·section-header"><a·href="#structfield.display_output"·class="anchor·field">§</a><code>display_output:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.panic_abort"·class=[·...·truncated·by·diffoscope;·len:·4323,·SHA:·3af32fbeb57a3e57be390fb70d91d8661e6859ca34645fc945d3e03acfa4a8e0·...·]/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Options"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">source</a><a·href="#impl-Debug-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><section·id="impl-Copy-for-Options"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">source</a><a·href="#impl-Copy-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Options"·class="impl"><a·href="#impl-Freeze-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-RefUnwindSafe-for-Options"·class="impl"><a·href="#impl-RefUnwindSafe-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Send-for-Options"·class="impl"><a·href="#impl-Send-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Sync-for-Options"·class="impl"><a·href="#impl-Sync-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Unpin-for-Options"·class="impl"><a·href="#impl-Unpin-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-UnwindSafe-for-Options"·class="impl"><a·href="#impl-UnwindSafe-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where7 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.display_output"·class="structfield·section-header"><a·href="#structfield.display_output"·class="anchor·field">§</a><code>display_output:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="s[·...·truncated·by·diffoscope;·len:·4473,·SHA:·cdbe355214735bace3673bc1db7c0439b73dcc777f3a617ffc5b5e83437c8c93·...·]/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Options"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">source</a><a·href="#impl-Debug-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><section·id="impl-Copy-for-Options"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">source</a><a·href="#impl-Copy-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Options"·class="impl"><a·href="#impl-Freeze-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-RefUnwindSafe-for-Options"·class="impl"><a·href="#impl-RefUnwindSafe-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Send-for-Options"·class="impl"><a·href="#impl-Send-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Sync-for-Options"·class="impl"><a·href="#impl-Sync-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Unpin-for-Options"·class="impl"><a·href="#impl-Unpin-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-UnwindSafe-for-Options"·class="impl"><a·href="#impl-UnwindSafe-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
8 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where8 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
9 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where9 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
10 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>10 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
12 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>12 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
13 <p>That·is,·this·conversion·is·whatever·the·implementation·of13 <p>That·is,·this·conversion·is·whatever·the·implementation·of
14 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>14 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
16 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where16 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where17 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
18 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>18 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
51.9 KB
./usr/share/doc/rust-web-doc/html/test/struct.TestDesc.html
    
Offset 1, 28 lines modifiedOffset 1, 28 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestDesc`·struct·in·crate·`test`."><title>TestDesc·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestDesc</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.compile_fail">compile_fail</a></li><li><a·href="#structfield.end_col">end_col</a></li><li><a·href="#structfield.end_line">end_line</a></li><li><a·href="#structfield.ignore">ignore</a></li><li><a·href="#structfield.ignore_message">ignore_message</a></li><li><a·href="#structfield.name">name</a></li><li><a·href="#structfield.no_run">no_run</a></li><li><a·href="#structfield.should_panic">should_panic</a></li><li><a·href="#structfield.source_file">source_file</a></li><li><a·href="#structfield.start_col">start_col</a></li><li><a·href="#structfield.start_line">start_line</a></li><li><a·href="#structfield.test_type">test_type</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padded_name">padded_name</a></li><li><a·href="#method.test_mode">test_mode</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestDesc">Clone</a></li><li><a·href="#impl-Debug-for-TestDesc">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestDesc">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestDesc">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestDesc">Send</a></li><li><a·href="#impl-Sync-for-TestDesc">Sync</a></li><li><a·href="#impl-Unpin-for-TestDesc">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestDesc">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestDesc`·struct·in·crate·`test`."><title>TestDesc·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestDesc</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.compile_fail">compile_fail</a></li><li><a·href="#structfield.end_col">end_col</a></li><li><a·href="#structfield.end_line">end_line</a></li><li><a·href="#structfield.ignore">ignore</a></li><li><a·href="#structfield.ignore_message">ignore_message</a></li><li><a·href="#structfield.name">name</a></li><li><a·href="#structfield.no_run">no_run</a></li><li><a·href="#structfield.should_panic">should_panic</a></li><li><a·href="#structfield.source_file">source_file</a></li><li><a·href="#structfield.start_col">start_col</a></li><li><a·href="#structfield.start_line">start_line</a></li><li><a·href="#structfield.test_type">test_type</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padded_name">padded_name</a></li><li><a·href="#method.test_mode">test_mode</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestDesc">Clone</a></li><li><a·href="#impl-Debug-for-TestDesc">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestDesc">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestDesc">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestDesc">Send</a></li><li><a·href="#impl-Sync-for-TestDesc">Sync</a></li><li><a·href="#impl-Unpin-for-TestDesc">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestDesc">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestDesc</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#198-211">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestDesc·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestDesc</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#198-211">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestDesc·{
3 ····pub·name:·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a>,3 ····pub·name:·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a>,
4 ····pub·ignore:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,4 ····pub·ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
5 ····pub·ignore_message:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>&gt;,5 ····pub·ignore_message:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>&gt;,
6 ····pub·source_file:·&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>,6 ····pub·source_file:·&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>,
7 ····pub·start_line:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,7 ····pub·start_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
8 ····pub·start_col:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,8 ····pub·start_col:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
9 ····pub·end_line:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,9 ····pub·end_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
10 ····pub·end_col:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,10 ····pub·end_col:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
11 ····pub·should_panic:·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>,11 ····pub·should_panic:·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>,
12 ····pub·compile_fail:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,12 ····pub·compile_fail:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
13 ····pub·no_run:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,13 ····pub·no_run:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
14 ····pub·test_type:·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a>,14 ····pub·test_type:·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a>,
15 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.name"·class="structfield·section-header"><a·href="#structfield.name"·class="anchor·field">§</a><code>name:·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.ignore"·class="structfield·section-header"><a·href="#structfield.ignore"·class="anchor·field">§</a><code>ignore:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.ignore_message"·cla[·...·truncated·by·diffoscope;·len:·5709,·SHA:·7051b896dcf53149db08582968ea1ef22bc9dcb902405027b4b8579c3ed8c5f3·...·]/std/primitive.str.html">str</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Returns·None·for·ignored·test·or·tests·that·are·just·run,·otherwise·returns·a·description·of·the·type·of·test.15 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.name"·class="structfield·section-header"><a·href="#structfield.name"·class="anchor·field">§</a><code>name:·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.ignore"·class="structfield·section-header"><a·href="#structfield.ignore"·class="anchor·field">§</a><code>ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="s[·...·truncated·by·diffoscope;·len:·6039,·SHA:·859e70561a7f17a068b39bedca7506dbe5c82ff5f8300950a512e09a62cd7a60·...·]/std/primitive.str.html">str</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Returns·None·for·ignored·test·or·tests·that·are·just·run,·otherwise·returns·a·description·of·the·type·of·test.
16 Descriptions·include·“should·panic”,·“compile·fail”·and·“compile”.</p>16 Descriptions·include·“should·panic”,·“compile·fail”·and·“compile”.</p>
17 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestDesc"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#197">source</a><a·href="#impl-Clone-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#197">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestDesc"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#197">source</a><a·href="#impl-Debug-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#197">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestDesc"·class="impl"><a·href="#impl-Freeze-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-RefUnwindSafe-for-TestDesc"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Send-for-TestDesc"·class="impl"><a·href="#impl-Send-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Sync-for-TestDesc"·class="impl"><a·href="#impl-Sync-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Unpin-for-TestDesc"·class="impl"><a·href="#impl-Unpin-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-UnwindSafe-for-TestDesc"·class="impl"><a·href="#impl-UnwindSafe-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where17 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestDesc"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#197">source</a><a·href="#impl-Clone-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#197">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestDesc"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#197">source</a><a·href="#impl-Debug-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#197">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestDesc"·class="impl"><a·href="#impl-Freeze-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-RefUnwindSafe-for-TestDesc"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Send-for-TestDesc"·class="impl"><a·href="#impl-Send-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Sync-for-TestDesc"·class="impl"><a·href="#impl-Sync-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Unpin-for-TestDesc"·class="impl"><a·href="#impl-Unpin-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-UnwindSafe-for-TestDesc"·class="impl"><a·href="#impl-UnwindSafe-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
18 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where18 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
19 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where19 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
20 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>20 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
21 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where21 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>22 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
23 <p>That·is,·this·conversion·is·whatever·the·implementation·of23 <p>That·is,·this·conversion·is·whatever·the·implementation·of
24 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>24 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
25 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where25 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
26 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where26 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
27 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where27 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
28 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>28 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
23.5 KB
./usr/share/doc/rust-web-doc/html/test/struct.TestDescAndFn.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestDescAndFn`·struct·in·crate·`test`."><title>TestDescAndFn·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestDescAndFn</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.desc">desc</a></li><li><a·href="#structfield.testfn">testfn</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestDescAndFn">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-RefUnwindSafe-for-TestDescAndFn">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestDescAndFn">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestDescAndFn">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestDescAndFn">Freeze</a></li><li><a·href="#impl-Send-for-TestDescAndFn">Send</a></li><li><a·href="#impl-Unpin-for-TestDescAndFn">Unpin</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestDescAndFn`·struct·in·crate·`test`."><title>TestDescAndFn·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestDescAndFn</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.desc">desc</a></li><li><a·href="#structfield.testfn">testfn</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestDescAndFn">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-RefUnwindSafe-for-TestDescAndFn">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestDescAndFn">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestDescAndFn">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestDescAndFn">Freeze</a></li><li><a·href="#impl-Send-for-TestDescAndFn">Send</a></li><li><a·href="#impl-Unpin-for-TestDescAndFn">Unpin</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestDescAndFn</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#250-253">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestDescAndFn·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestDescAndFn</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#250-253">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestDescAndFn·{
3 ····pub·desc:·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,3 ····pub·desc:·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,
4 ····pub·testfn:·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,4 ····pub·testfn:·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,
5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.desc"·class="structfield·section-header"><a·href="#structfield.desc"·class="anchor·field">§</a><code>desc:·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.testfn"·class="structfield·section-header"><a·href="#structfield.testfn"·class="anchor·field">§</a><code>testfn:·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#249">source</a><a·href="#impl-Debug-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#249">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestDescAndFn"·class="impl"><a·href="#impl-Freeze-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-RefUnwindSafe-for-TestDescAndFn"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Send-for-TestDescAndFn"·class="impl"><a·href="#impl-Send-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Sync-for-TestDescAndFn"·class="impl"><a·href="#impl-Sync-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Unpin-for-TestDescAndFn"·class="impl"><a·href="#impl-Unpin-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-UnwindSafe-for-TestDescAndFn"·class="impl"><a·href="#impl-UnwindSafe-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.desc"·class="structfield·section-header"><a·href="#structfield.desc"·class="anchor·field">§</a><code>desc:·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.testfn"·class="structfield·section-header"><a·href="#structfield.testfn"·class="anchor·field">§</a><code>testfn:·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#249">source</a><a·href="#impl-Debug-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#249">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestDescAndFn"·class="impl"><a·href="#impl-Freeze-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-RefUnwindSafe-for-TestDescAndFn"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Send-for-TestDescAndFn"·class="impl"><a·href="#impl-Send-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Sync-for-TestDescAndFn"·class="impl"><a·href="#impl-Sync-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Unpin-for-TestDescAndFn"·class="impl"><a·href="#impl-Unpin-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-UnwindSafe-for-TestDescAndFn"·class="impl"><a·href="#impl-UnwindSafe-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
6 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where6 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
7 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where7 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
8 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>8 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
9 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where9 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
10 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>10 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
11 <p>That·is,·this·conversion·is·whatever·the·implementation·of11 <p>That·is,·this·conversion·is·whatever·the·implementation·of
12 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>12 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
14 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where14 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
15 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>15 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
44.1 KB
./usr/share/doc/rust-web-doc/html/test/struct.TestId.html
    
Offset 1, 17 lines modifiedOffset 1, 17 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestId`·struct·in·crate·`test`."><title>TestId·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestId</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0">0</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestId">Clone</a></li><li><a·href="#impl-Copy-for-TestId">Copy</a></li><li><a·href="#impl-Debug-for-TestId">Debug</a></li><li><a·href="#impl-Eq-for-TestId">Eq</a></li><li><a·href="#impl-Hash-for-TestId">Hash</a></li><li><a·href="#impl-PartialEq-for-TestId">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestId">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestId">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestId">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestId">Send</a></li><li><a·href="#impl-Sync-for-TestId">Sync</a></li><li><a·href="#impl-Unpin-for-TestId">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestId">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestId`·struct·in·crate·`test`."><title>TestId·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestId</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0">0</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestId">Clone</a></li><li><a·href="#impl-Copy-for-TestId">Copy</a></li><li><a·href="#impl-Debug-for-TestId">Debug</a></li><li><a·href="#impl-Eq-for-TestId">Eq</a></li><li><a·href="#impl-Hash-for-TestId">Hash</a></li><li><a·href="#impl-PartialEq-for-TestId">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestId">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestId">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestId">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestId">Send</a></li><li><a·href="#impl-Sync-for-TestId">Sync</a></li><li><a·href="#impl-Unpin-for-TestId">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestId">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestId</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#193">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestId(pub·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-[·...·truncated·by·diffoscope;·len:·5534,·SHA:·cbb36e36d3027f5d1c9af900cc5467cc9195058d313b263dddb57e4622218857·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestId</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/types.rs.html#193">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestId(pub·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="[·...·truncated·by·diffoscope;·len:·5714,·SHA:·47764e879578717d229976eacc32b4d101b55e1281683fded7963b6e74500b84·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
3 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,3 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
4 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestId"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#impl-PartialEq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used4 ····Self:·<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestId"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#impl-PartialEq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
5 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always5 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
6 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestId"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#impl-Copy-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Eq-for-TestId"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#impl-Eq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-StructuralPartialEq-for-TestId"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#impl-StructuralPartialEq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestId"·class="impl"><a·href="#impl-Freeze-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-RefUnwindSafe-for-TestId"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Send-for-TestId"·class="impl"><a·href="#impl-Send-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Sync-for-TestId"·class="impl"><a·href="#impl-Sync-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Unpin-for-TestId"·class="impl"><a·href="#impl-Unpin-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-UnwindSafe-for-TestId"·class="impl"><a·href="#impl-UnwindSafe-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where6 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestId"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#impl-Copy-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Eq-for-TestId"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#impl-Eq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-StructuralPartialEq-for-TestId"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#192">source</a><a·href="#impl-StructuralPartialEq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestId"·class="impl"><a·href="#impl-Freeze-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-RefUnwindSafe-for-TestId"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Send-for-TestId"·class="impl"><a·href="#impl-Send-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Sync-for-TestId"·class="impl"><a·href="#impl-Sync-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Unpin-for-TestId"·class="impl"><a·href="#impl-Unpin-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-UnwindSafe-for-TestId"·class="impl"><a·href="#impl-UnwindSafe-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
7 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where7 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
8 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where8 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
9 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>9 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
10 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where10 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
11 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>11 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
12 <p>That·is,·this·conversion·is·whatever·the·implementation·of12 <p>That·is,·this·conversion·is·whatever·the·implementation·of
13 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>13 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
15 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where15 ····T:·<a·class="trait"·href="../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
16 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where16 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>17 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
51.1 KB
./usr/share/doc/rust-web-doc/html/test/struct.TestOpts.html
    
Offset 1, 35 lines modifiedOffset 1, 35 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestOpts`·struct·in·crate·`test`."><title>TestOpts·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestOpts</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bench_benchmarks">bench_benchmarks</a></li><li><a·href="#structfield.color">color</a></li><li><a·href="#structfield.exclude_should_panic">exclude_should_panic</a></li><li><a·href="#structfield.fail_fast">fail_fast</a></li><li><a·href="#structfield.filter_exact">filter_exact</a></li><li><a·href="#structfield.filters">filters</a></li><li><a·href="#structfield.force_run_in_process">force_run_in_process</a></li><li><a·href="#structfield.format">format</a></li><li><a·href="#structfield.list">list</a></li><li><a·href="#structfield.logfile">logfile</a></li><li><a·href="#structfield.nocapture">nocapture</a></li><li><a·href="#structfield.options">options</a></li><li><a·href="#structfield.run_ignored">run_ignored</a></li><li><a·href="#structfield.run_tests">run_tests</a></li><li><a·href="#structfield.shuffle">shuffle</a></li><li><a·href="#structfield.shuffle_seed">shuffle_seed</a></li><li><a·href="#structfield.skip">skip</a></li><li><a·href="#structfield.test_threads">test_threads</a></li><li><a·href="#structfield.time_options">time_options</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.use_color">use_color</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestOpts">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestOpts">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestOpts">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestOpts">Send</a></li><li><a·href="#impl-Sync-for-TestOpts">Sync</a></li><li><a·href="#impl-Unpin-for-TestOpts">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestOpts">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestOpts`·struct·in·crate·`test`."><title>TestOpts·in·test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../test/index.html"><img·class="rust-logo"·src="../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestOpts</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bench_benchmarks">bench_benchmarks</a></li><li><a·href="#structfield.color">color</a></li><li><a·href="#structfield.exclude_should_panic">exclude_should_panic</a></li><li><a·href="#structfield.fail_fast">fail_fast</a></li><li><a·href="#structfield.filter_exact">filter_exact</a></li><li><a·href="#structfield.filters">filters</a></li><li><a·href="#structfield.force_run_in_process">force_run_in_process</a></li><li><a·href="#structfield.format">format</a></li><li><a·href="#structfield.list">list</a></li><li><a·href="#structfield.logfile">logfile</a></li><li><a·href="#structfield.nocapture">nocapture</a></li><li><a·href="#structfield.options">options</a></li><li><a·href="#structfield.run_ignored">run_ignored</a></li><li><a·href="#structfield.run_tests">run_tests</a></li><li><a·href="#structfield.shuffle">shuffle</a></li><li><a·href="#structfield.shuffle_seed">shuffle_seed</a></li><li><a·href="#structfield.skip">skip</a></li><li><a·href="#structfield.test_threads">test_threads</a></li><li><a·href="#structfield.time_options">time_options</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.use_color">use_color</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestOpts">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestOpts">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestOpts">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestOpts">Send</a></li><li><a·href="#impl-Sync-for-TestOpts">Sync</a></li><li><a·href="#impl-Unpin-for-TestOpts">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestOpts">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·crate·test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestOpts</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/cli.rs.html#11-34">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestOpts·{<details·class="toggle·type-contents-toggle"><summary·class="hideme"><span>Show·19·fields</span></summary>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestOpts</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../src/test/cli.rs.html#11-34">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestOpts·{<details·class="toggle·type-contents-toggle"><summary·class="hideme"><span>Show·19·fields</span></summary>
3 ····pub·list:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,3 ····pub·list:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
4 ····pub·filters:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,4 ····pub·filters:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,
5 ····pub·filter_exact:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,5 ····pub·filter_exact:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
6 ····pub·force_run_in_process:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,6 ····pub·force_run_in_process:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
7 ····pub·exclude_should_panic:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,7 ····pub·exclude_should_panic:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
8 ····pub·run_ignored:·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>,8 ····pub·run_ignored:·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>,
9 ····pub·run_tests:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,9 ····pub·run_tests:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
10 ····pub·bench_benchmarks:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,10 ····pub·bench_benchmarks:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
11 ····pub·logfile:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="../std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a>&gt;,11 ····pub·logfile:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="https://doc.rust-lang.org/1.78.0/std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a>&gt;,
12 ····pub·nocapture:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,12 ····pub·nocapture:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
13 ····pub·color:·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a>,13 ····pub·color:·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a>,
14 ····pub·format:·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>,14 ····pub·format:·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>,
15 ····pub·shuffle:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,15 ····pub·shuffle:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
16 ····pub·shuffle_seed:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="../std/primitive.u64.html">u64</a>&gt;,16 ····pub·shuffle_seed:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u64.html">u64</a>&gt;,
17 ····pub·test_threads:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="../std/primitive.usize.html">usize</a>&gt;,17 ····pub·test_threads:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>&gt;,
18 ····pub·skip:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,18 ····pub·skip:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,
19 ····pub·time_options:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="test/struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a>&gt;,19 ····pub·time_options:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="test/struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a>&gt;,
20 ····pub·fail_fast:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,20 ····pub·fail_fast:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
21 ····pub·options:·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a>,21 ····pub·options:·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a>,
22 </details>}</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.list"·class="structfield·section-header"><a·href="#structfield.list"·class="anchor·field">§</a><code>list:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.filters"·class="str[·...·truncated·by·diffoscope;·len:·7290,·SHA:·d9b5b0b2bbe18279463b045f69aa8d40d1fd7b92f879379acbffcaf12dfbde44·...·]/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Stop·at·first·failing·test.22 </details>}</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.list"·class="structfield·section-header"><a·href="#structfield.list"·class="anchor·field">§</a><code>list:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="s[·...·truncated·by·diffoscope;·len:·7650,·SHA:·89149bc8a334600c6990284654c681dd28232c2f2d71cd90e33ace5159d77509·...·]/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Stop·at·first·failing·test.
23 May·run·a·few·more·tests·due·to·threading,·but·will23 May·run·a·few·more·tests·due·to·threading,·but·will
24 abort·as·soon·as·possible.</p>24 abort·as·soon·as·possible.</p>
25 </div><span·id="structfield.options"·class="structfield·section-header"><a·href="#structfield.options"·class="anchor·field">§</a><code>options:·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TestOpts"·class="impl"><a·class="src·rightside"·href="../src/test/cli.rs.html#36-44">source</a><a·href="#impl-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></summary><div·class="impl-items"><section·id="method.use_color"·class="method"><a·class="src·rightside"·href="../src/test/cli.rs.html#37-43">source</a><h4·class="code-header">pub·fn·<a·href="#method.use_color"·class="fn">use_color</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestOpts"·class="impl"><a·class="src·rightside"·href="../src/test/cli.rs.html#10">source</a><a·href="#impl-Debug-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/cli.rs.html#10">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestOpts"·class="impl"><a·href="#impl-Freeze-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-RefUnwindSafe-for-TestOpts"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Send-for-TestOpts"·class="impl"><a·href="#impl-Send-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Sync-for-TestOpts"·class="impl"><a·href="#impl-Sync-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Unpin-for-TestOpts"·class="impl"><a·href="#impl-Unpin-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-UnwindSafe-for-TestOpts"·class="impl"><a·href="#impl-UnwindSafe-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where25 </div><span·id="structfield.options"·class="structfield·section-header"><a·href="#structfield.options"·class="anchor·field">§</a><code>options:·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TestOpts"·class="impl"><a·class="src·rightside"·href="../src/test/cli.rs.html#36-44">source</a><a·href="#impl-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></summary><div·class="impl-items"><section·id="method.use_color"·class="method"><a·class="src·rightside"·href="../src/test/cli.rs.html#37-43">source</a><h4·class="code-header">pub·fn·<a·href="#method.use_color"·class="fn">use_color</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestOpts"·class="impl"><a·class="src·rightside"·href="../src/test/cli.rs.html#10">source</a><a·href="#impl-Debug-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/cli.rs.html#10">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestOpts"·class="impl"><a·href="#impl-Freeze-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-RefUnwindSafe-for-TestOpts"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Send-for-TestOpts"·class="impl"><a·href="#impl-Send-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Sync-for-TestOpts"·class="impl"><a·href="#impl-Sync-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Unpin-for-TestOpts"·class="impl"><a·href="#impl-Unpin-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-UnwindSafe-for-TestOpts"·class="impl"><a·href="#impl-UnwindSafe-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
26 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where26 ····T:·'static·+·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
27 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where27 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
28 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>28 ····T:·?<a·class="trait"·href="../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
29 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where29 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
30 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>30 ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
31 <p>That·is,·this·conversion·is·whatever·the·implementation·of31 <p>That·is,·this·conversion·is·whatever·the·implementation·of
32 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>32 <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
33 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where33 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
34 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where34 ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
35 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>35 ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
38.9 KB
./usr/share/doc/rust-web-doc/html/test/test/enum.RunIgnored.html
    
Offset 1, 21 lines modifiedOffset 1, 21 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·ignored·test·should·be·run·or·not"><title>RunIgnored·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">RunIgnored</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No">No</a></li><li><a·href="#variant.Only">Only</a></li><li><a·href="#variant.Yes">Yes</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-RunIgnored">Clone</a></li><li><a·href="#impl-Copy-for-RunIgnored">Copy</a></li><li><a·href="#impl-Debug-for-RunIgnored">Debug</a></li><li><a·href="#impl-Eq-for-RunIgnored">Eq</a></li><li><a·href="#impl-PartialEq-for-RunIgnored">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-RunIgnored">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-RunIgnored">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-RunIgnored">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-RunIgnored">Send</a></li><li><a·href="#impl-Sync-for-RunIgnored">Sync</a></li><li><a·href="#impl-Unpin-for-RunIgnored">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-RunIgnored">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·ignored·test·should·be·run·or·not"><title>RunIgnored·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">RunIgnored</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No">No</a></li><li><a·href="#variant.Only">Only</a></li><li><a·href="#variant.Yes">Yes</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-RunIgnored">Clone</a></li><li><a·href="#impl-Copy-for-RunIgnored">Copy</a></li><li><a·href="#impl-Debug-for-RunIgnored">Debug</a></li><li><a·href="#impl-Eq-for-RunIgnored">Eq</a></li><li><a·href="#impl-PartialEq-for-RunIgnored">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-RunIgnored">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-RunIgnored">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-RunIgnored">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-RunIgnored">Send</a></li><li><a·href="#impl-Sync-for-RunIgnored">Sync</a></li><li><a·href="#impl-Unpin-for-RunIgnored">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-RunIgnored">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">RunIgnored</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/options.rs.html#43-48">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·RunIgnored·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">RunIgnored</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/options.rs.html#43-48">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·RunIgnored·{
3 ····Yes,3 ····Yes,
4 ····No,4 ····No,
5 ····Only,5 ····Only,
6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·ignored·test·should·be·run·or·not</p>6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·ignored·test·should·be·run·or·not</p>
7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.Yes"·class="variant"><a·href="#variant.Yes"·class="anchor">§</a><h3·class="code-header">Yes</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.No"·class="variant"><a·href="#variant.No"·class="anchor">§</a><h3·class="code-header">No</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.Only"·class="variant"><a·href="#variant.Only"·class="anchor">§</a><h3·class="code-header">Only</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Run·only·ignored·tests</p>7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.Yes"·class="variant"><a·href="#variant.Yes"·class="anchor">§</a><h3·class="code-header">Yes</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.No"·class="variant"><a·href="#variant.No"·class="anchor">§</a><h3·class="code-header">No</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.Only"·class="variant"><a·href="#variant.Only"·class="anchor">§</a><h3·class="code-header">Only</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Run·only·ignored·tests</p>
8 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-Clone-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><[·...·truncated·by·diffoscope;·len:·2294,·SHA:·0e6a20e7347fe2a853bb7c83c99ea3fdf783c9d6bc57f429acba8fb79dd5dc25·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used8 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-Clone-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div>[·...·truncated·by·diffoscope;·len:·2348,·SHA:·dbfab4486c8842bc7988f99f4cafcce21e9b35565d3aaa96ae6e254d495b3466·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
9 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always9 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
10 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-Copy-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Eq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-Eq-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-StructuralPartialEq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-StructuralPartialEq-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-RunIgnored"·class="impl"><a·href="#impl-Freeze-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-RefUnwindSafe-for-RunIgnored"·class="impl"><a·href="#impl-RefUnwindSafe-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Send-for-RunIgnored"·class="impl"><a·href="#impl-Send-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Sync-for-RunIgnored"·class="impl"><a·href="#impl-Sync-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Unpin-for-RunIgnored"·class="impl"><a·href="#impl-Unpin-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-UnwindSafe-for-RunIgnored"·class="impl"><a·href="#impl-UnwindSafe-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where10 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-Copy-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Eq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-Eq-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-StructuralPartialEq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-StructuralPartialEq-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-RunIgnored"·class="impl"><a·href="#impl-Freeze-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-RefUnwindSafe-for-RunIgnored"·class="impl"><a·href="#impl-RefUnwindSafe-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Send-for-RunIgnored"·class="impl"><a·href="#impl-Send-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Sync-for-RunIgnored"·class="impl"><a·href="#impl-Sync-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-Unpin-for-RunIgnored"·class="impl"><a·href="#impl-Unpin-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section><section·id="impl-UnwindSafe-for-RunIgnored"·class="impl"><a·href="#impl-UnwindSafe-for-RunIgnored"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
11 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where11 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
12 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where12 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
15 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>15 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
16 <p>That·is,·this·conversion·is·whatever·the·implementation·of16 <p>That·is,·this·conversion·is·whatever·the·implementation·of
17 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>17 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
19 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where19 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
20 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where20 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
21 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>21 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
28.9 KB
./usr/share/doc/rust-web-doc/html/test/test/enum.RunStrategy.html
    
Offset 3, 19 lines modifiedOffset 3, 19 lines modified
3 ····InProcess,3 ····InProcess,
4 ····SpawnPrimary,4 ····SpawnPrimary,
5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.InProcess"·class="variant"><a·href="#variant.InProcess"·class="anchor">§</a><h3·class="code-header">InProcess</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Runs·the·test·in·the·current·process,·and·sends·the·result·back·over·the5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.InProcess"·class="variant"><a·href="#variant.InProcess"·class="anchor">§</a><h3·class="code-header">InProcess</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Runs·the·test·in·the·current·process,·and·sends·the·result·back·over·the
6 supplied·channel.</p>6 supplied·channel.</p>
7 </div><section·id="variant.SpawnPrimary"·class="variant"><a·href="#variant.SpawnPrimary"·class="anchor">§</a><h3·class="code-header">SpawnPrimary</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Spawns·a·subprocess·to·run·the·test,·and·sends·the·result·back·over·the7 </div><section·id="variant.SpawnPrimary"·class="variant"><a·href="#variant.SpawnPrimary"·class="anchor">§</a><h3·class="code-header">SpawnPrimary</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Spawns·a·subprocess·to·run·the·test,·and·sends·the·result·back·over·the
8 supplied·channel.·Requires·<code>argv[0]</code>·to·exist·and·point·to·the·binary8 supplied·channel.·Requires·<code>argv[0]</code>·to·exist·and·point·to·the·binary
9 that’s·currently·running.</p>9 that’s·currently·running.</p>
10 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-RunStrategy"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#50">source</a><a·href="#impl-Clone-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#50">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><section·id="impl-Copy-for-RunStrategy"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#50">source</a><a·href="#impl-Copy-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-RunStrategy"·class="impl"><a·href="#impl-Freeze-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-RefUnwindSafe-for-RunStrategy"·class="impl"><a·href="#impl-RefUnwindSafe-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-Send-for-RunStrategy"·class="impl"><a·href="#impl-Send-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-Sync-for-RunStrategy"·class="impl"><a·href="#impl-Sync-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-Unpin-for-RunStrategy"·class="impl"><a·href="#impl-Unpin-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-UnwindSafe-for-RunStrategy"·class="impl"><a·href="#impl-UnwindSafe-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where10 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-RunStrategy"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#50">source</a><a·href="#impl-Clone-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#50">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><section·id="impl-Copy-for-RunStrategy"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#50">source</a><a·href="#impl-Copy-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-RunStrategy"·class="impl"><a·href="#impl-Freeze-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-RefUnwindSafe-for-RunStrategy"·class="impl"><a·href="#impl-RefUnwindSafe-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-Send-for-RunStrategy"·class="impl"><a·href="#impl-Send-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-Sync-for-RunStrategy"·class="impl"><a·href="#impl-Sync-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-Unpin-for-RunStrategy"·class="impl"><a·href="#impl-Unpin-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section><section·id="impl-UnwindSafe-for-RunStrategy"·class="impl"><a·href="#impl-UnwindSafe-for-RunStrategy"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
11 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where11 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
12 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where12 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
15 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>15 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
16 <p>That·is,·this·conversion·is·whatever·the·implementation·of16 <p>That·is,·this·conversion·is·whatever·the·implementation·of
17 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>17 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
19 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where19 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
20 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where20 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
21 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>21 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
45.3 KB
./usr/share/doc/rust-web-doc/html/test/test/enum.ShouldPanic.html
    
Offset 1, 22 lines modifiedOffset 1, 22 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·test·is·expected·to·panic·or·not"><title>ShouldPanic·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">ShouldPanic</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No">No</a></li><li><a·href="#variant.Yes">Yes</a></li><li><a·href="#variant.YesWithMessage">YesWithMessage</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-ShouldPanic">Clone</a></li><li><a·href="#impl-Copy-for-ShouldPanic">Copy</a></li><li><a·href="#impl-Debug-for-ShouldPanic">Debug</a></li><li><a·href="#impl-Eq-for-ShouldPanic">Eq</a></li><li><a·href="#impl-Hash-for-ShouldPanic">Hash</a></li><li><a·href="#impl-PartialEq-for-ShouldPanic">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-ShouldPanic">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-ShouldPanic">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ShouldPanic">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ShouldPanic">Send</a></li><li><a·href="#impl-Sync-for-ShouldPanic">Sync</a></li><li><a·href="#impl-Unpin-for-ShouldPanic">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ShouldPanic">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Whether·test·is·expected·to·panic·or·not"><title>ShouldPanic·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">ShouldPanic</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No">No</a></li><li><a·href="#variant.Yes">Yes</a></li><li><a·href="#variant.YesWithMessage">YesWithMessage</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-ShouldPanic">Clone</a></li><li><a·href="#impl-Copy-for-ShouldPanic">Copy</a></li><li><a·href="#impl-Debug-for-ShouldPanic">Debug</a></li><li><a·href="#impl-Eq-for-ShouldPanic">Eq</a></li><li><a·href="#impl-Hash-for-ShouldPanic">Hash</a></li><li><a·href="#impl-PartialEq-for-ShouldPanic">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-ShouldPanic">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-ShouldPanic">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ShouldPanic">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ShouldPanic">Send</a></li><li><a·href="#impl-Sync-for-ShouldPanic">Sync</a></li><li><a·href="#impl-Unpin-for-ShouldPanic">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ShouldPanic">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">ShouldPanic</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/options.rs.html#12-16">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·ShouldPanic·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">ShouldPanic</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/options.rs.html#12-16">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·ShouldPanic·{
3 ····No,3 ····No,
4 ····Yes,4 ····Yes,
5 ····YesWithMessage(&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>),5 ····YesWithMessage(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>),
6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·test·is·expected·to·panic·or·not</p>6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Whether·test·is·expected·to·panic·or·not</p>
7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.No"·class="variant"><a·href="#variant.No"·class="anchor">§</a><h3·class="code-header">No</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.Yes"·class="variant"><a·href="#variant.Yes"·class="anchor">§</a><h3·class="code-header">Yes</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.YesWithMessage"·class="variant"><a·href="#variant.YesWithMessage"·class="anchor">§</a><h3·class="code-header">YesWithMessage(&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="trait-implementations"·c[·...·truncated·by·diffoscope;·len:·5211,·SHA:·6ac69dedb09543ee33a1a8b8159a2399126e9b0e40fbe10a672cab0ac67c04d2·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where7 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.No"·class="variant"><a·href="#variant.No"·class="anchor">§</a><h3·class="code-header">No</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.Yes"·class="variant"><a·href="#variant.Yes"·class="anchor">§</a><h3·class="code-header">Yes</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.YesWithMessage"·class="variant"><a·href="#variant.YesWithMessage"·class="anchor">§</a><h3·class="code-header">YesWithMessage(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·i[·...·truncated·by·diffoscope;·len:·5346,·SHA:·9d3632c6eb708682ef3d7262123b8a29d7a27d6d9d176b540dab52c194c9cfdf·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
8 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,8 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
9 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#impl-PartialEq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used9 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#impl-PartialEq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
10 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always10 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
11 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#impl-Copy-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Eq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#impl-Eq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-StructuralPartialEq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#impl-StructuralPartialEq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-ShouldPanic"·class="impl"><a·href="#impl-Freeze-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-RefUnwindSafe-for-ShouldPanic"·class="impl"><a·href="#impl-RefUnwindSafe-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Send-for-ShouldPanic"·class="impl"><a·href="#impl-Send-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Sync-for-ShouldPanic"·class="impl"><a·href="#impl-Sync-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Unpin-for-ShouldPanic"·class="impl"><a·href="#impl-Unpin-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-UnwindSafe-for-ShouldPanic"·class="impl"><a·href="#impl-UnwindSafe-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where11 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#impl-Copy-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Eq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#impl-Eq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-StructuralPartialEq-for-ShouldPanic"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#11">source</a><a·href="#impl-StructuralPartialEq-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-ShouldPanic"·class="impl"><a·href="#impl-Freeze-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-RefUnwindSafe-for-ShouldPanic"·class="impl"><a·href="#impl-RefUnwindSafe-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Send-for-ShouldPanic"·class="impl"><a·href="#impl-Send-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Sync-for-ShouldPanic"·class="impl"><a·href="#impl-Sync-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-Unpin-for-ShouldPanic"·class="impl"><a·href="#impl-Unpin-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section><section·id="impl-UnwindSafe-for-ShouldPanic"·class="impl"><a·href="#impl-UnwindSafe-for-ShouldPanic"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
12 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where12 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
14 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>14 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
16 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>16 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
17 <p>That·is,·this·conversion·is·whatever·the·implementation·of17 <p>That·is,·this·conversion·is·whatever·the·implementation·of
18 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>18 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
19 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where19 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
20 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where20 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
21 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where21 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>22 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
54.5 KB
./usr/share/doc/rust-web-doc/html/test/test/enum.TestName.html
    
Offset 1, 22 lines modifiedOffset 1, 22 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestName`·enum·in·crate·`test`."><title>TestName·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestName</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlignedTestName">AlignedTestName</a></li><li><a·href="#variant.DynTestName">DynTestName</a></li><li><a·href="#variant.StaticTestName">StaticTestName</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_slice">as_slice</a></li><li><a·href="#method.padding">padding</a></li><li><a·href="#method.with_padding">with_padding</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestName">Clone</a></li><li><a·href="#impl-Debug-for-TestName">Debug</a></li><li><a·href="#impl-Display-for-TestName">Display</a></li><li><a·href="#impl-Eq-for-TestName">Eq</a></li><li><a·href="#impl-Hash-for-TestName">Hash</a></li><li><a·href="#impl-PartialEq-for-TestName">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestName">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestName">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestName">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestName">Send</a></li><li><a·href="#impl-Sync-for-TestName">Sync</a></li><li><a·href="#impl-Unpin-for-TestName">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestName">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestName`·enum·in·crate·`test`."><title>TestName·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·enum"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestName</a></h2><div·class="sidebar-elems"><section><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlignedTestName">AlignedTestName</a></li><li><a·href="#variant.DynTestName">DynTestName</a></li><li><a·href="#variant.StaticTestName">StaticTestName</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_slice">as_slice</a></li><li><a·href="#method.padding">padding</a></li><li><a·href="#method.with_padding">with_padding</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestName">Clone</a></li><li><a·href="#impl-Debug-for-TestName">Debug</a></li><li><a·href="#impl-Display-for-TestName">Display</a></li><li><a·href="#impl-Eq-for-TestName">Eq</a></li><li><a·href="#impl-Hash-for-TestName">Hash</a></li><li><a·href="#impl-PartialEq-for-TestName">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestName">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestName">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestName">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestName">Send</a></li><li><a·href="#impl-Sync-for-TestName">Sync</a></li><li><a·href="#impl-Unpin-for-TestName">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestName">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">TestName</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/types.rs.html#42-46">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·TestName·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">TestName</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/types.rs.html#42-46">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·TestName·{
3 ····StaticTestName(&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>),3 ····StaticTestName(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>),
4 ····DynTestName(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),4 ····DynTestName(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),
5 ····AlignedTestName(<a·class="enum"·href="../../alloc/borrow/enum.Cow.html"·title="enum·alloc::borrow::Cow">Cow</a>&lt;'static,·<a·class="primitive"·href="../../std/primitive.str.html">str</a>&gt;,·<a·class="enum"·href="../enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>),5 ····AlignedTestName(<a·class="enum"·href="../../alloc/borrow/enum.Cow.html"·title="enum·alloc::borrow::Cow">Cow</a>&lt;'static,·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>&gt;,·<a·class="enum"·href="../enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>),
6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.StaticTestName"·class="variant"><a·href="#variant.StaticTestName"·class="anchor">§</a><h3·class="code-header">StaticTestName(&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.DynTestName"·clas[·...·truncated·by·diffoscope;·len:·9587,·SHA:·6ff2ddb06657c79085db294d95d4485bc7042337a053bc08f4ce4aba0f639bcc·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where6 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.StaticTestName"·class="variant"><a·href="#variant.StaticTestName"·class="anchor">§</a><h3·class="code-header">StaticTestName(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id[·...·truncated·by·diffoscope;·len:·9776,·SHA:·b361f18087e8079cfce2578255fad480733dcc38e9c7ac5f2b2a6316279085eb·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
7 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,7 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
8 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestName"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#41">source</a><a·href="#impl-PartialEq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#41">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used8 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestName"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#41">source</a><a·href="#impl-PartialEq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#41">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
9 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always9 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
10 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Eq-for-TestName"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#41">source</a><a·href="#impl-Eq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-StructuralPartialEq-for-TestName"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#41">source</a><a·href="#impl-StructuralPartialEq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestName"·class="impl"><a·href="#impl-Freeze-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-RefUnwindSafe-for-TestName"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Send-for-TestName"·class="impl"><a·href="#impl-Send-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Sync-for-TestName"·class="impl"><a·href="#impl-Sync-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Unpin-for-TestName"·class="impl"><a·href="#impl-Unpin-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-UnwindSafe-for-TestName"·class="impl"><a·href="#impl-UnwindSafe-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where10 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Eq-for-TestName"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#41">source</a><a·href="#impl-Eq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-StructuralPartialEq-for-TestName"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#41">source</a><a·href="#impl-StructuralPartialEq-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestName"·class="impl"><a·href="#impl-Freeze-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-RefUnwindSafe-for-TestName"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Send-for-TestName"·class="impl"><a·href="#impl-Send-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Sync-for-TestName"·class="impl"><a·href="#impl-Sync-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-Unpin-for-TestName"·class="impl"><a·href="#impl-Unpin-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section><section·id="impl-UnwindSafe-for-TestName"·class="impl"><a·href="#impl-UnwindSafe-for-TestName"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
11 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where11 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
12 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where12 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
15 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>15 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
16 <p>That·is,·this·conversion·is·whatever·the·implementation·of16 <p>That·is,·this·conversion·is·whatever·the·implementation·of
17 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>17 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where18 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
19 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where19 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
20 ····T:·<a·class="trait"·href="../../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where20 ····T:·<a·class="trait"·href="../../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
21 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where21 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>22 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
37.1 KB
./usr/share/doc/rust-web-doc/html/test/test/enum.TestResult.html
    
Offset 2, 21 lines modifiedOffset 2, 21 lines modified
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">TestResult</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/test_result.rs.html#25-32">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·TestResult·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Enum·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="enum"·href="#">TestResult</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/test_result.rs.html#25-32">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·enum·TestResult·{
3 ····TrOk,3 ····TrOk,
4 ····TrFailed,4 ····TrFailed,
5 ····TrFailedMsg(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),5 ····TrFailedMsg(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),
6 ····TrIgnored,6 ····TrIgnored,
7 ····TrBench(<a·class="struct"·href="../bench/struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a>),7 ····TrBench(<a·class="struct"·href="../bench/struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a>),
8 ····TrTimedFail,8 ····TrTimedFail,
9 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.TrOk"·class="variant"><a·href="#variant.TrOk"·class="anchor">§</a><h3·class="code-header">TrOk</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrFailed"·class="variant"><a·href="#variant.TrFailed"·class="anchor">§</a><h3·class="code-header">TrFailed</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrFailedMsg"·class="variant"><a·href="#variant.TrFailedMsg"·class="anchor">§</a><h3·class="code-header">TrFailedMsg(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrIgnored"·class="variant"><a·href="#variant.TrIgnored"·class="anchor">§</a><h3·class="code-header">TrIgnored</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrBench"·class="variant"><a·href="#variant.TrBench"·class="anchor">§</a><h3·class="code-header">TrBench(<a·class="struct"·href="../bench/struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrTimedFail"·class="variant"><a·href="#variant.TrTimedFail"·class="anchor">§</a><h3·class="code-header">TrTimedFail</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestResult"·class="impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#24">source</a><a·href="#impl-Clone-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#24">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><[·...·truncated·by·diffoscope;·len:·2310,·SHA:·0f3317f36c2dbcb0b91ad6194c415c29c62d328c2322899bb3282a2b5d44b924·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used9 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.TrOk"·class="variant"><a·href="#variant.TrOk"·class="anchor">§</a><h3·class="code-header">TrOk</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrFailed"·class="variant"><a·href="#variant.TrFailed"·class="anchor">§</a><h3·class="code-header">TrFailed</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrFailedMsg"·class="variant"><a·href="#variant.TrFailedMsg"·class="anchor">§</a><h3·class="code-header">TrFailedMsg(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrIgnored"·class="variant"><a·href="#variant.TrIgnored"·class="anchor">§</a><h3·class="code-header">TrIgnored</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrBench"·class="variant"><a·href="#variant.TrBench"·class="anchor">§</a><h3·class="code-header">TrBench(<a·class="struct"·href="../bench/struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a>)</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="variant.TrTimedFail"·class="variant"><a·href="#variant.TrTimedFail"·class="anchor">§</a><h3·class="code-header">TrTimedFail</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestResult"·class="impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#24">source</a><a·href="#impl-Clone-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#24">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div>[·...·truncated·by·diffoscope;·len:·2364,·SHA:·864c6303e78fe1147c8c8911b3369855743fa41877b71b96d5186e7e5fa85c7a·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
10 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always10 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
11 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-StructuralPartialEq-for-TestResult"·class="impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#24">source</a><a·href="#impl-StructuralPartialEq-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestResult"·class="impl"><a·href="#impl-Freeze-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-RefUnwindSafe-for-TestResult"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-Send-for-TestResult"·class="impl"><a·href="#impl-Send-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-Sync-for-TestResult"·class="impl"><a·href="#impl-Sync-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-Unpin-for-TestResult"·class="impl"><a·href="#impl-Unpin-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-UnwindSafe-for-TestResult"·class="impl"><a·href="#impl-UnwindSafe-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where11 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-StructuralPartialEq-for-TestResult"·class="impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#24">source</a><a·href="#impl-StructuralPartialEq-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestResult"·class="impl"><a·href="#impl-Freeze-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-RefUnwindSafe-for-TestResult"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-Send-for-TestResult"·class="impl"><a·href="#impl-Send-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-Sync-for-TestResult"·class="impl"><a·href="#impl-Sync-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-Unpin-for-TestResult"·class="impl"><a·href="#impl-Unpin-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section><section·id="impl-UnwindSafe-for-TestResult"·class="impl"><a·href="#impl-UnwindSafe-for-TestResult"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
12 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where12 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where13 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
14 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>14 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
16 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>16 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
17 <p>That·is,·this·conversion·is·whatever·the·implementation·of17 <p>That·is,·this·conversion·is·whatever·the·implementation·of
18 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>18 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
19 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where19 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
20 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where20 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
21 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where21 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>22 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
38.5 KB
./usr/share/doc/rust-web-doc/html/test/test/enum.TestType.html
    
Offset 7, 23 lines modifiedOffset 7, 23 lines modified
7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Type·of·the·test·according·to·the·<a·href="https://doc.rust-lang.org/cargo/guide/tests.html">Rust·book</a>7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Type·of·the·test·according·to·the·<a·href="https://doc.rust-lang.org/cargo/guide/tests.html">Rust·book</a>
8 conventions.</p>8 conventions.</p>
9 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.UnitTest"·class="variant"><a·href="#variant.UnitTest"·class="anchor">§</a><h3·class="code-header">UnitTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Unit-tests·are·expected·to·be·in·the·<code>src</code>·folder·of·the·crate.</p>9 </div></details><h2·id="variants"·class="variants·section-header">Variants<a·href="#variants"·class="anchor">§</a></h2><div·class="variants"><section·id="variant.UnitTest"·class="variant"><a·href="#variant.UnitTest"·class="anchor">§</a><h3·class="code-header">UnitTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Unit-tests·are·expected·to·be·in·the·<code>src</code>·folder·of·the·crate.</p>
10 </div><section·id="variant.IntegrationTest"·class="variant"><a·href="#variant.IntegrationTest"·class="anchor">§</a><h3·class="code-header">IntegrationTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Integration-style·tests·are·expected·to·be·in·the·<code>tests</code>·folder·of·the·crate.</p>10 </div><section·id="variant.IntegrationTest"·class="variant"><a·href="#variant.IntegrationTest"·class="anchor">§</a><h3·class="code-header">IntegrationTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Integration-style·tests·are·expected·to·be·in·the·<code>tests</code>·folder·of·the·crate.</p>
11 </div><section·id="variant.DocTest"·class="variant"><a·href="#variant.DocTest"·class="anchor">§</a><h3·class="code-header">DocTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Doctests·are·created·by·the·<code>librustdoc</code>·manually,·so·it’s·a·different·type·of·test.</p>11 </div><section·id="variant.DocTest"·class="variant"><a·href="#variant.DocTest"·class="anchor">§</a><h3·class="code-header">DocTest</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Doctests·are·created·by·the·<code>librustdoc</code>·manually,·so·it’s·a·different·type·of·test.</p>
12 </div><section·id="variant.Unknown"·class="variant"><a·href="#variant.Unknown"·class="anchor">§</a><h3·class="code-header">Unknown</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Tests·for·the·sources·that·don’t·follow·the·project·layout·convention12 </div><section·id="variant.Unknown"·class="variant"><a·href="#variant.Unknown"·class="anchor">§</a><h3·class="code-header">Unknown</h3></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Tests·for·the·sources·that·don’t·follow·the·project·layout·convention
13 (e.g.·tests·in·raw·<code>main.rs</code>·compiled·by·calling·<code>rustc·--test</code>·directly).</p>13 (e.g.·tests·in·raw·<code>main.rs</code>·compiled·by·calling·<code>rustc·--test</code>·directly).</p>
14 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-Clone-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><[·...·truncated·by·diffoscope;·len:·3148,·SHA:·5928aab19956bc11d3b898f1809dd1ef03d83e450e406685efed819037f699dd·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where14 </div></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-Clone-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div>[·...·truncated·by·diffoscope;·len:·3256,·SHA:·1a16f0f179ef682ce678a201415008aba14c9e24026ba171d7cfdfd66760026c·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
15 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,15 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
16 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-PartialEq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used16 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-PartialEq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
17 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always17 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
18 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-Copy-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Eq-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-Eq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-StructuralPartialEq-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-StructuralPartialEq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestType"·class="impl"><a·href="#impl-Freeze-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-RefUnwindSafe-for-TestType"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Send-for-TestType"·class="impl"><a·href="#impl-Send-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Sync-for-TestType"·class="impl"><a·href="#impl-Sync-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Unpin-for-TestType"·class="impl"><a·href="#impl-Unpin-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-UnwindSafe-for-TestType"·class="impl"><a·href="#impl-UnwindSafe-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where18 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-Copy-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Eq-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-Eq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-StructuralPartialEq-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#18">source</a><a·href="#impl-StructuralPartialEq-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestType"·class="impl"><a·href="#impl-Freeze-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-RefUnwindSafe-for-TestType"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Send-for-TestType"·class="impl"><a·href="#impl-Send-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Sync-for-TestType"·class="impl"><a·href="#impl-Sync-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-Unpin-for-TestType"·class="impl"><a·href="#impl-Unpin-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section><section·id="impl-UnwindSafe-for-TestType"·class="impl"><a·href="#impl-UnwindSafe-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
19 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where19 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
20 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where20 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
21 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>21 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
22 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where22 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
23 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>23 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
24 <p>That·is,·this·conversion·is·whatever·the·implementation·of24 <p>That·is,·this·conversion·is·whatever·the·implementation·of
25 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>25 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
26 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where26 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
27 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where27 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
28 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where28 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
29 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>29 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
40.9 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.Metric.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`Metric`·struct·in·crate·`test`."><title>Metric·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Metric</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new">new</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Metric">Clone</a></li><li><a·href="#impl-Copy-for-Metric">Copy</a></li><li><a·href="#impl-Debug-for-Metric">Debug</a></li><li><a·href="#impl-PartialEq-for-Metric">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-Metric">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Metric">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Metric">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Metric">Send</a></li><li><a·href="#impl-Sync-for-Metric">Sync</a></li><li><a·href="#impl-Unpin-for-Metric">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Metric">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`Metric`·struct·in·crate·`test`."><title>Metric·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Metric</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new">new</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Metric">Clone</a></li><li><a·href="#impl-Copy-for-Metric">Copy</a></li><li><a·href="#impl-Debug-for-Metric">Debug</a></li><li><a·href="#impl-PartialEq-for-Metric">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-Metric">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Metric">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Metric">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Metric">Send</a></li><li><a·href="#impl-Sync-for-Metric">Sync</a></li><li><a·href="#impl-Unpin-for-Metric">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Metric">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">Metric</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/helpers/metrics.rs.html#5-8">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Metric·{·<span·class="comment">/*·private·fields·*/</span>·}</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Metric"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#10-14">source</a><a·href="#impl-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section></summary><div·class="impl-items"><section·id="method.new"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#11-13">source</a><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>(value:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,·noise:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>)·-&gt;·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h4></section><span·class="item-info"><div·class=[·...·truncated·by·diffoscope;·len:·4483,·SHA:·851f298c336dfdf5bf0af4b759dbed9f1d165dd9de0e38fc0b701871e51450fb·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">Metric</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/helpers/metrics.rs.html#5-8">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Metric·{·<span·class="comment">/*·private·fields·*/</span>·}</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Metric"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#10-14">source</a><a·href="#impl-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section></summary><div·class="impl-items"><section·id="method.new"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#11-13">source</a><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>(value:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,·noise:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>)·-&gt;·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric[·...·truncated·by·diffoscope;·len:·4591,·SHA:·6231572fd612200ac2635de5e51b2f56350672a508aec09c36dcb2c0c64af79f·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
3 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always3 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
4 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Metric"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#4">source</a><a·href="#impl-Copy-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-StructuralPartialEq-for-Metric"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#4">source</a><a·href="#impl-StructuralPartialEq-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Metric"·class="impl"><a·href="#impl-Freeze-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-RefUnwindSafe-for-Metric"·class="impl"><a·href="#impl-RefUnwindSafe-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-Send-for-Metric"·class="impl"><a·href="#impl-Send-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-Sync-for-Metric"·class="impl"><a·href="#impl-Sync-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-Unpin-for-Metric"·class="impl"><a·href="#impl-Unpin-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-UnwindSafe-for-Metric"·class="impl"><a·href="#impl-UnwindSafe-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where4 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Metric"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#4">source</a><a·href="#impl-Copy-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-StructuralPartialEq-for-Metric"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#4">source</a><a·href="#impl-StructuralPartialEq-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Metric"·class="impl"><a·href="#impl-Freeze-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-RefUnwindSafe-for-Metric"·class="impl"><a·href="#impl-RefUnwindSafe-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-Send-for-Metric"·class="impl"><a·href="#impl-Send-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-Sync-for-Metric"·class="impl"><a·href="#impl-Sync-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-Unpin-for-Metric"·class="impl"><a·href="#impl-Unpin-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section><section·id="impl-UnwindSafe-for-Metric"·class="impl"><a·href="#impl-UnwindSafe-for-Metric"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Metric.html"·title="struct·test::test::Metric">Metric</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
5 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where5 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
6 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where6 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
7 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>7 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
8 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where8 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
9 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>9 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
10 <p>That·is,·this·conversion·is·whatever·the·implementation·of10 <p>That·is,·this·conversion·is·whatever·the·implementation·of
11 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>11 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
12 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where12 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
13 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where13 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
14 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where14 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
15 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>15 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
41.4 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.MetricMap.html
    
Offset 1, 26 lines modifiedOffset 1, 26 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`MetricMap`·struct·in·crate·`test`."><title>MetricMap·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">MetricMap</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.fmt_metrics">fmt_metrics</a></li><li><a·href="#method.insert_metric">insert_metric</a></li><li><a·href="#method.new">new</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-MetricMap">Clone</a></li><li><a·href="#impl-PartialEq-for-MetricMap">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-MetricMap">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-MetricMap">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-MetricMap">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-MetricMap">Send</a></li><li><a·href="#impl-Sync-for-MetricMap">Sync</a></li><li><a·href="#impl-Unpin-for-MetricMap">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-MetricMap">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`MetricMap`·struct·in·crate·`test`."><title>MetricMap·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">MetricMap</a></h2><div·class="sidebar-elems"><section><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.fmt_metrics">fmt_metrics</a></li><li><a·href="#method.insert_metric">insert_metric</a></li><li><a·href="#method.new">new</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-MetricMap">Clone</a></li><li><a·href="#impl-PartialEq-for-MetricMap">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-MetricMap">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-MetricMap">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-MetricMap">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-MetricMap">Send</a></li><li><a·href="#impl-Sync-for-MetricMap">Sync</a></li><li><a·href="#impl-Unpin-for-MetricMap">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-MetricMap">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">MetricMap</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/helpers/metrics.rs.html#17">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·MetricMap(<span·class="comment">/*·private·fields·*/</span>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-MetricMap"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#19-50">source</a><a·href="#impl-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section></summary><div·class="impl-items"><section·id="method.new"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#20-22">source</a><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>()·-&gt;·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·method-toggle"·open><summary><section·id="method.insert_metric"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#37-40">source</a><h4·class="code-header">pub·fn·<a·href="#method.insert_metric"·class="fn">insert_metric</a>(&amp;mut·self,·name:·&amp;<a·class="primitive"·href="../../std/primitive.str.html">str</a>,·value:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,·noise:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Insert·a·named·<code>value</code>·(+/-·<code>noise</code>)·metric·into·the·map.·The·value2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">MetricMap</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/helpers/metrics.rs.html#17">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·MetricMap(<span·class="comment">/*·private·fields·*/</span>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-MetricMap"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#19-50">source</a><a·href="#impl-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section></summary><div·class="impl-items"><section·id="method.new"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#20-22">source</a><h4·class="code-header">pub·fn·<a·href="#method.new"·class="fn">new</a>()·-&gt;·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·method-toggle"·open><summary><section·id="method.insert_metric"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#37-40">source</a><h4·class="code-header">pub·fn·<a·href="#method.insert_metric"·class="fn">insert_metric</a>(&amp;mut·self,·name:·&amp;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>,·value:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>,·noise:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.f64.html">f64</a>)</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Insert·a·named·<code>value</code>·(+/-·<code>noise</code>)·metric·into·the·map.·The·value
3 must·be·non-negative.·The·<code>noise</code>·indicates·the·uncertainty·of·the3 must·be·non-negative.·The·<code>noise</code>·indicates·the·uncertainty·of·the
4 metric,·which·doubles·as·the·“noise·range”·of·acceptable4 metric,·which·doubles·as·the·“noise·range”·of·acceptable
5 pairwise-regressions·on·this·named·value,·when·comparing·from·one5 pairwise-regressions·on·this·named·value,·when·comparing·from·one
6 metric·to·the·next·using·<code>compare_to_old</code>.</p>6 metric·to·the·next·using·<code>compare_to_old</code>.</p>
7 <p>If·<code>noise</code>·is·positive,·then·it·means·this·metric·is·of·a·value7 <p>If·<code>noise</code>·is·positive,·then·it·means·this·metric·is·of·a·value
8 you·want·to·see·grow·smaller,·so·a·change·larger·than·<code>noise</code>·in·the8 you·want·to·see·grow·smaller,·so·a·change·larger·than·<code>noise</code>·in·the
9 positive·direction·represents·a·regression.</p>9 positive·direction·represents·a·regression.</p>
10 <p>If·<code>noise</code>·is·negative,·then·it·means·this·metric·is·of·a·value10 <p>If·<code>noise</code>·is·negative,·then·it·means·this·metric·is·of·a·value
11 you·want·to·see·grow·larger,·so·a·change·larger·than·<code>noise</code>·in·the11 you·want·to·see·grow·larger,·so·a·change·larger·than·<code>noise</code>·in·the
12 negative·direction·represents·a·regression.</p>12 negative·direction·represents·a·regression.</p>
13 </div></details><section·id="method.fmt_metrics"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#42-49">source</a><h4·class="code-header">pub·fn·<a·href="#method.fmt_metrics"·class="fn">fmt_metrics</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-MetricMap"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#16">source</a><a·href="#impl-Clone-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#16">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><[·...·truncated·by·diffoscope;·len:·1035,·SHA:·aa9af0fd0fc1c2aa3f863f357924f8bb39fd56a81b54d0e644921dbd73560f88·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used13 </div></details><section·id="method.fmt_metrics"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#42-49">source</a><h4·class="code-header">pub·fn·<a·href="#method.fmt_metrics"·class="fn">fmt_metrics</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-MetricMap"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#16">source</a><a·href="#impl-Clone-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#16">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div>[·...·truncated·by·diffoscope;·len:·1089,·SHA:·deb821ba82de8eb3f71c33122d1e9e306729d1f3f619006e3c9926ec9ad9da93·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
14 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always14 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
15 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-StructuralPartialEq-for-MetricMap"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#16">source</a><a·href="#impl-StructuralPartialEq-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-MetricMap"·class="impl"><a·href="#impl-Freeze-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-RefUnwindSafe-for-MetricMap"·class="impl"><a·href="#impl-RefUnwindSafe-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-Send-for-MetricMap"·class="impl"><a·href="#impl-Send-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-Sync-for-MetricMap"·class="impl"><a·href="#impl-Sync-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-Unpin-for-MetricMap"·class="impl"><a·href="#impl-Unpin-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-UnwindSafe-for-MetricMap"·class="impl"><a·href="#impl-UnwindSafe-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where15 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-StructuralPartialEq-for-MetricMap"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#16">source</a><a·href="#impl-StructuralPartialEq-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-MetricMap"·class="impl"><a·href="#impl-Freeze-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-RefUnwindSafe-for-MetricMap"·class="impl"><a·href="#impl-RefUnwindSafe-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-Send-for-MetricMap"·class="impl"><a·href="#impl-Send-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-Sync-for-MetricMap"·class="impl"><a·href="#impl-Sync-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-Unpin-for-MetricMap"·class="impl"><a·href="#impl-Unpin-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section><section·id="impl-UnwindSafe-for-MetricMap"·class="impl"><a·href="#impl-UnwindSafe-for-MetricMap"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
16 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where16 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
17 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where17 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
18 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>18 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
19 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where19 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
20 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>20 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
21 <p>That·is,·this·conversion·is·whatever·the·implementation·of21 <p>That·is,·this·conversion·is·whatever·the·implementation·of
22 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>22 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
23 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where23 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
24 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where24 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
25 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where25 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
26 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>26 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
42.9 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.Options.html
    
Offset 1, 18 lines modifiedOffset 1, 18 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="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."><title>Options·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Options</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.display_output">display_output</a></li><li><a·href="#structfield.panic_abort">panic_abort</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.display_output">display_output</a></li><li><a·href="#method.new">new</a></li><li><a·href="#method.panic_abort">panic_abort</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Options">Clone</a></li><li><a·href="#impl-Copy-for-Options">Copy</a></li><li><a·href="#impl-Debug-for-Options">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Options">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Options">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Options">Send</a></li><li><a·href="#impl-Sync-for-Options">Sync</a></li><li><a·href="#impl-Unpin-for-Options">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Options">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="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."><title>Options·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">Options</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.display_output">display_output</a></li><li><a·href="#structfield.panic_abort">panic_abort</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.display_output">display_output</a></li><li><a·href="#method.new">new</a></li><li><a·href="#method.panic_abort">panic_abort</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-Options">Clone</a></li><li><a·href="#impl-Copy-for-Options">Copy</a></li><li><a·href="#impl-Debug-for-Options">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-Options">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Options">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Options">Send</a></li><li><a·href="#impl-Sync-for-Options">Sync</a></li><li><a·href="#impl-Unpin-for-Options">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Options">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">Options</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/options.rs.html#65-68">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Options·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">Options</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/options.rs.html#65-68">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·Options·{
3 ····pub·display_output:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,3 ····pub·display_output:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
4 ····pub·panic_abort:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,4 ····pub·panic_abort:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Options·for·the·test·run·defined·by·the·caller·(instead·of·CLI·arguments).5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Options·for·the·test·run·defined·by·the·caller·(instead·of·CLI·arguments).
6 In·case·we·want·to·add·other·options·as·well,·just·add·them·in·this·struct.</p>6 In·case·we·want·to·add·other·options·as·well,·just·add·them·in·this·struct.</p>
7 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.display_output"·class="structfield·section-header"><a·href="#structfield.display_output"·class="anchor·field">§</a><code>display_output:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.panic_abort"·cla[·...·truncated·by·diffoscope;·len:·4341,·SHA:·a81093e09d84f403693e8bc1337b88d47a9ef61051dee3472b1b12703d55e6c9·...·]/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Options"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">source</a><a·href="#impl-Debug-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><section·id="impl-Copy-for-Options"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">source</a><a·href="#impl-Copy-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Options"·class="impl"><a·href="#impl-Freeze-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-RefUnwindSafe-for-Options"·class="impl"><a·href="#impl-RefUnwindSafe-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Send-for-Options"·class="impl"><a·href="#impl-Send-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Sync-for-Options"·class="impl"><a·href="#impl-Sync-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Unpin-for-Options"·class="impl"><a·href="#impl-Unpin-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-UnwindSafe-for-Options"·class="impl"><a·href="#impl-UnwindSafe-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where7 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.display_output"·class="structfield·section-header"><a·href="#structfield.display_output"·class="anchor·field">§</a><code>display_output:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="s[·...·truncated·by·diffoscope;·len:·4476,·SHA:·ea4fcbfc2567dbcf39f861f2acaa653413219b46c8699dd6f127040b51304d50·...·]/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-Options"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">source</a><a·href="#impl-Debug-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details><section·id="impl-Copy-for-Options"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">source</a><a·href="#impl-Copy-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-Options"·class="impl"><a·href="#impl-Freeze-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-RefUnwindSafe-for-Options"·class="impl"><a·href="#impl-RefUnwindSafe-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Send-for-Options"·class="impl"><a·href="#impl-Send-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Sync-for-Options"·class="impl"><a·href="#impl-Sync-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-Unpin-for-Options"·class="impl"><a·href="#impl-Unpin-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section><section·id="impl-UnwindSafe-for-Options"·class="impl"><a·href="#impl-UnwindSafe-for-Options"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
8 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where8 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
9 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where9 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
10 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>10 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where11 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
12 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>12 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
13 <p>That·is,·this·conversion·is·whatever·the·implementation·of13 <p>That·is,·this·conversion·is·whatever·the·implementation·of
14 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>14 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where15 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
16 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where16 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where17 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
18 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>18 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
52.4 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.TestDesc.html
    
Offset 1, 28 lines modifiedOffset 1, 28 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestDesc`·struct·in·crate·`test`."><title>TestDesc·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestDesc</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.compile_fail">compile_fail</a></li><li><a·href="#structfield.end_col">end_col</a></li><li><a·href="#structfield.end_line">end_line</a></li><li><a·href="#structfield.ignore">ignore</a></li><li><a·href="#structfield.ignore_message">ignore_message</a></li><li><a·href="#structfield.name">name</a></li><li><a·href="#structfield.no_run">no_run</a></li><li><a·href="#structfield.should_panic">should_panic</a></li><li><a·href="#structfield.source_file">source_file</a></li><li><a·href="#structfield.start_col">start_col</a></li><li><a·href="#structfield.start_line">start_line</a></li><li><a·href="#structfield.test_type">test_type</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padded_name">padded_name</a></li><li><a·href="#method.test_mode">test_mode</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestDesc">Clone</a></li><li><a·href="#impl-Debug-for-TestDesc">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestDesc">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestDesc">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestDesc">Send</a></li><li><a·href="#impl-Sync-for-TestDesc">Sync</a></li><li><a·href="#impl-Unpin-for-TestDesc">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestDesc">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestDesc`·struct·in·crate·`test`."><title>TestDesc·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestDesc</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.compile_fail">compile_fail</a></li><li><a·href="#structfield.end_col">end_col</a></li><li><a·href="#structfield.end_line">end_line</a></li><li><a·href="#structfield.ignore">ignore</a></li><li><a·href="#structfield.ignore_message">ignore_message</a></li><li><a·href="#structfield.name">name</a></li><li><a·href="#structfield.no_run">no_run</a></li><li><a·href="#structfield.should_panic">should_panic</a></li><li><a·href="#structfield.source_file">source_file</a></li><li><a·href="#structfield.start_col">start_col</a></li><li><a·href="#structfield.start_line">start_line</a></li><li><a·href="#structfield.test_type">test_type</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padded_name">padded_name</a></li><li><a·href="#method.test_mode">test_mode</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestDesc">Clone</a></li><li><a·href="#impl-Debug-for-TestDesc">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestDesc">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestDesc">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestDesc">Send</a></li><li><a·href="#impl-Sync-for-TestDesc">Sync</a></li><li><a·href="#impl-Unpin-for-TestDesc">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestDesc">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestDesc</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/types.rs.html#198-211">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestDesc·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestDesc</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/types.rs.html#198-211">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestDesc·{
3 ····pub·name:·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a>,3 ····pub·name:·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a>,
4 ····pub·ignore:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,4 ····pub·ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
5 ····pub·ignore_message:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>&gt;,5 ····pub·ignore_message:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>&gt;,
6 ····pub·source_file:·&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>,6 ····pub·source_file:·&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.str.html">str</a>,
7 ····pub·start_line:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,7 ····pub·start_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
8 ····pub·start_col:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,8 ····pub·start_col:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
9 ····pub·end_line:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,9 ····pub·end_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
10 ····pub·end_col:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,10 ····pub·end_col:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>,
11 ····pub·should_panic:·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>,11 ····pub·should_panic:·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>,
12 ····pub·compile_fail:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,12 ····pub·compile_fail:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
13 ····pub·no_run:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,13 ····pub·no_run:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
14 ····pub·test_type:·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a>,14 ····pub·test_type:·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a>,
15 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.name"·class="structfield·section-header"><a·href="#structfield.name"·class="anchor·field">§</a><code>name:·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.ignore"·class="structfield·section-header"><a·href="#structfield.ignore"·class="anchor·field">§</a><code>ignore:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.ignore_message"·[·...·truncated·by·diffoscope;·len:·5748,·SHA:·992375054495effbe25cd66d3e28b4da0d38275483abaaeaf4b423121367ed9b·...·]/std/primitive.str.html">str</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Returns·None·for·ignored·test·or·tests·that·are·just·run,·otherwise·returns·a·description·of·the·type·of·test.15 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.name"·class="structfield·section-header"><a·href="#structfield.name"·class="anchor·field">§</a><code>name:·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.ignore"·class="structfield·section-header"><a·href="#structfield.ignore"·class="anchor·field">§</a><code>ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="s[·...·truncated·by·diffoscope;·len:·6045,·SHA:·1fb61aebd70694dfbb296b42cc5d33770364c1643937d127204d1206a7454708·...·]/std/primitive.str.html">str</a>&gt;</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></summary><div·class="docblock"><p>Returns·None·for·ignored·test·or·tests·that·are·just·run,·otherwise·returns·a·description·of·the·type·of·test.
16 Descriptions·include·“should·panic”,·“compile·fail”·and·“compile”.</p>16 Descriptions·include·“should·panic”,·“compile·fail”·and·“compile”.</p>
17 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestDesc"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#197">source</a><a·href="#impl-Clone-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#197">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestDesc"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#197">source</a><a·href="#impl-Debug-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#197">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestDesc"·class="impl"><a·href="#impl-Freeze-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-RefUnwindSafe-for-TestDesc"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Send-for-TestDesc"·class="impl"><a·href="#impl-Send-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Sync-for-TestDesc"·class="impl"><a·href="#impl-Sync-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Unpin-for-TestDesc"·class="impl"><a·href="#impl-Unpin-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-UnwindSafe-for-TestDesc"·class="impl"><a·href="#impl-UnwindSafe-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where17 </div></details></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestDesc"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#197">source</a><a·href="#impl-Clone-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#197">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestDesc"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#197">source</a><a·href="#impl-Debug-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#197">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestDesc"·class="impl"><a·href="#impl-Freeze-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-RefUnwindSafe-for-TestDesc"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Send-for-TestDesc"·class="impl"><a·href="#impl-Send-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Sync-for-TestDesc"·class="impl"><a·href="#impl-Sync-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-Unpin-for-TestDesc"·class="impl"><a·href="#impl-Unpin-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section><section·id="impl-UnwindSafe-for-TestDesc"·class="impl"><a·href="#impl-UnwindSafe-for-TestDesc"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
18 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where18 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
19 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where19 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
20 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>20 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
21 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where21 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>22 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
23 <p>That·is,·this·conversion·is·whatever·the·implementation·of23 <p>That·is,·this·conversion·is·whatever·the·implementation·of
24 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>24 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
25 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where25 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
26 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where26 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
27 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where27 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
28 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>28 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
23.8 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.TestDescAndFn.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestDescAndFn`·struct·in·crate·`test`."><title>TestDescAndFn·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestDescAndFn</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.desc">desc</a></li><li><a·href="#structfield.testfn">testfn</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestDescAndFn">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-RefUnwindSafe-for-TestDescAndFn">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestDescAndFn">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestDescAndFn">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestDescAndFn">Freeze</a></li><li><a·href="#impl-Send-for-TestDescAndFn">Send</a></li><li><a·href="#impl-Unpin-for-TestDescAndFn">Unpin</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestDescAndFn`·struct·in·crate·`test`."><title>TestDescAndFn·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestDescAndFn</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.desc">desc</a></li><li><a·href="#structfield.testfn">testfn</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestDescAndFn">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-RefUnwindSafe-for-TestDescAndFn">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestDescAndFn">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestDescAndFn">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestDescAndFn">Freeze</a></li><li><a·href="#impl-Send-for-TestDescAndFn">Send</a></li><li><a·href="#impl-Unpin-for-TestDescAndFn">Unpin</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestDescAndFn</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/types.rs.html#250-253">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestDescAndFn·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestDescAndFn</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/types.rs.html#250-253">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestDescAndFn·{
3 ····pub·desc:·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,3 ····pub·desc:·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,
4 ····pub·testfn:·<a·class="enum"·href="../enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,4 ····pub·testfn:·<a·class="enum"·href="../enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,
5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.desc"·class="structfield·section-header"><a·href="#structfield.desc"·class="anchor·field">§</a><code>desc:·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.testfn"·class="structfield·section-header"><a·href="#structfield.testfn"·class="anchor·field">§</a><code>testfn:·<a·class="enum"·href="../enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#249">source</a><a·href="#impl-Debug-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#249">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestDescAndFn"·class="impl"><a·href="#impl-Freeze-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-RefUnwindSafe-for-TestDescAndFn"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Send-for-TestDescAndFn"·class="impl"><a·href="#impl-Send-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Sync-for-TestDescAndFn"·class="impl"><a·href="#impl-Sync-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Unpin-for-TestDescAndFn"·class="impl"><a·href="#impl-Unpin-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-UnwindSafe-for-TestDescAndFn"·class="impl"><a·href="#impl-UnwindSafe-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where5 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.desc"·class="structfield·section-header"><a·href="#structfield.desc"·class="anchor·field">§</a><code>desc:·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.testfn"·class="structfield·section-header"><a·href="#structfield.testfn"·class="anchor·field">§</a><code>testfn:·<a·class="enum"·href="../enum.TestFn.html"·title="enum·test::TestFn">TestFn</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#249">source</a><a·href="#impl-Debug-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#249">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestDescAndFn"·class="impl"><a·href="#impl-Freeze-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-RefUnwindSafe-for-TestDescAndFn"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Send-for-TestDescAndFn"·class="impl"><a·href="#impl-Send-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Sync-for-TestDescAndFn"·class="impl"><a·href="#impl-Sync-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-Unpin-for-TestDescAndFn"·class="impl"><a·href="#impl-Unpin-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section><section·id="impl-UnwindSafe-for-TestDescAndFn"·class="impl"><a·href="#impl-UnwindSafe-for-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·!<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
6 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where6 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
7 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where7 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
8 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>8 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
9 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where9 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
10 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>10 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
11 <p>That·is,·this·conversion·is·whatever·the·implementation·of11 <p>That·is,·this·conversion·is·whatever·the·implementation·of
12 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>12 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
14 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where14 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
15 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>15 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
42.2 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.TestExecTime.html
    
Offset 1, 17 lines modifiedOffset 1, 17 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="The·measured·execution·time·of·a·unit·test."><title>TestExecTime·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestExecTime</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0">0</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestExecTime">Clone</a></li><li><a·href="#impl-Debug-for-TestExecTime">Debug</a></li><li><a·href="#impl-Display-for-TestExecTime">Display</a></li><li><a·href="#impl-PartialEq-for-TestExecTime">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestExecTime">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestExecTime">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestExecTime">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestExecTime">Send</a></li><li><a·href="#impl-Sync-for-TestExecTime">Sync</a></li><li><a·href="#impl-Unpin-for-TestExecTime">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestExecTime">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="The·measured·execution·time·of·a·unit·test."><title>TestExecTime·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestExecTime</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0">0</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestExecTime">Clone</a></li><li><a·href="#impl-Debug-for-TestExecTime">Debug</a></li><li><a·href="#impl-Display-for-TestExecTime">Display</a></li><li><a·href="#impl-PartialEq-for-TestExecTime">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestExecTime">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestExecTime">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestExecTime">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestExecTime">Send</a></li><li><a·href="#impl-Sync-for-TestExecTime">Sync</a></li><li><a·href="#impl-Unpin-for-TestExecTime">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestExecTime">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-ToString-for-T">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestExecTime</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/time.rs.html#66">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestExecTime(pub·<a·class="struct"·href="../../core/time/struct.Duration.html"·title="struct·core::time::Duration">Duration</a>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>The·measured·execution·time·of·a·unit·test.</p>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestExecTime</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/time.rs.html#66">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestExecTime(pub·<a·class="struct"·href="../../core/time/struct.Duration.html"·title="struct·core::time::Duration">Duration</a>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>The·measured·execution·time·of·a·unit·test.</p>
3 </div></details><h2·id="fields"·class="fields·section-header">Tuple·Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.0"·class="structfield·section-header"><a·href="#structfield.0"·class="anchor·field">§</a><code>0:·<a·class="struct"·href="../../core/time/struct.Duration.html"·title="struct·core::time::Duration">Duration</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#impl-Clone-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div></details></div></details><[·...·truncated·by·diffoscope;·len:·3639,·SHA:·5ab3b96bbbc15f07d2c0f93a0db8a31b2babd6cd1fa53c61b58ec286f43d5125·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used3 </div></details><h2·id="fields"·class="fields·section-header">Tuple·Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.0"·class="structfield·section-header"><a·href="#structfield.0"·class="anchor·field">§</a><code>0:·<a·class="struct"·href="../../core/time/struct.Duration.html"·title="struct·core::time::Duration">Duration</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Clone-for-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#impl-Clone-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#method.clone"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·class="fn">clone</a>(&amp;self)·-&gt;·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h4></section></summary><div·class='docblock'>Returns·a·copy·of·the·value.·<a·href="../../core/clone/trait.Clone.html#tymethod.clone">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_from"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/clone.rs.html#169">source</a></span><a·href="#method.clone_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/clone/trait.Clone.html#method.clone_from"·class="fn">clone_from</a>(&amp;mut·self,·source:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div·class='docblock'>Performs·copy-assignment·from·<code>source</code>.·<a·href="../../core/clone/trait.Clone.html#method.clone_from">Read·more</a></div>[·...·truncated·by·diffoscope;·len:·3693,·SHA:·753a718491707b32294ee8eafbbe6b0378b09695d3c252c44945eb0393f0a933·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
4 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always4 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
5 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-StructuralPartialEq-for-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#impl-StructuralPartialEq-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestExecTime"·class="impl"><a·href="#impl-Freeze-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-RefUnwindSafe-for-TestExecTime"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-Send-for-TestExecTime"·class="impl"><a·href="#impl-Send-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-Sync-for-TestExecTime"·class="impl"><a·href="#impl-Sync-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-Unpin-for-TestExecTime"·class="impl"><a·href="#impl-Unpin-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-UnwindSafe-for-TestExecTime"·class="impl"><a·href="#impl-UnwindSafe-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where5 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-StructuralPartialEq-for-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#impl-StructuralPartialEq-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestExecTime"·class="impl"><a·href="#impl-Freeze-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-RefUnwindSafe-for-TestExecTime"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-Send-for-TestExecTime"·class="impl"><a·href="#impl-Send-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-Sync-for-TestExecTime"·class="impl"><a·href="#impl-Sync-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-Unpin-for-TestExecTime"·class="impl"><a·href="#impl-Unpin-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section><section·id="impl-UnwindSafe-for-TestExecTime"·class="impl"><a·href="#impl-UnwindSafe-for-TestExecTime"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
6 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where6 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
7 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where7 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
8 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>8 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
9 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where9 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
10 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>10 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
11 <p>That·is,·this·conversion·is·whatever·the·implementation·of11 <p>That·is,·this·conversion·is·whatever·the·implementation·of
12 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>12 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where13 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
14 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where14 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToString-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/string.rs.html#2543">source</a><a·href="#impl-ToString-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where
15 ····T:·<a·class="trait"·href="../../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where15 ····T:·<a·class="trait"·href="../../core/fmt/trait.Display.html"·title="trait·core::fmt::Display">Display</a>·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.to_string"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/string.rs.html#2549">source</a><a·href="#method.to_string"·class="anchor">§</a><h4·class="code-header">default·fn·<a·href="../../alloc/string/trait.ToString.html#tymethod.to_string"·class="fn">to_string</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a></h4></section></summary><div·class='docblock'>Converts·the·given·value·to·a·<code>String</code>.·<a·href="../../alloc/string/trait.ToString.html#tymethod.to_string">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
16 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where16 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>17 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
44.7 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.TestId.html
    
Offset 1, 17 lines modifiedOffset 1, 17 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestId`·struct·in·crate·`test`."><title>TestId·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestId</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0">0</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestId">Clone</a></li><li><a·href="#impl-Copy-for-TestId">Copy</a></li><li><a·href="#impl-Debug-for-TestId">Debug</a></li><li><a·href="#impl-Eq-for-TestId">Eq</a></li><li><a·href="#impl-Hash-for-TestId">Hash</a></li><li><a·href="#impl-PartialEq-for-TestId">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestId">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestId">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestId">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestId">Send</a></li><li><a·href="#impl-Sync-for-TestId">Sync</a></li><li><a·href="#impl-Unpin-for-TestId">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestId">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestId`·struct·in·crate·`test`."><title>TestId·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestId</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0">0</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestId">Clone</a></li><li><a·href="#impl-Copy-for-TestId">Copy</a></li><li><a·href="#impl-Debug-for-TestId">Debug</a></li><li><a·href="#impl-Eq-for-TestId">Eq</a></li><li><a·href="#impl-Hash-for-TestId">Hash</a></li><li><a·href="#impl-PartialEq-for-TestId">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestId">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestId">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestId">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestId">Send</a></li><li><a·href="#impl-Sync-for-TestId">Sync</a></li><li><a·href="#impl-Unpin-for-TestId">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestId">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestId</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/types.rs.html#193">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestId(pub·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·secti[·...·truncated·by·diffoscope;·len:·5604,·SHA:·6721958702742b3394defd25a508e06d2973a63ac27cd36a2b4ebf6d345da950·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestId</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/types.rs.html#193">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestId(pub·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>);</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="[·...·truncated·by·diffoscope;·len:·5766,·SHA:·b865eefba5c58fb2e730cdb0289c5243f04a48f8cedb745f75e91c30f09156fe·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
3 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,3 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
4 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestId"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#impl-PartialEq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used4 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h4></section></summary><div·class='docblock'>Feeds·a·slice·of·this·type·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/hash/trait.Hash.html#method.hash_slice">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-TestId"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#impl-PartialEq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.PartialEq.html"·title="trait·core::cmp::PartialEq">PartialEq</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#method.eq"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#tymethod.eq"·class="fn">eq</a>(&amp;self,·other:·&amp;<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
5 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always5 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
6 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestId"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#impl-Copy-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Eq-for-TestId"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#impl-Eq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-StructuralPartialEq-for-TestId"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#impl-StructuralPartialEq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestId"·class="impl"><a·href="#impl-Freeze-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-RefUnwindSafe-for-TestId"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Send-for-TestId"·class="impl"><a·href="#impl-Send-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Sync-for-TestId"·class="impl"><a·href="#impl-Sync-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Unpin-for-TestId"·class="impl"><a·href="#impl-Unpin-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-UnwindSafe-for-TestId"·class="impl"><a·href="#impl-UnwindSafe-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where6 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestId"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#impl-Copy-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Eq-for-TestId"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#impl-Eq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-StructuralPartialEq-for-TestId"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#192">source</a><a·href="#impl-StructuralPartialEq-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestId"·class="impl"><a·href="#impl-Freeze-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-RefUnwindSafe-for-TestId"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Send-for-TestId"·class="impl"><a·href="#impl-Send-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Sync-for-TestId"·class="impl"><a·href="#impl-Sync-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-Unpin-for-TestId"·class="impl"><a·href="#impl-Unpin-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section><section·id="impl-UnwindSafe-for-TestId"·class="impl"><a·href="#impl-UnwindSafe-for-TestId"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
7 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where7 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
8 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where8 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
9 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>9 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
10 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where10 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
11 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>11 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
12 <p>That·is,·this·conversion·is·whatever·the·implementation·of12 <p>That·is,·this·conversion·is·whatever·the·implementation·of
13 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>13 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where14 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
15 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where15 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
16 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where16 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>17 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
51.6 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.TestOpts.html
    
Offset 1, 35 lines modifiedOffset 1, 35 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestOpts`·struct·in·crate·`test`."><title>TestOpts·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestOpts</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bench_benchmarks">bench_benchmarks</a></li><li><a·href="#structfield.color">color</a></li><li><a·href="#structfield.exclude_should_panic">exclude_should_panic</a></li><li><a·href="#structfield.fail_fast">fail_fast</a></li><li><a·href="#structfield.filter_exact">filter_exact</a></li><li><a·href="#structfield.filters">filters</a></li><li><a·href="#structfield.force_run_in_process">force_run_in_process</a></li><li><a·href="#structfield.format">format</a></li><li><a·href="#structfield.list">list</a></li><li><a·href="#structfield.logfile">logfile</a></li><li><a·href="#structfield.nocapture">nocapture</a></li><li><a·href="#structfield.options">options</a></li><li><a·href="#structfield.run_ignored">run_ignored</a></li><li><a·href="#structfield.run_tests">run_tests</a></li><li><a·href="#structfield.shuffle">shuffle</a></li><li><a·href="#structfield.shuffle_seed">shuffle_seed</a></li><li><a·href="#structfield.skip">skip</a></li><li><a·href="#structfield.test_threads">test_threads</a></li><li><a·href="#structfield.time_options">time_options</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.use_color">use_color</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestOpts">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestOpts">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestOpts">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestOpts">Send</a></li><li><a·href="#impl-Sync-for-TestOpts">Sync</a></li><li><a·href="#impl-Unpin-for-TestOpts">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestOpts">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="API·documentation·for·the·Rust·`TestOpts`·struct·in·crate·`test`."><title>TestOpts·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestOpts</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bench_benchmarks">bench_benchmarks</a></li><li><a·href="#structfield.color">color</a></li><li><a·href="#structfield.exclude_should_panic">exclude_should_panic</a></li><li><a·href="#structfield.fail_fast">fail_fast</a></li><li><a·href="#structfield.filter_exact">filter_exact</a></li><li><a·href="#structfield.filters">filters</a></li><li><a·href="#structfield.force_run_in_process">force_run_in_process</a></li><li><a·href="#structfield.format">format</a></li><li><a·href="#structfield.list">list</a></li><li><a·href="#structfield.logfile">logfile</a></li><li><a·href="#structfield.nocapture">nocapture</a></li><li><a·href="#structfield.options">options</a></li><li><a·href="#structfield.run_ignored">run_ignored</a></li><li><a·href="#structfield.run_tests">run_tests</a></li><li><a·href="#structfield.shuffle">shuffle</a></li><li><a·href="#structfield.shuffle_seed">shuffle_seed</a></li><li><a·href="#structfield.skip">skip</a></li><li><a·href="#structfield.test_threads">test_threads</a></li><li><a·href="#structfield.time_options">time_options</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.use_color">use_color</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestOpts">Debug</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestOpts">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestOpts">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestOpts">Send</a></li><li><a·href="#impl-Sync-for-TestOpts">Sync</a></li><li><a·href="#impl-Unpin-for-TestOpts">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestOpts">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestOpts</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/cli.rs.html#11-34">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestOpts·{<details·class="toggle·type-contents-toggle"><summary·class="hideme"><span>Show·19·fields</span></summary>2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestOpts</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/cli.rs.html#11-34">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestOpts·{<details·class="toggle·type-contents-toggle"><summary·class="hideme"><span>Show·19·fields</span></summary>
3 ····pub·list:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,3 ····pub·list:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
4 ····pub·filters:·<a·class="struct"·href="../../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,4 ····pub·filters:·<a·class="struct"·href="../../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,
5 ····pub·filter_exact:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,5 ····pub·filter_exact:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
6 ····pub·force_run_in_process:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,6 ····pub·force_run_in_process:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
7 ····pub·exclude_should_panic:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,7 ····pub·exclude_should_panic:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
8 ····pub·run_ignored:·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>,8 ····pub·run_ignored:·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>,
9 ····pub·run_tests:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,9 ····pub·run_tests:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
10 ····pub·bench_benchmarks:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,10 ····pub·bench_benchmarks:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
11 ····pub·logfile:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="../../std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a>&gt;,11 ····pub·logfile:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="https://doc.rust-lang.org/1.78.0/std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a>&gt;,
12 ····pub·nocapture:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,12 ····pub·nocapture:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
13 ····pub·color:·<a·class="enum"·href="../enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a>,13 ····pub·color:·<a·class="enum"·href="../enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a>,
14 ····pub·format:·<a·class="enum"·href="../enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>,14 ····pub·format:·<a·class="enum"·href="../enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>,
15 ····pub·shuffle:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,15 ····pub·shuffle:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
16 ····pub·shuffle_seed:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="../../std/primitive.u64.html">u64</a>&gt;,16 ····pub·shuffle_seed:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.u64.html">u64</a>&gt;,
17 ····pub·test_threads:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>&gt;,17 ····pub·test_threads:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.usize.html">usize</a>&gt;,
18 ····pub·skip:·<a·class="struct"·href="../../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,18 ····pub·skip:·<a·class="struct"·href="../../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a>&lt;<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;,
19 ····pub·time_options:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a>&gt;,19 ····pub·time_options:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a>&gt;,
20 ····pub·fail_fast:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,20 ····pub·fail_fast:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
21 ····pub·options:·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a>,21 ····pub·options:·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a>,
22 </details>}</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.list"·class="structfield·section-header"><a·href="#structfield.list"·class="anchor·field">§</a><code>list:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.filters"·class="[·...·truncated·by·diffoscope;·len:·7346,·SHA:·2be790658712c529af673ae5a3aa64b653f07c13a620b390f833fc48988734d6·...·]/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Stop·at·first·failing·test.22 </details>}</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.list"·class="structfield·section-header"><a·href="#structfield.list"·class="anchor·field">§</a><code>list:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="s[·...·truncated·by·diffoscope;·len:·7670,·SHA:·5eab3bdc04fcacb57ca4dec251ad47b0f6bb38ba2015cab064e1776da3372286·...·]/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Stop·at·first·failing·test.
23 May·run·a·few·more·tests·due·to·threading,·but·will23 May·run·a·few·more·tests·due·to·threading,·but·will
24 abort·as·soon·as·possible.</p>24 abort·as·soon·as·possible.</p>
25 </div><span·id="structfield.options"·class="structfield·section-header"><a·href="#structfield.options"·class="anchor·field">§</a><code>options:·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TestOpts"·class="impl"><a·class="src·rightside"·href="../../src/test/cli.rs.html#36-44">source</a><a·href="#impl-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></summary><div·class="impl-items"><section·id="method.use_color"·class="method"><a·class="src·rightside"·href="../../src/test/cli.rs.html#37-43">source</a><h4·class="code-header">pub·fn·<a·href="#method.use_color"·class="fn">use_color</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestOpts"·class="impl"><a·class="src·rightside"·href="../../src/test/cli.rs.html#10">source</a><a·href="#impl-Debug-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/cli.rs.html#10">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestOpts"·class="impl"><a·href="#impl-Freeze-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-RefUnwindSafe-for-TestOpts"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Send-for-TestOpts"·class="impl"><a·href="#impl-Send-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Sync-for-TestOpts"·class="impl"><a·href="#impl-Sync-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Unpin-for-TestOpts"·class="impl"><a·href="#impl-Unpin-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-UnwindSafe-for-TestOpts"·class="impl"><a·href="#impl-UnwindSafe-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where25 </div><span·id="structfield.options"·class="structfield·section-header"><a·href="#structfield.options"·class="anchor·field">§</a><code>options:·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TestOpts"·class="impl"><a·class="src·rightside"·href="../../src/test/cli.rs.html#36-44">source</a><a·href="#impl-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></summary><div·class="impl-items"><section·id="method.use_color"·class="method"><a·class="src·rightside"·href="../../src/test/cli.rs.html#37-43">source</a><h4·class="code-header">pub·fn·<a·href="#method.use_color"·class="fn">use_color</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span></div></details></div><h2·id="trait-implementations"·class="section-header">Trait·Implementations<a·href="#trait-implementations"·class="anchor">§</a></h2><div·id="trait-implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-Debug-for-TestOpts"·class="impl"><a·class="src·rightside"·href="../../src/test/cli.rs.html#10">source</a><a·href="#impl-Debug-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/fmt/trait.Debug.html"·title="trait·core::fmt::Debug">Debug</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/cli.rs.html#10">source</a><a·href="#method.fmt"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt"·class="fn">fmt</a>(&amp;self,·f:·&amp;mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a>&lt;'_&gt;)·-&gt;·<a·class="type"·href="../../core/fmt/type.Result.html"·title="type·core::fmt::Result">Result</a></h4></section></summary><div·class='docblock'>Formats·the·value·using·the·given·formatter.·<a·href="../../core/fmt/trait.Debug.html#tymethod.fmt">Read·more</a></div></details></div></details></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestOpts"·class="impl"><a·href="#impl-Freeze-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-RefUnwindSafe-for-TestOpts"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Send-for-TestOpts"·class="impl"><a·href="#impl-Send-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Sync-for-TestOpts"·class="impl"><a·href="#impl-Sync-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-Unpin-for-TestOpts"·class="impl"><a·href="#impl-Unpin-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section><section·id="impl-UnwindSafe-for-TestOpts"·class="impl"><a·href="#impl-UnwindSafe-for-TestOpts"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
26 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where26 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
27 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where27 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
28 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>28 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
29 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where29 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
30 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>30 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
31 <p>That·is,·this·conversion·is·whatever·the·implementation·of31 <p>That·is,·this·conversion·is·whatever·the·implementation·of
32 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>32 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
33 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where33 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
34 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where34 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
35 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>35 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
50.0 KB
./usr/share/doc/rust-web-doc/html/test/test/struct.TestTimeOptions.html
    
Offset 1, 23 lines modifiedOffset 1, 23 lines modified
1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Structure·with·parameters·for·calculating·test·execution·time."><title>TestTimeOptions·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestTimeOptions</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.doctest_threshold">doctest_threshold</a></li><li><a·href="#structfield.error_on_excess">error_on_excess</a></li><li><a·href="#structfield.integration_threshold">integration_threshold</a></li><li><a·href="#structfield.unit_threshold">unit_threshold</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.is_critical">is_critical</a></li><li><a·href="#method.is_warn">is_warn</a></li><li><a·href="#method.new_from_env">new_from_env</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestTimeOptions">Clone</a></li><li><a·href="#impl-Copy-for-TestTimeOptions">Copy</a></li><li><a·href="#impl-Debug-for-TestTimeOptions">Debug</a></li><li><a·href="#impl-Default-for-TestTimeOptions">Default</a></li><li><a·href="#impl-Eq-for-TestTimeOptions">Eq</a></li><li><a·href="#impl-PartialEq-for-TestTimeOptions">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestTimeOptions">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestTimeOptions">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestTimeOptions">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestTimeOptions">Send</a></li><li><a·href="#impl-Sync-for-TestTimeOptions">Sync</a></li><li><a·href="#impl-Unpin-for-TestTimeOptions">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestTimeOptions">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>1 <!DOCTYPE·html><html·lang="en"><head><meta·charset="utf-8"><meta·name="viewport"·content="width=device-width,·initial-scale=1.0"><meta·name="generator"·content="rustdoc"><meta·name="description"·content="Structure·with·parameters·for·calculating·test·execution·time."><title>TestTimeOptions·in·test::test·-·Rust</title><script>·if·(window.location.protocol·!==·"file:")·document.write(`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceSerif4-Regular-0000000007da4a04.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Regular-0000000084b1ad12.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/FiraSans-Medium-0000000066e2bc86.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Regular-0000000004ddb02d.ttf.woff2"><link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/SourceCodePro-Semibold-00000000f27a569e.ttf.woff2">`)</script><link·rel="stylesheet"·href="../../static.files/normalize-0000000091fda82d.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-00000000b8b4037f.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.78.0"·data-rustdoc-version="1.78.0"·data-channel="1.78.0"·data-search-js="search-00000000cd45ae4c.js"·data-settings-js="settings-000000000a4e6193.js"·><script·src="../../static.files/storage-000000007f53a983.js"></script><script·defer·src="sidebar-items1.78.0.js"></script><script·defer·src="../../static.files/main-0000000024a1d9be.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-00000000c3ec0cbe.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-16x16-000000008fbf5349.png"><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-00000000d9d8501d.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-00000000a292be17.svg"></head><body·class="rustdoc·struct"><!--[if·lte·IE·11]><div·class="warning">This·old·browser·is·unsupported·and·will·most·likely·display·funky·things.</div><![endif]--><nav·class="mobile-topbar"><button·class="sidebar-menu-toggle"·title="show·sidebar"></button><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt=""></a></nav><nav·class="sidebar"><div·class="sidebar-crate"><a·class="logo-container"·href="../../test/index.html"><img·class="rust-logo"·src="../../static.files/rust-logo-00000000a653c8a4.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.78.0</span></h2></div><h2·class="location"><a·href="#">TestTimeOptions</a></h2><div·class="sidebar-elems"><section><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.doctest_threshold">doctest_threshold</a></li><li><a·href="#structfield.error_on_excess">error_on_excess</a></li><li><a·href="#structfield.integration_threshold">integration_threshold</a></li><li><a·href="#structfield.unit_threshold">unit_threshold</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.is_critical">is_critical</a></li><li><a·href="#method.is_warn">is_warn</a></li><li><a·href="#method.new_from_env">new_from_env</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestTimeOptions">Clone</a></li><li><a·href="#impl-Copy-for-TestTimeOptions">Copy</a></li><li><a·href="#impl-Debug-for-TestTimeOptions">Debug</a></li><li><a·href="#impl-Default-for-TestTimeOptions">Default</a></li><li><a·href="#impl-Eq-for-TestTimeOptions">Eq</a></li><li><a·href="#impl-PartialEq-for-TestTimeOptions">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestTimeOptions">StructuralPartialEq</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TestTimeOptions">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestTimeOptions">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestTimeOptions">Send</a></li><li><a·href="#impl-Sync-for-TestTimeOptions">Sync</a></li><li><a·href="#impl-Unpin-for-TestTimeOptions">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestTimeOptions">UnwindSafe</a></li></ul><h3><a·href="#blanket-implementations">Blanket·Implementations</a></h3><ul·class="block·blanket-implementation"><li><a·href="#impl-Any-for-T">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a·href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a·href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a·href="#impl-ToOwned-for-T">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a·href="index.html">In·test::test</a></h2></div></nav><div·class="sidebar-resizer"></div>
2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestTimeOptions</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/time.rs.html#134-141">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestTimeOptions·{2 ····<main><div·class="width-limiter"><nav·class="sub"><form·class="search-form"><span></span><div·id="sidebar-button"·tabindex="-1"><a·href="../../test/all.html"·title="show·sidebar"></a></div><input·class="search-input"·name="search"·aria-label="Run·search·in·the·documentation"·autocomplete="off"·spellcheck="false"·placeholder="Click·or·press·‘S’·to·search,·‘?’·for·more·options…"·type="search"><div·id="help-button"·tabindex="-1"><a·href="../../help.html"·title="help">?</a></div><div·id="settings-menu"·tabindex="-1"><a·href="../../settings.html"·title="settings"><img·width="22"·height="22"·alt="Change·settings"·src="../../static.files/wheel-00000000304d111d.svg"></a></div></form></nav><section·id="main-content"·class="content"><div·class="main-heading"><h1>Struct·<a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a>::<wbr><a·class="struct"·href="#">TestTimeOptions</a><button·id="copy-path"·title="Copy·item·path·to·clipboard"><img·src="../../static.files/clipboard-000000002b47d462.svg"·width="19"·height="18"·alt="Copy·item·path"></button></h1><span·class="out-of-band"><a·class="src"·href="../../src/test/time.rs.html#134-141">source</a>···<button·id="toggle-all-docs"·title="collapse·all·docs">[<span>&#x2212;</span>]</button></span></div><pre·class="rust·item-decl"><code>pub·struct·TestTimeOptions·{
3 ····pub·error_on_excess:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,3 ····pub·error_on_excess:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>,
4 ····pub·unit_threshold:·TimeThreshold,4 ····pub·unit_threshold:·TimeThreshold,
5 ····pub·integration_threshold:·TimeThreshold,5 ····pub·integration_threshold:·TimeThreshold,
6 ····pub·doctest_threshold:·TimeThreshold,6 ····pub·doctest_threshold:·TimeThreshold,
7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Structure·with·parameters·for·calculating·test·execution·time.</p>7 }</code></pre><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><details·class="toggle·top-doc"·open><summary·class="hideme"><span>Expand·description</span></summary><div·class="docblock"><p>Structure·with·parameters·for·calculating·test·execution·time.</p>
8 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.error_on_excess"·class="structfield·section-header"><a·href="#structfield.error_on_excess"·class="anchor·field">§</a><code>error_on_excess:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Denotes·if·the·test·critical·execution·time·limit·excess·should·be·considered8 </div></details><h2·id="fields"·class="fields·section-header">Fields<a·href="#fields"·class="anchor">§</a></h2><span·id="structfield.error_on_excess"·class="structfield·section-header"><a·href="#structfield.error_on_excess"·class="anchor·field">§</a><code>error_on_excess:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><div·class="docblock"><p>Denotes·if·the·test·critical·execution·time·limit·excess·should·be·considered
9 a·test·failure.</p>9 a·test·failure.</p>
10 </div><span·id="structfield.unit_threshold"·class="structfield·section-header"><a·href="#structfield.unit_threshold"·class="anchor·field">§</a><code>unit_threshold:·TimeThreshold</code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.integration_threshold"·class="structfield·section-header"><a·href="#structfield.integration_threshold"·class="anchor·field">§</a><code>integration_threshold:·TimeThreshold</code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.doctest_threshold"·class="structfield·section-header"><a·href="#structfield.doctest_threshold"·class="anchor·field">§</a><code>doctest_threshold:·TimeThreshold</code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TestTimeOptions"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#143-195">source</a><a·href="#impl-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section></summary><div·class="impl-items"><section·id="method.new_from_env"·class="method"><a·class="src·rightside"·href="../../src/test/time.rs.html#144-156">source</a><h4·class="code-header">pub·fn·<a·href="#method.new_from_env"·class="fn">new_from_env</a>(error_on_excess:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>)·-&gt;·Self</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><section·id="method.is_wa[·...·truncated·by·diffoscope;·len:·7093,·SHA:·48bc6c114a910cb763dd4d0df229bda79b83e038f62e0fedd8c885558829c55d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used10 </div><span·id="structfield.unit_threshold"·class="structfield·section-header"><a·href="#structfield.unit_threshold"·class="anchor·field">§</a><code>unit_threshold:·TimeThreshold</code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.integration_threshold"·class="structfield·section-header"><a·href="#structfield.integration_threshold"·class="anchor·field">§</a><code>integration_threshold:·TimeThreshold</code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><span·id="structfield.doctest_threshold"·class="structfield·section-header"><a·href="#structfield.doctest_threshold"·class="anchor·field">§</a><code>doctest_threshold:·TimeThreshold</code></span><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></span><h2·id="implementations"·class="section-header">Implementations<a·href="#implementations"·class="anchor">§</a></h2><div·id="implementations-list"><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-TestTimeOptions"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#143-195">source</a><a·href="#impl-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section></summary><div·class="impl-items"><section·id="method.new_from_env"·class="method"><a·class="src·rightside"·href="../../src/test/time.rs.html#144-156">source</a><h4·class="code-header">pub·fn·<a·href="#method.new_from_env"·class="fn">new_from_env</a>(error_on_excess:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a>)·-&gt;·Self</h4></section><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>test</code>)</span></div></spa[·...·truncated·by·diffoscope;·len:·7228,·SHA:·0576a412b9651eff48934baed6eb6e104ff1c486fb3aeba462d2ffa2eccd40ed·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used
11 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always11 by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.ne"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.0.0">1.0.0</span>···<a·class="src"·href="../../src/core/cmp.rs.html#263">source</a></span><a·href="#method.ne"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/cmp/trait.PartialEq.html#method.ne"·class="fn">ne</a>(&amp;self,·other:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;Rhs</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>This·method·tests·for·<code>!=</code>.·The·default·implementation·is·almost·always
12 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestTimeOptions"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#133">source</a><a·href="#impl-Copy-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-Eq-for-TestTimeOptions"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#133">source</a><a·href="#impl-Eq-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-StructuralPartialEq-for-TestTimeOptions"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#133">source</a><a·href="#impl-StructuralPartialEq-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestTimeOptions"·class="impl"><a·href="#impl-Freeze-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-RefUnwindSafe-for-TestTimeOptions"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-Send-for-TestTimeOptions"·class="impl"><a·href="#impl-Send-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-Sync-for-TestTimeOptions"·class="impl"><a·href="#impl-Sync-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-Unpin-for-TestTimeOptions"·class="impl"><a·href="#impl-Unpin-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-UnwindSafe-for-TestTimeOptions"·class="impl"><a·href="#impl-UnwindSafe-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where12 sufficient,·and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-TestTimeOptions"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#133">source</a><a·href="#impl-Copy-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-Eq-for-TestTimeOptions"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#133">source</a><a·href="#impl-Eq-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/cmp/trait.Eq.html"·title="trait·core::cmp::Eq">Eq</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-StructuralPartialEq-for-TestTimeOptions"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#133">source</a><a·href="#impl-StructuralPartialEq-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.StructuralPartialEq.html"·title="trait·core::marker::StructuralPartialEq">StructuralPartialEq</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section></div><h2·id="synthetic-implementations"·class="section-header">Auto·Trait·Implementations<a·href="#synthetic-implementations"·class="anchor">§</a></h2><div·id="synthetic-implementations-list"><section·id="impl-Freeze-for-TestTimeOptions"·class="impl"><a·href="#impl-Freeze-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Freeze.html"·title="trait·core::marker::Freeze">Freeze</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-RefUnwindSafe-for-TestTimeOptions"·class="impl"><a·href="#impl-RefUnwindSafe-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.RefUnwindSafe.html"·title="trait·core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-Send-for-TestTimeOptions"·class="impl"><a·href="#impl-Send-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-Sync-for-TestTimeOptions"·class="impl"><a·href="#impl-Sync-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Sync.html"·title="trait·core::marker::Sync">Sync</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-Unpin-for-TestTimeOptions"·class="impl"><a·href="#impl-Unpin-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/marker/trait.Unpin.html"·title="trait·core::marker::Unpin">Unpin</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section><section·id="impl-UnwindSafe-for-TestTimeOptions"·class="impl"><a·href="#impl-UnwindSafe-for-TestTimeOptions"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/panic/unwind_safe/trait.UnwindSafe.html"·title="trait·core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>·for·<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a></h3></section></div><h2·id="blanket-implementations"·class="section-header">Blanket·Implementations<a·href="#blanket-implementations"·class="anchor">§</a></h2><div·id="blanket-implementations-list"><details·class="toggle·implementors-toggle"><summary><section·id="impl-Any-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#140">source</a><a·href="#impl-Any-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where
13 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where13 ····T:·'static·+·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.type_id"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/any.rs.html#141">source</a><a·href="#method.type_id"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/any/trait.Any.html#tymethod.type_id"·class="fn">type_id</a>(&amp;self)·-&gt;·<a·class="struct"·href="../../core/any/struct.TypeId.html"·title="struct·core::any::TypeId">TypeId</a></h4></section></summary><div·class='docblock'>Gets·the·<code>TypeId</code>·of·<code>self</code>.·<a·href="../../core/any/trait.Any.html#tymethod.type_id">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Borrow%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#208">source</a><a·href="#impl-Borrow%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a>&lt;T&gt;·for·T<div·class="where">where
14 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where14 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#210">source</a><a·href="#method.borrow"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow"·class="fn">borrow</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div·class='docblock'>Immutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.Borrow.html#tymethod.borrow">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-BorrowMut%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#216">source</a><a·href="#impl-BorrowMut%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt;·for·T<div·class="where">where
15 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>15 ····T:·?<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.borrow_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#217">source</a><a·href="#method.borrow_mut"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"·class="fn">borrow_mut</a>(&amp;mut·self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a></h4></section></summary><div·class='docblock'>Mutably·borrows·from·an·owned·value.·<a·href="../../core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-From%3CT%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#765">source</a><a·href="#impl-From%3CT%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·T</h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#768">source</a><a·href="#method.from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.From.html#tymethod.from"·class="fn">from</a>(t:·T)·-&gt;·T</h4></section></summary><div·class="docblock"><p>Returns·the·argument·unchanged.</p>
16 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where16 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-Into%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#748-750">source</a><a·href="#impl-Into%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;U&gt;·for·T<div·class="where">where
17 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>17 ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#758">source</a><a·href="#method.into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.Into.html#tymethod.into"·class="fn">into</a>(self)·-&gt;·U</h4></section></summary><div·class="docblock"><p>Calls·<code>U::from(self)</code>.</p>
18 <p>That·is,·this·conversion·is·whatever·the·implementation·of18 <p>That·is,·this·conversion·is·whatever·the·implementation·of
19 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>19 <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a>&lt;T&gt;·for·U</code>·chooses·to·do.</p>
20 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where20 </div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#83-85">source</a><a·href="#impl-ToOwned-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where
21 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where21 ····T:·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Owned"·class="associatedtype·trait-impl"><a·href="#associatedtype.Owned"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../alloc/borrow/trait.ToOwned.html#associatedtype.Owned"·class="associatedtype">Owned</a>·=·T</h4></section></summary><div·class='docblock'>The·resulting·type·after·obtaining·ownership.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.to_owned"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#88">source</a><a·href="#method.to_owned"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned"·class="fn">to_owned</a>(&amp;self)·-&gt;·T</h4></section></summary><div·class='docblock'>Creates·owned·data·from·borrowed·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#92">source</a><a·href="#method.clone_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into"·class="fn">clone_into</a>(&amp;self,·target:·<a·class="primitive"·href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&amp;mut·T</a>)</h4></section></summary><div·class='docblock'>Uses·borrowed·data·to·replace·owned·data,·usually·by·cloning.·<a·href="../../alloc/borrow/trait.ToOwned.html#method.clone_into">Read·more</a></div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryFrom%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#805-807">source</a><a·href="#impl-TryFrom%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;·for·T<div·class="where">where
22 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where22 ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·class="associatedtype">Error</a>·=·<a·class="enum"·href="../../core/convert/enum.Infallible.html"·title="enum·core::convert::Infallible">Infallible</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_from"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#812">source</a><a·href="#method.try_from"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryFrom.html#tymethod.try_from"·class="fn">try_from</a>(value:·U)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;T,·&lt;T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details><details·class="toggle·implementors-toggle"><summary><section·id="impl-TryInto%3CU%3E-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#790-792">source</a><a·href="#impl-TryInto%3CU%3E-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T,·U&gt;·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a>&lt;U&gt;·for·T<div·class="where">where
23 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>23 ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Error-1"·class="associatedtype·trait-impl"><a·href="#associatedtype.Error-1"·class="anchor">§</a><h4·class="code-header">type·<a·href="../../core/convert/trait.TryInto.html#associatedtype.Error"·class="associatedtype">Error</a>·=·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a></h4></section></summary><div·class='docblock'>The·type·returned·in·the·event·of·a·conversion·error.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.try_into"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#797">source</a><a·href="#method.try_into"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/convert/trait.TryInto.html#tymethod.try_into"·class="fn">try_into</a>(self)·-&gt;·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a>&lt;U,·&lt;U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a·class="associatedtype"·href="../../core/convert/trait.TryFrom.html#associatedtype.Error"·title="type·core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div·class='docblock'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html>
4.12 KB
./usr/share/doc/rust-web-doc/html/trait.impl/core/cmp/trait.PartialEq.js
3.98 KB
js-beautify {}
    
Offset 48, 16 lines modifiedOffset 48, 16 lines modified
48 ············["impl&lt;T:·?<a·class=\"trait\"·href=\"https://doc.rust-lang.org/1.78.0/core/marker/trait.Sized.html\"·title=\"trait·core::marker::Sized\">Sized</a>·+·<a·class=\"trait\"·href=\"https://doc.rust-lang.org/1.78.0/core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>,·A:·<a·class=\"trait\"·href=\"alloc/alloc/trait.Allocator.html\"·title=\"trait·alloc::alloc::Allocator\">Allocator</a>&gt;·<a·class=\"trait\"·href=\"https://doc.rust-lang.org/1.78.0/core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"struct\"·href=\"alloc/sync/struct.Arc.html\"·title=\"struct·alloc::sync::Arc\">Arc</a>&lt;T,·A&gt;"]48 ············["impl&lt;T:·?<a·class=\"trait\"·href=\"https://doc.rust-lang.org/1.78.0/core/marker/trait.Sized.html\"·title=\"trait·core::marker::Sized\">Sized</a>·+·<a·class=\"trait\"·href=\"https://doc.rust-lang.org/1.78.0/core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>,·A:·<a·class=\"trait\"·href=\"alloc/alloc/trait.Allocator.html\"·title=\"trait·alloc::alloc::Allocator\">Allocator</a>&gt;·<a·class=\"trait\"·href=\"https://doc.rust-lang.org/1.78.0/core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"struct\"·href=\"alloc/sync/struct.Arc.html\"·title=\"struct·alloc::sync::Arc\">Arc</a>&lt;T,·A&gt;"]
49 ········],49 ········],
50 ········"core":·[],50 ········"core":·[],
51 ········"proc_macro":·[51 ········"proc_macro":·[
52 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"proc_macro/enum.Delimiter.html\"·title=\"enum·proc_macro::Delimiter\">Delimiter</a>"],52 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"proc_macro/enum.Delimiter.html\"·title=\"enum·proc_macro::Delimiter\">Delimiter</a>"],
53 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"proc_macro/enum.Spacing.html\"·title=\"enum·proc_macro::Spacing\">Spacing</a>"],53 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"proc_macro/enum.Spacing.html\"·title=\"enum·proc_macro::Spacing\">Spacing</a>"],
54 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"struct\"·href=\"proc_macro/struct.SourceFile.html\"·title=\"struct·proc_macro::SourceFile\">SourceFile</a>"],54 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"struct\"·href=\"proc_macro/struct.SourceFile.html\"·title=\"struct·proc_macro::SourceFile\">SourceFile</a>"],
55 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>&lt;<a·class=\"primitive\"·href=\"std/primitive.char.html\">char</a>&gt;·for·<a·class=\"struct\"·href=\"proc_macro/struct.Punct.html\"·title=\"struct·proc_macro::Punct\">Punct</a>"],55 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>&lt;<a·class=\"primitive\"·href=\"https://doc.rust-lang.org/1.78.0/std/primitive.char.html\">char</a>&gt;·for·<a·class=\"struct\"·href=\"proc_macro/struct.Punct.html\"·title=\"struct·proc_macro::Punct\">Punct</a>"],
56 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>&lt;<a·class=\"struct\"·href=\"proc_macro/struct.Punct.html\"·title=\"struct·proc_macro::Punct\">Punct</a>&gt;·for·<a·class=\"primitive\"·href=\"std/primitive.char.html\">char</a>"]56 ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a>&lt;<a·class=\"struct\"·href=\"proc_macro/struct.Punct.html\"·title=\"struct·proc_macro::Punct\">Punct</a>&gt;·for·<a·class=\"primitive\"·href=\"https://doc.rust-lang.org/1.78.0/std/primitive.char.html\">char</a>"]
57 ········],57 ········],
58 ········"std":·[58 ········"std":·[
59 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/backtrace/enum.BacktraceStatus.html\"·title=\"enum·std::backtrace::BacktraceStatus\">BacktraceStatus</a>"],59 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/backtrace/enum.BacktraceStatus.html\"·title=\"enum·std::backtrace::BacktraceStatus\">BacktraceStatus</a>"],
60 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/env/enum.VarError.html\"·title=\"enum·std::env::VarError\">VarError</a>"],60 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/env/enum.VarError.html\"·title=\"enum·std::env::VarError\">VarError</a>"],
61 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/io/enum.ErrorKind.html\"·title=\"enum·std::io::ErrorKind\">ErrorKind</a>"],61 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/io/enum.ErrorKind.html\"·title=\"enum·std::io::ErrorKind\">ErrorKind</a>"],
62 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/io/enum.SeekFrom.html\"·title=\"enum·std::io::SeekFrom\">SeekFrom</a>"],62 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/io/enum.SeekFrom.html\"·title=\"enum·std::io::SeekFrom\">SeekFrom</a>"],
63 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/net/enum.Shutdown.html\"·title=\"enum·std::net::Shutdown\">Shutdown</a>"],63 ············["impl·<a·class=\"trait\"·href=\"std/cmp/trait.PartialEq.html\"·title=\"trait·std::cmp::PartialEq\">PartialEq</a>·for·<a·class=\"enum\"·href=\"std/net/enum.Shutdown.html\"·title=\"enum·std::net::Shutdown\">Shutdown</a>"],