2.57 MB
/srv/reproducible-results/rbuild-debian/r-b-build.uXY4tFkK/b1/rustc_1.83.0+dfsg1-1_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.uXY4tFkK/b2/rustc_1.83.0+dfsg1-1_amd64.changes
2.01 KB
Files
    
Offset 1, 20 lines modifiedOffset 1, 20 lines modified
  
1 ·e3e19dda7ee13fda83b61d3d6e9d366f·72076280·debug·optional·cargo-dbgsym_1.83.0+dfsg1-1_amd64.deb1 ·e3e19dda7ee13fda83b61d3d6e9d366f·72076280·debug·optional·cargo-dbgsym_1.83.0+dfsg1-1_amd64.deb
2 ·64b652610b06ccec3a747897f6c1b204·4309348·doc·optional·cargo-doc_1.83.0+dfsg1-1_all.deb2 ·64b652610b06ccec3a747897f6c1b204·4309348·doc·optional·cargo-doc_1.83.0+dfsg1-1_all.deb
3 ·6730e63303f1486ae12d91b69ebf21d8·6208688·devel·optional·cargo_1.83.0+dfsg1-1_amd64.deb3 ·6730e63303f1486ae12d91b69ebf21d8·6208688·devel·optional·cargo_1.83.0+dfsg1-1_amd64.deb
4 ·c9b6a8ff88068053ba2d4a12465f152e·266093080·debug·optional·libstd-rust-1.83-dbgsym_1.83.0+dfsg1-1_amd64.deb4 ·c9b6a8ff88068053ba2d4a12465f152e·266093080·debug·optional·libstd-rust-1.83-dbgsym_1.83.0+dfsg1-1_amd64.deb
5 ·67a76687709dde45d60d82af4d1b8225·19391672·libs·optional·libstd-rust-1.83_1.83.0+dfsg1-1_amd64.deb5 ·67a76687709dde45d60d82af4d1b8225·19391672·libs·optional·libstd-rust-1.83_1.83.0+dfsg1-1_amd64.deb
6 ·60c3bffc21e009e8961d0d7858804ed0·121154512·libdevel·optional·libstd-rust-dev-wasm32_1.83.0+dfsg1-1_all.deb6 ·60c3bffc21e009e8961d0d7858804ed0·121154512·libdevel·optional·libstd-rust-dev-wasm32_1.83.0+dfsg1-1_all.deb
7 ·b637d1092dcd30ae10a4ade3c17d45bd·43655608·libdevel·optional·libstd-rust-dev-windows_1.83.0+dfsg1-1_amd64.deb7 ·1512ed24ce2cc277c15e7c041aaf5fdb·43654400·libdevel·optional·libstd-rust-dev-windows_1.83.0+dfsg1-1_amd64.deb
8 ·1ba2c514cfd1ddf861961a6f5f765ea4·38668048·libdevel·optional·libstd-rust-dev_1.83.0+dfsg1-1_amd64.deb8 ·1ba2c514cfd1ddf861961a6f5f765ea4·38668048·libdevel·optional·libstd-rust-dev_1.83.0+dfsg1-1_amd64.deb
9 ·1c03bfc5ddee21984d2424b4a499a192·237312·devel·optional·rust-all_1.83.0+dfsg1-1_all.deb9 ·1c03bfc5ddee21984d2424b4a499a192·237312·devel·optional·rust-all_1.83.0+dfsg1-1_all.deb
10 ·4deec61b0e731a2ca802fffe2c1b9db8·59917808·debug·optional·rust-clippy-dbgsym_1.83.0+dfsg1-1_amd64.deb10 ·4deec61b0e731a2ca802fffe2c1b9db8·59917808·debug·optional·rust-clippy-dbgsym_1.83.0+dfsg1-1_amd64.deb
11 ·bd4b8edd31e5a40ac9e6232fde0348cb·3297652·devel·optional·rust-clippy_1.83.0+dfsg1-1_amd64.deb11 ·bd4b8edd31e5a40ac9e6232fde0348cb·3297652·devel·optional·rust-clippy_1.83.0+dfsg1-1_amd64.deb
12 ·54c7ef4322d6932c321ab193f283ed4b·22074048·doc·optional·rust-doc_1.83.0+dfsg1-1_all.deb12 ·544d0614729ead7d428ab6d2e6082f47·22097536·doc·optional·rust-doc_1.83.0+dfsg1-1_all.deb
13 ·60e3968ef3498034bc3f64056a8a7294·243016·devel·optional·rust-gdb_1.83.0+dfsg1-1_all.deb13 ·60e3968ef3498034bc3f64056a8a7294·243016·devel·optional·rust-gdb_1.83.0+dfsg1-1_all.deb
14 ·11fb39af30be7dbad349585a186313bc·243768·devel·optional·rust-lldb_1.83.0+dfsg1-1_all.deb14 ·11fb39af30be7dbad349585a186313bc·243768·devel·optional·rust-lldb_1.83.0+dfsg1-1_all.deb
15 ·9fa5e97554b43b3bcc95eec9f96749b0·1713212·devel·optional·rust-llvm_1.83.0+dfsg1-1_amd64.deb15 ·9fa5e97554b43b3bcc95eec9f96749b0·1713212·devel·optional·rust-llvm_1.83.0+dfsg1-1_amd64.deb
16 ·ee5a3aed8c19a06659b4af89c954988a·46522292·devel·optional·rust-src_1.83.0+dfsg1-1_all.deb16 ·ee5a3aed8c19a06659b4af89c954988a·46522292·devel·optional·rust-src_1.83.0+dfsg1-1_all.deb
17 ·1e17dbe78af4e4bd53cca9858df84cc4·36408124·debug·optional·rustc-dbgsym_1.83.0+dfsg1-1_amd64.deb17 ·1e17dbe78af4e4bd53cca9858df84cc4·36408124·debug·optional·rustc-dbgsym_1.83.0+dfsg1-1_amd64.deb
18 ·a6e80393cc7c5c702697e1111ea858a1·3768160·devel·optional·rustc_1.83.0+dfsg1-1_amd64.deb18 ·a6e80393cc7c5c702697e1111ea858a1·3768160·devel·optional·rustc_1.83.0+dfsg1-1_amd64.deb
19 ·cdf945e841533e2e6ae168fa75f92626·24140560·debug·optional·rustfmt-dbgsym_1.83.0+dfsg1-1_amd64.deb19 ·cdf945e841533e2e6ae168fa75f92626·24140560·debug·optional·rustfmt-dbgsym_1.83.0+dfsg1-1_amd64.deb
248 KB
libstd-rust-dev-windows_1.83.0+dfsg1-1_amd64.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-12-04·17:07:54.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-12-04·17:07:54.000000·debian-binary
2 -rw-r--r--···0········0········0·····2288·2024-12-04·17:07:54.000000·control.tar.xz2 -rw-r--r--···0········0········0·····2284·2024-12-04·17:07:54.000000·control.tar.xz
3 -rw-r--r--···0········0········0·43653128·2024-12-04·17:07:54.000000·data.tar.xz3 -rw-r--r--···0········0········0·43651924·2024-12-04·17:07:54.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
247 KB
data.tar.xz
247 KB
data.tar
14.1 KB
./usr/lib/rustlib/x86_64-pc-windows-gnu/lib/libstd-cb1eebab57b6e9e7.rlib
6.05 KB
nm -s {}
    
Offset 2232, 20 lines modifiedOffset 2232, 20 lines modified
2232 __imp__ZN3std3sys3pal7windows1c20SetThreadDescription3PTR17h3c407cb57d146126E·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o2232 __imp__ZN3std3sys3pal7windows1c20SetThreadDescription3PTR17h3c407cb57d146126E·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o
2233 _ZN4core3ptr91drop_in_place$LT$alloc..vec..Vec$LT$core..mem..maybe_uninit..MaybeUninit$LT$u16$GT$$GT$$GT$17hcc80ed3c6bee4185E.llvm.14459945346111354057·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o2233 _ZN4core3ptr91drop_in_place$LT$alloc..vec..Vec$LT$core..mem..maybe_uninit..MaybeUninit$LT$u16$GT$$GT$$GT$17hcc80ed3c6bee4185E.llvm.14459945346111354057·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o
2234 _ZN4core3ops8function5impls80_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$9call_once17h5f4688531a98543cE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o2234 _ZN4core3ops8function5impls80_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$9call_once17h5f4688531a98543cE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o
2235 _ZN3std4pipe10PipeWriter9try_clone17hf4fdd907e1fc9fcfE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o2235 _ZN3std4pipe10PipeWriter9try_clone17hf4fdd907e1fc9fcfE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o
2236 _ZN5alloc11collections5btree3map5entry30OccupiedEntry$LT$K$C$V$C$A$GT$6insert17h5d88fd79d8c413abE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o2236 _ZN5alloc11collections5btree3map5entry30OccupiedEntry$LT$K$C$V$C$A$GT$6insert17h5d88fd79d8c413abE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o
2237 _ZN3std3sys3pal7windows7to_u16s17h7b8573b3c2eecf8aE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o2237 _ZN3std3sys3pal7windows7to_u16s17h7b8573b3c2eecf8aE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o
2238 _ZN3std3sys3pal7windows7to_u16s17hf78265f869f81316E·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o2238 _ZN3std3sys3pal7windows7to_u16s17hf78265f869f81316E·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o
2239 ___tmp_rustc6fG4CL_bcryptprimitives_dll_imports_lib_iname·in·bcryptprimitives.dllt.o2239 ___tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib_iname·in·bcryptprimitives.dllt.o
2240 _head__tmp_rustc6fG4CL_bcryptprimitives_dll_imports_lib·in·bcryptprimitives.dllh.o2240 _head__tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib·in·bcryptprimitives.dllh.o
2241 ProcessPrng·in·bcryptprimitives.dlls00000.o2241 ProcessPrng·in·bcryptprimitives.dlls00000.o
2242 __imp_ProcessPrng·in·bcryptprimitives.dlls00000.o2242 __imp_ProcessPrng·in·bcryptprimitives.dlls00000.o
2243 ___tmp_rustc6fG4CL_api_ms_win_core_synch_l1_2_0_dll_imports_lib_iname·in·api-ms-win-core-synch-l1-2-0.dllt.o2243 ___tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib_iname·in·api-ms-win-core-synch-l1-2-0.dllt.o
2244 _head__tmp_rustc6fG4CL_api_ms_win_core_synch_l1_2_0_dll_imports_lib·in·api-ms-win-core-synch-l1-2-0.dllh.o2244 _head__tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib·in·api-ms-win-core-synch-l1-2-0.dllh.o
2245 WakeByAddressSingle·in·api-ms-win-core-synch-l1-2-0.dlls00002.o2245 WakeByAddressSingle·in·api-ms-win-core-synch-l1-2-0.dlls00002.o
2246 __imp_WakeByAddressSingle·in·api-ms-win-core-synch-l1-2-0.dlls00002.o2246 __imp_WakeByAddressSingle·in·api-ms-win-core-synch-l1-2-0.dlls00002.o
2247 WakeByAddressAll·in·api-ms-win-core-synch-l1-2-0.dlls00001.o2247 WakeByAddressAll·in·api-ms-win-core-synch-l1-2-0.dlls00001.o
2248 __imp_WakeByAddressAll·in·api-ms-win-core-synch-l1-2-0.dlls00001.o2248 __imp_WakeByAddressAll·in·api-ms-win-core-synch-l1-2-0.dlls00001.o
2249 WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o2249 WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o
2250 __imp_WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o2250 __imp_WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o
  
Offset 6933, 89 lines modifiedOffset 6933, 89 lines modified
6933 bcryptprimitives.dllt.o:6933 bcryptprimitives.dllt.o:
6934 0000000000000000·b·.bss6934 0000000000000000·b·.bss
6935 0000000000000000·d·.data6935 0000000000000000·d·.data
6936 0000000000000000·i·.idata$46936 0000000000000000·i·.idata$4
6937 0000000000000000·i·.idata$56937 0000000000000000·i·.idata$5
6938 0000000000000000·i·.idata$76938 0000000000000000·i·.idata$7
6939 0000000000000000·t·.text6939 0000000000000000·t·.text
6940 0000000000000000·I·___tmp_rustc6fG4CL_bcryptprimitives_dll_imports_lib_iname6940 0000000000000000·I·___tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib_iname
  
6941 bcryptprimitives.dllh.o:6941 bcryptprimitives.dllh.o:
6942 0000000000000000·b·.bss6942 0000000000000000·b·.bss
6943 0000000000000000·d·.data6943 0000000000000000·d·.data
6944 0000000000000000·i·.idata$26944 0000000000000000·i·.idata$2
6945 0000000000000000·i·.idata$46945 0000000000000000·i·.idata$4
6946 0000000000000000·i·.idata$56946 0000000000000000·i·.idata$5
6947 0000000000000000·t·.text6947 0000000000000000·t·.text
6948 ·················U·___tmp_rustc6fG4CL_bcryptprimitives_dll_imports_lib_iname6948 ·················U·___tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib_iname
6949 0000000000000000·I·_head__tmp_rustc6fG4CL_bcryptprimitives_dll_imports_lib6949 0000000000000000·I·_head__tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib
6950 0000000000000000·i·fthunk6950 0000000000000000·i·fthunk
6951 0000000000000000·i·hname6951 0000000000000000·i·hname
  
6952 bcryptprimitives.dlls00000.o:6952 bcryptprimitives.dlls00000.o:
6953 0000000000000000·b·.bss6953 0000000000000000·b·.bss
6954 0000000000000000·d·.data6954 0000000000000000·d·.data
6955 0000000000000000·i·.idata$46955 0000000000000000·i·.idata$4
6956 0000000000000000·i·.idata$56956 0000000000000000·i·.idata$5
6957 0000000000000000·i·.idata$66957 0000000000000000·i·.idata$6
6958 0000000000000000·i·.idata$76958 0000000000000000·i·.idata$7
6959 0000000000000000·t·.text6959 0000000000000000·t·.text
6960 0000000000000000·T·ProcessPrng6960 0000000000000000·T·ProcessPrng
6961 0000000000000000·I·__imp_ProcessPrng6961 0000000000000000·I·__imp_ProcessPrng
6962 ·················U·_head__tmp_rustc6fG4CL_bcryptprimitives_dll_imports_lib6962 ·················U·_head__tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib
  
6963 api-ms-win-core-synch-l1-2-0.dllt.o:6963 api-ms-win-core-synch-l1-2-0.dllt.o:
6964 0000000000000000·b·.bss6964 0000000000000000·b·.bss
6965 0000000000000000·d·.data6965 0000000000000000·d·.data
6966 0000000000000000·i·.idata$46966 0000000000000000·i·.idata$4
6967 0000000000000000·i·.idata$56967 0000000000000000·i·.idata$5
6968 0000000000000000·i·.idata$76968 0000000000000000·i·.idata$7
6969 0000000000000000·t·.text6969 0000000000000000·t·.text
6970 0000000000000000·I·___tmp_rustc6fG4CL_api_ms_win_core_synch_l1_2_0_dll_imports_lib_iname6970 0000000000000000·I·___tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib_iname
  
6971 api-ms-win-core-synch-l1-2-0.dllh.o:6971 api-ms-win-core-synch-l1-2-0.dllh.o:
6972 0000000000000000·b·.bss6972 0000000000000000·b·.bss
6973 0000000000000000·d·.data6973 0000000000000000·d·.data
6974 0000000000000000·i·.idata$26974 0000000000000000·i·.idata$2
6975 0000000000000000·i·.idata$46975 0000000000000000·i·.idata$4
6976 0000000000000000·i·.idata$56976 0000000000000000·i·.idata$5
6977 0000000000000000·t·.text6977 0000000000000000·t·.text
6978 ·················U·___tmp_rustc6fG4CL_api_ms_win_core_synch_l1_2_0_dll_imports_lib_iname6978 ·················U·___tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib_iname
6979 0000000000000000·I·_head__tmp_rustc6fG4CL_api_ms_win_core_synch_l1_2_0_dll_imports_lib6979 0000000000000000·I·_head__tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib
6980 0000000000000000·i·fthunk6980 0000000000000000·i·fthunk
6981 0000000000000000·i·hname6981 0000000000000000·i·hname
  
6982 api-ms-win-core-synch-l1-2-0.dlls00002.o:6982 api-ms-win-core-synch-l1-2-0.dlls00002.o:
6983 0000000000000000·b·.bss6983 0000000000000000·b·.bss
6984 0000000000000000·d·.data6984 0000000000000000·d·.data
6985 0000000000000000·i·.idata$46985 0000000000000000·i·.idata$4
6986 0000000000000000·i·.idata$56986 0000000000000000·i·.idata$5
6987 0000000000000000·i·.idata$66987 0000000000000000·i·.idata$6
6988 0000000000000000·i·.idata$76988 0000000000000000·i·.idata$7
6989 0000000000000000·t·.text6989 0000000000000000·t·.text
6990 0000000000000000·T·WakeByAddressSingle6990 0000000000000000·T·WakeByAddressSingle
6991 0000000000000000·I·__imp_WakeByAddressSingle6991 0000000000000000·I·__imp_WakeByAddressSingle
6992 ·················U·_head__tmp_rustc6fG4CL_api_ms_win_core_synch_l1_2_0_dll_imports_lib6992 ·················U·_head__tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib
  
6993 api-ms-win-core-synch-l1-2-0.dlls00001.o:6993 api-ms-win-core-synch-l1-2-0.dlls00001.o:
6994 0000000000000000·b·.bss6994 0000000000000000·b·.bss
6995 0000000000000000·d·.data6995 0000000000000000·d·.data
6996 0000000000000000·i·.idata$46996 0000000000000000·i·.idata$4
6997 0000000000000000·i·.idata$56997 0000000000000000·i·.idata$5
6998 0000000000000000·i·.idata$66998 0000000000000000·i·.idata$6
6999 0000000000000000·i·.idata$76999 0000000000000000·i·.idata$7
7000 0000000000000000·t·.text7000 0000000000000000·t·.text
7001 0000000000000000·T·WakeByAddressAll7001 0000000000000000·T·WakeByAddressAll
7002 0000000000000000·I·__imp_WakeByAddressAll7002 0000000000000000·I·__imp_WakeByAddressAll
7003 ·················U·_head__tmp_rustc6fG4CL_api_ms_win_core_synch_l1_2_0_dll_imports_lib7003 ·················U·_head__tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib
  
7004 api-ms-win-core-synch-l1-2-0.dlls00000.o:7004 api-ms-win-core-synch-l1-2-0.dlls00000.o:
7005 0000000000000000·b·.bss7005 0000000000000000·b·.bss
7006 0000000000000000·d·.data7006 0000000000000000·d·.data
7007 0000000000000000·i·.idata$47007 0000000000000000·i·.idata$4
7008 0000000000000000·i·.idata$57008 0000000000000000·i·.idata$5
7009 0000000000000000·i·.idata$67009 0000000000000000·i·.idata$6
7010 0000000000000000·i·.idata$77010 0000000000000000·i·.idata$7
7011 0000000000000000·t·.text7011 0000000000000000·t·.text
7012 0000000000000000·T·WaitOnAddress7012 0000000000000000·T·WaitOnAddress
7013 0000000000000000·I·__imp_WaitOnAddress7013 0000000000000000·I·__imp_WaitOnAddress
7014 ·················U·_head__tmp_rustc6fG4CL_api_ms_win_core_synch_l1_2_0_dll_imports_lib7014 ·················U·_head__tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib
886 B
bcryptprimitives.dllt.o
    
Offset 30, 11 lines modifiedOffset 30, 11 lines modified
000001d0:·0000·0000·0000·0000·0000·0000·0000·0000··................000001d0:·0000·0000·0000·0000·0000·0000·0000·0000··................
000001e0:·2e69·6461·7461·2435·0000·0000·0500·0000··.idata$5........000001e0:·2e69·6461·7461·2435·0000·0000·0500·0000··.idata$5........
000001f0:·0301·0800·0000·0000·0000·0000·0000·0000··................000001f0:·0301·0800·0000·0000·0000·0000·0000·0000··................
00000200:·0000·0000·2e69·6461·7461·2437·0000·0000··.....idata$7....00000200:·0000·0000·2e69·6461·7461·2437·0000·0000··.....idata$7....
00000210:·0600·0000·0301·1500·0000·0000·0000·0000··................00000210:·0600·0000·0301·1500·0000·0000·0000·0000··................
00000220:·0000·0000·0000·0000·0000·0000·0400·0000··................00000220:·0000·0000·0000·0000·0000·0000·0400·0000··................
00000230:·0000·0000·0600·0000·0200·3e00·0000·5f5f··..........>...__00000230:·0000·0000·0600·0000·0200·3e00·0000·5f5f··..........>...__
00000240:·5f74·6d70·5f72·7573·7463·3666·4734·434c··_tmp_rustc6fG4CL00000240:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz
00000250:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive00000250:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive
00000260:·735f·646c·6c5f·696d·706f·7274·735f·6c69··s_dll_imports_li00000260:·735f·646c·6c5f·696d·706f·7274·735f·6c69··s_dll_imports_li
00000270:·625f·696e·616d·6500······················b_iname.00000270:·625f·696e·616d·6500······················b_iname.
1.21 KB
bcryptprimitives.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·3666·4734·434c··_tmp_rustc6fG4CL00000260:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz
00000270:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive00000270:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive
00000280:·735f·646c·6c5f·696d·706f·7274·735f·6c69··s_dll_imports_li00000280:·735f·646c·6c5f·696d·706f·7274·735f·6c69··s_dll_imports_li
00000290:·6200·5f5f·5f74·6d70·5f72·7573·7463·3666··b.___tmp_rustc6f00000290:·6200·5f5f·5f74·6d70·5f72·7573·7463·5864··b.___tmp_rustcXd
000002a0:·4734·434c·5f62·6372·7970·7470·7269·6d69··G4CL_bcryptprimi000002a0:·437a·5a7a·5f62·6372·7970·7470·7269·6d69··CzZz_bcryptprimi
000002b0:·7469·7665·735f·646c·6c5f·696d·706f·7274··tives_dll_import000002b0:·7469·7665·735f·646c·6c5f·696d·706f·7274··tives_dll_import
000002c0:·735f·6c69·625f·696e·616d·6500············s_lib_iname.000002c0:·735f·6c69·625f·696e·616d·6500············s_lib_iname.
833 B
bcryptprimitives.dlls00000.o
    
Offset 32, 10 lines modifiedOffset 32, 10 lines modified
000001f0:·7461·2436·0000·0000·0700·0000·0300·0000··ta$6............000001f0:·7461·2436·0000·0000·0700·0000·0300·0000··ta$6............
00000200:·0000·0400·0000·0000·0000·0100·0000·0200··................00000200:·0000·0400·0000·0000·0000·0100·0000·0200··................
00000210:·0000·0000·1000·0000·0000·0000·0500·0000··................00000210:·0000·0000·1000·0000·0000·0000·0500·0000··................
00000220:·0200·0000·0000·2200·0000·0000·0000·0000··......".........00000220:·0200·0000·0000·2200·0000·0000·0000·0000··......".........
00000230:·0000·0200·5a00·0000·5072·6f63·6573·7350··....Z...ProcessP00000230:·0000·0200·5a00·0000·5072·6f63·6573·7350··....Z...ProcessP
00000240:·726e·6700·5f5f·696d·705f·5072·6f63·6573··rng.__imp_Proces00000240:·726e·6700·5f5f·696d·705f·5072·6f63·6573··rng.__imp_Proces
00000250:·7350·726e·6700·5f68·6561·645f·5f74·6d70··sPrng._head__tmp00000250:·7350·726e·6700·5f68·6561·645f·5f74·6d70··sPrng._head__tmp
00000260:·5f72·7573·7463·3666·4734·434c·5f62·6372··_rustc6fG4CL_bcr00000260:·5f72·7573·7463·5864·437a·5a7a·5f62·6372··_rustcXdCzZz_bcr
00000270:·7970·7470·7269·6d69·7469·7665·735f·646c··yptprimitives_dl00000270:·7970·7470·7269·6d69·7469·7665·735f·646c··yptprimitives_dl
00000280:·6c5f·696d·706f·7274·735f·6c69·6200·······l_imports_lib.00000280:·6c5f·696d·706f·7274·735f·6c69·6200·······l_imports_lib.
918 B
api-ms-win-core-synch-l1-2-0.dllt.o
    
Offset 31, 11 lines modifiedOffset 31, 11 lines modified
000001e0:·0000·0000·0000·0000·0000·0000·2e69·6461··.............ida000001e0:·0000·0000·0000·0000·0000·0000·2e69·6461··.............ida
000001f0:·7461·2435·0000·0000·0500·0000·0301·0800··ta$5............000001f0:·7461·2435·0000·0000·0500·0000·0301·0800··ta$5............
00000200:·0000·0000·0000·0000·0000·0000·0000·0000··................00000200:·0000·0000·0000·0000·0000·0000·0000·0000··................
00000210:·2e69·6461·7461·2437·0000·0000·0600·0000··.idata$7........00000210:·2e69·6461·7461·2437·0000·0000·0600·0000··.idata$7........
00000220:·0301·2100·0000·0000·0000·0000·0000·0000··..!.............00000220:·0301·2100·0000·0000·0000·0000·0000·0000··..!.............
00000230:·0000·0000·0000·0000·0400·0000·0000·0000··................00000230:·0000·0000·0000·0000·0400·0000·0000·0000··................
00000240:·0600·0000·0200·4a00·0000·5f5f·5f74·6d70··......J...___tmp00000240:·0600·0000·0200·4a00·0000·5f5f·5f74·6d70··......J...___tmp
00000250:·5f72·7573·7463·3666·4734·434c·5f61·7069··_rustc6fG4CL_api00000250:·5f72·7573·7463·5864·437a·5a7a·5f61·7069··_rustcXdCzZz_api
00000260:·5f6d·735f·7769·6e5f·636f·7265·5f73·796e··_ms_win_core_syn00000260:·5f6d·735f·7769·6e5f·636f·7265·5f73·796e··_ms_win_core_syn
00000270:·6368·5f6c·315f·325f·305f·646c·6c5f·696d··ch_l1_2_0_dll_im00000270:·6368·5f6c·315f·325f·305f·646c·6c5f·696d··ch_l1_2_0_dll_im
00000280:·706f·7274·735f·6c69·625f·696e·616d·6500··ports_lib_iname.00000280:·706f·7274·735f·6c69·625f·696e·616d·6500··ports_lib_iname.
1.29 KB
api-ms-win-core-synch-l1-2-0.dllh.o
    
Offset 32, 16 lines modifiedOffset 32, 16 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·4800·0000·0000·0000··........H.......00000240:·0000·0200·0000·0000·4800·0000·0000·0000··........H.......
00000250:·0000·0000·0200·8e00·0000·5f68·6561·645f··.........._head_00000250:·0000·0000·0200·8e00·0000·5f68·6561·645f··.........._head_
00000260:·5f74·6d70·5f72·7573·7463·3666·4734·434c··_tmp_rustc6fG4CL00000260:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz
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·646c··_synch_l1_2_0_dl00000280:·5f73·796e·6368·5f6c·315f·325f·305f·646c··_synch_l1_2_0_dl
00000290:·6c5f·696d·706f·7274·735f·6c69·6200·5f5f··l_imports_lib.__00000290:·6c5f·696d·706f·7274·735f·6c69·6200·5f5f··l_imports_lib.__
000002a0:·5f74·6d70·5f72·7573·7463·3666·4734·434c··_tmp_rustc6fG4CL000002a0:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz
000002b0:·5f61·7069·5f6d·735f·7769·6e5f·636f·7265··_api_ms_win_core000002b0:·5f61·7069·5f6d·735f·7769·6e5f·636f·7265··_api_ms_win_core
000002c0:·5f73·796e·6368·5f6c·315f·325f·305f·646c··_synch_l1_2_0_dl000002c0:·5f73·796e·6368·5f6c·315f·325f·305f·646c··_synch_l1_2_0_dl
000002d0:·6c5f·696d·706f·7274·735f·6c69·625f·696e··l_imports_lib_in000002d0:·6c5f·696d·706f·7274·735f·6c69·625f·696e··l_imports_lib_in
000002e0:·616d·6500································ame.000002e0:·616d·6500································ame.
1.03 KB
api-ms-win-core-synch-l1-2-0.dlls00002.o
    
Offset 33, 12 lines modifiedOffset 33, 12 lines modified
00000200:·0700·0000·0300·0000·0000·0400·0000·0000··................00000200:·0700·0000·0300·0000·0000·0400·0000·0000··................
00000210:·0000·0100·0000·0200·0000·0000·1800·0000··................00000210:·0000·0100·0000·0200·0000·0000·1800·0000··................
00000220:·0000·0000·0500·0000·0200·0000·0000·3200··..............2.00000220:·0000·0000·0500·0000·0200·0000·0000·3200··..............2.
00000230:·0000·0000·0000·0000·0000·0200·7600·0000··............v...00000230:·0000·0000·0000·0000·0000·0200·7600·0000··............v...
00000240:·5761·6b65·4279·4164·6472·6573·7353·696e··WakeByAddressSin00000240:·5761·6b65·4279·4164·6472·6573·7353·696e··WakeByAddressSin
00000250:·676c·6500·5f5f·696d·705f·5761·6b65·4279··gle.__imp_WakeBy00000250:·676c·6500·5f5f·696d·705f·5761·6b65·4279··gle.__imp_WakeBy
00000260:·4164·6472·6573·7353·696e·676c·6500·5f68··AddressSingle._h00000260:·4164·6472·6573·7353·696e·676c·6500·5f68··AddressSingle._h
00000270:·6561·645f·5f74·6d70·5f72·7573·7463·3666··ead__tmp_rustc6f00000270:·6561·645f·5f74·6d70·5f72·7573·7463·5864··ead__tmp_rustcXd
00000280:·4734·434c·5f61·7069·5f6d·735f·7769·6e5f··G4CL_api_ms_win_00000280:·437a·5a7a·5f61·7069·5f6d·735f·7769·6e5f··CzZz_api_ms_win_
00000290:·636f·7265·5f73·796e·6368·5f6c·315f·325f··core_synch_l1_2_00000290:·636f·7265·5f73·796e·6368·5f6c·315f·325f··core_synch_l1_2_
000002a0:·305f·646c·6c5f·696d·706f·7274·735f·6c69··0_dll_imports_li000002a0:·305f·646c·6c5f·696d·706f·7274·735f·6c69··0_dll_imports_li
000002b0:·6200·····································b.000002b0:·6200·····································b.
920 B
api-ms-win-core-synch-l1-2-0.dlls00001.o
    
Offset 33, 11 lines modifiedOffset 33, 11 lines modified
00000200:·0300·0000·0000·0400·0000·0000·0000·0100··................00000200:·0300·0000·0000·0400·0000·0000·0000·0100··................
00000210:·0000·0200·0000·0000·1500·0000·0000·0000··................00000210:·0000·0200·0000·0000·1500·0000·0000·0000··................
00000220:·0500·0000·0200·0000·0000·2c00·0000·0000··..........,.....00000220:·0500·0000·0200·0000·0000·2c00·0000·0000··..........,.....
00000230:·0000·0000·0000·0200·7000·0000·5761·6b65··........p...Wake00000230:·0000·0000·0000·0200·7000·0000·5761·6b65··........p...Wake
00000240:·4279·4164·6472·6573·7341·6c6c·005f·5f69··ByAddressAll.__i00000240:·4279·4164·6472·6573·7341·6c6c·005f·5f69··ByAddressAll.__i
00000250:·6d70·5f57·616b·6542·7941·6464·7265·7373··mp_WakeByAddress00000250:·6d70·5f57·616b·6542·7941·6464·7265·7373··mp_WakeByAddress
00000260:·416c·6c00·5f68·6561·645f·5f74·6d70·5f72··All._head__tmp_r00000260:·416c·6c00·5f68·6561·645f·5f74·6d70·5f72··All._head__tmp_r
00000270:·7573·7463·3666·4734·434c·5f61·7069·5f6d··ustc6fG4CL_api_m00000270:·7573·7463·5864·437a·5a7a·5f61·7069·5f6d··ustcXdCzZz_api_m
00000280:·735f·7769·6e5f·636f·7265·5f73·796e·6368··s_win_core_synch00000280:·735f·7769·6e5f·636f·7265·5f73·796e·6368··s_win_core_synch
00000290:·5f6c·315f·325f·305f·646c·6c5f·696d·706f··_l1_2_0_dll_impo00000290:·5f6c·315f·325f·305f·646c·6c5f·696d·706f··_l1_2_0_dll_impo
000002a0:·7274·735f·6c69·6200······················rts_lib.000002a0:·7274·735f·6c69·6200······················rts_lib.
926 B
api-ms-win-core-synch-l1-2-0.dlls00000.o
    
Offset 32, 11 lines modifiedOffset 32, 11 lines modified
000001f0:·7461·2436·0000·0000·0700·0000·0300·0000··ta$6............000001f0:·7461·2436·0000·0000·0700·0000·0300·0000··ta$6............
00000200:·0000·0400·0000·0000·0000·0100·0000·0200··................00000200:·0000·0400·0000·0000·0000·0100·0000·0200··................
00000210:·0000·0000·1200·0000·0000·0000·0500·0000··................00000210:·0000·0000·1200·0000·0000·0000·0500·0000··................
00000220:·0200·0000·0000·2600·0000·0000·0000·0000··......&.........00000220:·0200·0000·0000·2600·0000·0000·0000·0000··......&.........
00000230:·0000·0200·6a00·0000·5761·6974·4f6e·4164··....j...WaitOnAd00000230:·0000·0200·6a00·0000·5761·6974·4f6e·4164··....j...WaitOnAd
00000240:·6472·6573·7300·5f5f·696d·705f·5761·6974··dress.__imp_Wait00000240:·6472·6573·7300·5f5f·696d·705f·5761·6974··dress.__imp_Wait
00000250:·4f6e·4164·6472·6573·7300·5f68·6561·645f··OnAddress._head_00000250:·4f6e·4164·6472·6573·7300·5f68·6561·645f··OnAddress._head_
00000260:·5f74·6d70·5f72·7573·7463·3666·4734·434c··_tmp_rustc6fG4CL00000260:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz
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·646c··_synch_l1_2_0_dl00000280:·5f73·796e·6368·5f6c·315f·325f·305f·646c··_synch_l1_2_0_dl
00000290:·6c5f·696d·706f·7274·735f·6c69·6200·······l_imports_lib.00000290:·6c5f·696d·706f·7274·735f·6c69·6200·······l_imports_lib.
233 KB
./usr/lib/rustlib/x86_64-pc-windows-gnu/lib/std-cb1eebab57b6e9e7.dll
233 KB
objdump
    
Offset 26, 15 lines modifiedOffset 26, 15 lines modified
26 MajorImageVersion»      026 MajorImageVersion»      0
27 MinorImageVersion»      027 MinorImageVersion»      0
28 MajorSubsystemVersion»  528 MajorSubsystemVersion»  5
29 MinorSubsystemVersion»  229 MinorSubsystemVersion»  2
30 Win32Version»   »   0000000030 Win32Version»   »   00000000
31 SizeOfImage»    »    018b300031 SizeOfImage»    »    018b3000
32 SizeOfHeaders»  »  0000060032 SizeOfHeaders»  »  00000600
33 CheckSum»       »       01944ecf33 CheckSum»       »       01940c08
34 Subsystem»      »      00000003»      (Windows·CUI)34 Subsystem»      »      00000003»      (Windows·CUI)
35 DllCharacteristics»     0000016035 DllCharacteristics»     00000160
36 »       »       »       »       »       HIGH_ENTROPY_VA36 »       »       »       »       »       HIGH_ENTROPY_VA
37 »       »       »       »       »       DYNAMIC_BASE37 »       »       »       »       »       DYNAMIC_BASE
38 »       »       »       »       »       NX_COMPAT38 »       »       »       »       »       NX_COMPAT
39 SizeOfStackReserve»     000000000020000039 SizeOfStackReserve»     0000000000200000
40 SizeOfStackCommit»      000000000000100040 SizeOfStackCommit»      0000000000001000
Offset 49344, 649 lines modifiedOffset 49344, 649 lines modified
49344 [13471](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000928·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.50.llvm.1445994534611135405749344 [13471](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000928·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.50.llvm.14459945346111354057
49345 [13472](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c40·__imp_anon.e6bd1a73c89ba8e90c2ce6069483e068.0.llvm.927260648334602883649345 [13472](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c40·__imp_anon.e6bd1a73c89ba8e90c2ce6069483e068.0.llvm.9272606483346028836
49346 [13473](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000180·__imp_anon.215c85838e60666fa0d04792faf4e0b4.3.llvm.1186412754687544689749346 [13473](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000180·__imp_anon.215c85838e60666fa0d04792faf4e0b4.3.llvm.11864127546875446897
49347 [13474](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000090·__imp_anon.498bc021f218a19ea0bd0d77fca912c5.0.llvm.244112958529035917449347 [13474](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000090·__imp_anon.498bc021f218a19ea0bd0d77fca912c5.0.llvm.2441129585290359174
49348 [13475](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c30·__imp_anon.76555d795145f7865b952292cc5a6631.25.llvm.436612485736676384749348 [13475](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c30·__imp_anon.76555d795145f7865b952292cc5a6631.25.llvm.4366124857366763847
49349 [13476](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000068e8·anon.ca18258cd5980f5014ffef47b5e509fa.75.llvm.1042833285625378797949349 [13476](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000068e8·anon.ca18258cd5980f5014ffef47b5e509fa.75.llvm.10428332856253787979
Diff chunk too large, falling back to line-by-line diff (635 lines added, 635 lines removed)
49350 [13477](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000950·__imp_Sleep49350 [13477](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000950·__imp_Sleep
49351 [13478](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000072a8·anon.d2903dfbc62ebc3c11024d72a87d87a6.102.llvm.178278148004330519049351 [13478](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000000·_head__tmp_rustcWmzWoe_api_ms_win_core_synch_l1_2_0_dll_imports_lib
49352 [13479](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000728·__imp_EnterCriticalSection49352 [13479](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000072a8·anon.d2903dfbc62ebc3c11024d72a87d87a6.102.llvm.1782781480043305190
49353 [13480](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000158·__imp_anon.800c2194431feba75d1b432947d0a960.36.llvm.833386981944551999549353 [13480](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000728·__imp_EnterCriticalSection
49354 [13481](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c16f0·memcmp49354 [13481](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000158·__imp_anon.800c2194431feba75d1b432947d0a960.36.llvm.8333869819445519995
49355 [13482](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000530·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.3.llvm.1042833285625378797949355 [13482](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c16f0·memcmp
49356 [13483](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000920·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.49.llvm.1445994534611135405749356 [13483](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000530·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.3.llvm.10428332856253787979
49357 [13484](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a00·__imp__unlock49357 [13484](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000920·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.49.llvm.14459945346111354057
49358 [13485](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000017106·anon.fd4f6d4d5403e7430f30de5b44ba9afa.5.llvm.1118250010022216145949358 [13485](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a00·__imp__unlock
49359 [13486](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1438·listen49359 [13486](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000017106·anon.fd4f6d4d5403e7430f30de5b44ba9afa.5.llvm.11182500100222161459
49360 [13487](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026fe0·.refptr.__RUNTIME_PSEUDO_RELOC_LIST__49360 [13487](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1438·listen
49361 [13488](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001acc·__lib64_libws2_32_a_iname49361 [13488](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026fe0·.refptr.__RUNTIME_PSEUDO_RELOC_LIST__
49362 [13489](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c10·__imp_anon.76555d795145f7865b952292cc5a6631.21.llvm.436612485736676384749362 [13489](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001acc·__lib64_libws2_32_a_iname
49363 [13490](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a28·__imp_memcmp49363 [13490](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c10·__imp_anon.76555d795145f7865b952292cc5a6631.21.llvm.4366124857366763847
49364 [13491](sec··7)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000120·_ZN3std9panicking11panic_count18GLOBAL_PANIC_COUNT17haf02b48b479ae48aE49364 [13491](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a28·__imp_memcmp
49365 [13492](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000be0·__imp__ZN4core7unicode12unicode_data9uppercase17BITSET_CHUNKS_MAP17h8c5f8c7cce7c5717E49365 [13492](sec··7)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000120·_ZN3std9panicking11panic_count18GLOBAL_PANIC_COUNT17haf02b48b479ae48aE
49366 [13493](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000590·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.58.llvm.1042833285625378797949366 [13493](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000be0·__imp__ZN4core7unicode12unicode_data9uppercase17BITSET_CHUNKS_MAP17h8c5f8c7cce7c5717E
49367 [13494](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000005218·anon.88fa5f823c2ddbef19e2b3a9147fe14c.6.llvm.186358016992328505849367 [13494](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000590·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.58.llvm.10428332856253787979
49368 [13495](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000028·__imp_anon.670a8b28acf8ec7662a065e17b249818.11.llvm.495308401589420859549368 [13495](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000005218·anon.88fa5f823c2ddbef19e2b3a9147fe14c.6.llvm.1863580169923285058
49369 [13496](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000022dbd·anon.e6bd1a73c89ba8e90c2ce6069483e068.1.llvm.927260648334602883649369 [13496](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000028·__imp_anon.670a8b28acf8ec7662a065e17b249818.11.llvm.4953084015894208595
49370 [13497](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026680·anon.be9df2dadfc85417ac21ee70e9e792f5.4.llvm.1759992062022354923249370 [13497](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000022dbd·anon.e6bd1a73c89ba8e90c2ce6069483e068.1.llvm.9272606483346028836
49371 [13498](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000b08·__imp_getaddrinfo49371 [13498](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026680·anon.be9df2dadfc85417ac21ee70e9e792f5.4.llvm.17599920620223549232
49372 [13499](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x000000000000244d·anon.31a4b43ba12dd5138b262840c861d4c8.13.llvm.506542896758910825449372 [13499](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000b08·__imp_getaddrinfo
49373 [13500](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001438·anon.498bc021f218a19ea0bd0d77fca912c5.0.llvm.244112958529035917449373 [13500](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x000000000000244d·anon.31a4b43ba12dd5138b262840c861d4c8.13.llvm.5065428967589108254
49374 [13501](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000818·__imp_GetProcessId49374 [13501](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001438·anon.498bc021f218a19ea0bd0d77fca912c5.0.llvm.2441129585290359174
49375 [13502](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1540·_Unwind_GetDataRelBase49375 [13502](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000818·__imp_GetProcessId
49376 [13503](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000071e8·anon.d2903dfbc62ebc3c11024d72a87d87a6.90.llvm.178278148004330519049376 [13503](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1540·_Unwind_GetDataRelBase
49377 [13504](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000168·__imp_anon.215c85838e60666fa0d04792faf4e0b4.0.llvm.1186412754687544689749377 [13504](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000071e8·anon.d2903dfbc62ebc3c11024d72a87d87a6.90.llvm.1782781480043305190
49378 [13505](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000b08·__imp_anon.1e922219479ecfd786a35ad2343cd442.14.llvm.1426563872116636592049378 [13505](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000168·__imp_anon.215c85838e60666fa0d04792faf4e0b4.0.llvm.11864127546875446897
49379 [13506](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000618·__imp_anon.d2903dfbc62ebc3c11024d72a87d87a6.50.llvm.178278148004330519049379 [13506](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000b08·__imp_anon.1e922219479ecfd786a35ad2343cd442.14.llvm.14265638721166365920
49380 [13507](sec··1)(fl·0x00)(ty···20)(scl···2)·(nx·0)·0x00000000000c24c8·abort49380 [13507](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000618·__imp_anon.d2903dfbc62ebc3c11024d72a87d87a6.50.llvm.1782781480043305190
49381 [13508](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068850·CloseHandle49381 [13508](sec··1)(fl·0x00)(ty···20)(scl···2)·(nx·0)·0x00000000000c24c8·abort
49382 [13509](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001640·anon.800c2194431feba75d1b432947d0a960.9.llvm.833386981944551999549382 [13509](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068850·CloseHandle
49383 [13510](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000280·__imp_anon.31a4b43ba12dd5138b262840c861d4c8.14.llvm.506542896758910825449383 [13510](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001640·anon.800c2194431feba75d1b432947d0a960.9.llvm.8333869819445519995
49384 [13511](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000650·__imp_anon.d2903dfbc62ebc3c11024d72a87d87a6.89.llvm.178278148004330519049384 [13511](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000280·__imp_anon.31a4b43ba12dd5138b262840c861d4c8.14.llvm.5065428967589108254
49385 [13512](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068768·GetCurrentProcess49385 [13512](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000650·__imp_anon.d2903dfbc62ebc3c11024d72a87d87a6.89.llvm.1782781480043305190
49386 [13513](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000073d0·anon.d2903dfbc62ebc3c11024d72a87d87a6.117.llvm.178278148004330519049386 [13513](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068768·GetCurrentProcess
49387 [13514](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ac0·__imp__ZN4core7unicode12unicode_data9lowercase17BITSET_CHUNKS_MAP17hdcb47f8ca91f4c20E49387 [13514](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000073d0·anon.d2903dfbc62ebc3c11024d72a87d87a6.117.llvm.1782781480043305190
49388 [13515](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068760·GetCurrentProcessId49388 [13515](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ac0·__imp__ZN4core7unicode12unicode_data9lowercase17BITSET_CHUNKS_MAP17hdcb47f8ca91f4c20E
49389 [13516](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000007888·anon.f8725ed9a907991b8955aa6d295c32cf.26.llvm.607879956156505917349389 [13516](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068760·GetCurrentProcessId
49390 [13517](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a50·__imp_strlen49390 [13517](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000007888·anon.f8725ed9a907991b8955aa6d295c32cf.26.llvm.6078799561565059173
49391 [13518](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000687a8·FindFirstFileW49391 [13518](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a50·__imp_strlen
49392 [13519](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ba8·__imp__Unwind_GetTextRelBase49392 [13519](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000687a8·FindFirstFileW
49393 [13520](sec··1)(fl·0x00)(ty···20)(scl···2)·(nx·0)·0x00000000000c1710·realloc49393 [13520](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ba8·__imp__Unwind_GetTextRelBase
49394 [13521](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1470·connect49394 [13521](sec··1)(fl·0x00)(ty···20)(scl···2)·(nx·0)·0x00000000000c1710·realloc
49395 [13522](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000bc0·__imp__Unwind_SetGR49395 [13522](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1470·connect
49396 [13523](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000060b1·anon.ca18258cd5980f5014ffef47b5e509fa.1.llvm.1042833285625378797949396 [13523](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000bc0·__imp__Unwind_SetGR
49397 [13524](sec·10)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000028·___crt_xi_end__49397 [13524](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000060b1·anon.ca18258cd5980f5014ffef47b5e509fa.1.llvm.10428332856253787979
49398 [13525](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c78·__imp_anon.be9df2dadfc85417ac21ee70e9e792f5.1.llvm.1759992062022354923249398 [13525](sec·10)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000028·___crt_xi_end__
49399 [13526](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c13cc·RtlNtStatusToDosError49399 [13526](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c78·__imp_anon.be9df2dadfc85417ac21ee70e9e792f5.1.llvm.17599920620223549232
49400 [13527](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000007e0·__imp__ZN3std4sync4mpmc5waker17current_thread_id5DUMMY28_$u7b$$u7b$closure$u7d$$u7d$3VAL17h4ddfd00e7ffb6bcfE49400 [13527](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c13cc·RtlNtStatusToDosError
49401 [13528](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000188·__imp_anon.215c85838e60666fa0d04792faf4e0b4.4.llvm.1186412754687544689749401 [13528](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000007e0·__imp__ZN3std4sync4mpmc5waker17current_thread_id5DUMMY28_$u7b$$u7b$closure$u7d$$u7d$3VAL17h4ddfd00e7ffb6bcfE
49402 [13529](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001820·anon.800c2194431feba75d1b432947d0a960.25.llvm.833386981944551999549402 [13529](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000188·__imp_anon.215c85838e60666fa0d04792faf4e0b4.4.llvm.11864127546875446897
49403 [13530](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001560·anon.800c2194431feba75d1b432947d0a960.1.llvm.833386981944551999549403 [13530](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001820·anon.800c2194431feba75d1b432947d0a960.25.llvm.8333869819445519995
49404 [13531](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a88·__imp_RtlNtStatusToDosError49404 [13531](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001560·anon.800c2194431feba75d1b432947d0a960.1.llvm.8333869819445519995
49405 [13532](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006e8·__imp_anon.f8725ed9a907991b8955aa6d295c32cf.8.llvm.607879956156505917349405 [13532](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a88·__imp_RtlNtStatusToDosError
49406 [13533](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000004a8·__imp_anon.ed033f86ee3168d767996dbdf3faee19.5.llvm.999528251819538089149406 [13533](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006e8·__imp_anon.f8725ed9a907991b8955aa6d295c32cf.8.llvm.6078799561565059173
49407 [13534](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000004d0·__imp_anon.88fa5f823c2ddbef19e2b3a9147fe14c.27.llvm.186358016992328505849407 [13534](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000004a8·__imp_anon.ed033f86ee3168d767996dbdf3faee19.5.llvm.9995282518195380891
49408 [13535](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ba0·__imp_anon.cc468c6b4b14323b7a6607ca77aa32be.51.llvm.1510681608568537529149408 [13535](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000004d0·__imp_anon.88fa5f823c2ddbef19e2b3a9147fe14c.27.llvm.1863580169923285058
49409 [13536](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000009a8·__imp_VirtualQuery49409 [13536](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ba0·__imp_anon.cc468c6b4b14323b7a6607ca77aa32be.51.llvm.15106816085685375291
49410 [13537](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000020·__imp_anon.670a8b28acf8ec7662a065e17b249818.4.llvm.495308401589420859549410 [13537](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000009a8·__imp_VirtualQuery
49411 [13538](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001710·anon.800c2194431feba75d1b432947d0a960.16.llvm.833386981944551999549411 [13538](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000020·__imp_anon.670a8b28acf8ec7662a065e17b249818.4.llvm.4953084015894208595
49412 [13539](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000130·__imp_anon.800c2194431feba75d1b432947d0a960.23.llvm.833386981944551999549412 [13539](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001710·anon.800c2194431feba75d1b432947d0a960.16.llvm.8333869819445519995
49413 [13540](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000740·__imp_anon.f8725ed9a907991b8955aa6d295c32cf.36.llvm.607879956156505917349413 [13540](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000130·__imp_anon.800c2194431feba75d1b432947d0a960.23.llvm.8333869819445519995
49414 [13541](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000171d0·_ZN4core3fmt3num14DEC_DIGITS_LUT17he6eeb3e98e5ff841E49414 [13541](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000740·__imp_anon.f8725ed9a907991b8955aa6d295c32cf.36.llvm.6078799561565059173
49415 [13542](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a70·__imp_anon.fd4f6d4d5403e7430f30de5b44ba9afa.0.llvm.1118250010022216145949415 [13542](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000171d0·_ZN4core3fmt3num14DEC_DIGITS_LUT17he6eeb3e98e5ff841E
49416 [13543](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000016dc·anon.800c2194431feba75d1b432947d0a960.14.llvm.833386981944551999549416 [13543](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a70·__imp_anon.fd4f6d4d5403e7430f30de5b44ba9afa.0.llvm.11182500100222161459
49417 [13544](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000004dc8·anon.ed033f86ee3168d767996dbdf3faee19.7.llvm.999528251819538089149417 [13544](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000016dc·anon.800c2194431feba75d1b432947d0a960.14.llvm.8333869819445519995
49418 [13545](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000858·__imp_HeapFree49418 [13545](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000004dc8·anon.ed033f86ee3168d767996dbdf3faee19.7.llvm.9995282518195380891
49419 [13546](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000468·__imp_anon.e87097ae5a60e4af24ba901dd491749d.104.llvm.442943929936086879649419 [13546](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000858·__imp_HeapFree
49420 [13547](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000022d22·anon.76555d795145f7865b952292cc5a6631.25.llvm.436612485736676384749420 [13547](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000468·__imp_anon.e87097ae5a60e4af24ba901dd491749d.104.llvm.4429439299360868796
49421 [13548](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000003918·anon.e87097ae5a60e4af24ba901dd491749d.36.llvm.442943929936086879649421 [13548](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000022d22·anon.76555d795145f7865b952292cc5a6631.25.llvm.4366124857366763847
49422 [13549](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006c0·__imp_CreateHardLinkW49422 [13549](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000003918·anon.e87097ae5a60e4af24ba901dd491749d.36.llvm.4429439299360868796
49423 [13550](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000548·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.8.llvm.1042833285625378797949423 [13550](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006c0·__imp_CreateHardLinkW
49424 [13551](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000272f0·__rt_psrelocs_start49424 [13551](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000548·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.8.llvm.10428332856253787979
49425 [13552](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000066b8·anon.ca18258cd5980f5014ffef47b5e509fa.57.llvm.1042833285625378797949425 [13552](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000272f0·__rt_psrelocs_start
49426 [13553](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000003c0·__imp_anon.e87097ae5a60e4af24ba901dd491749d.42.llvm.442943929936086879649426 [13553](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000066b8·anon.ca18258cd5980f5014ffef47b5e509fa.57.llvm.10428332856253787979
49427 [13554](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068540·WriteConsoleW49427 [13554](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000003c0·__imp_anon.e87097ae5a60e4af24ba901dd491749d.42.llvm.4429439299360868796
49428 [13555](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000920·__imp_SetFilePointerEx49428 [13555](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068540·WriteConsoleW
49429 [13556](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000038c0·anon.e87097ae5a60e4af24ba901dd491749d.35.llvm.442943929936086879649429 [13556](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000920·__imp_SetFilePointerEx
49430 [13557](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000bd8·__IAT_end__49430 [13557](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000038c0·anon.e87097ae5a60e4af24ba901dd491749d.35.llvm.4429439299360868796
49431 [13558](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006e0·__imp_anon.f8725ed9a907991b8955aa6d295c32cf.7.llvm.607879956156505917349431 [13558](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000bd8·__IAT_end__
49432 [13559](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000009d8·__imp_anon.d0e9c15943c1c717f770b5ea07a92f17.3.llvm.1837132002426728467149432 [13559](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006e0·__imp_anon.f8725ed9a907991b8955aa6d295c32cf.7.llvm.6078799561565059173
49433 [13560](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000003f68·anon.e87097ae5a60e4af24ba901dd491749d.85.llvm.442943929936086879649433 [13560](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000009d8·__imp_anon.d0e9c15943c1c717f770b5ea07a92f17.3.llvm.18371320024267284671
49434 [13561](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000021756·anon.cc468c6b4b14323b7a6607ca77aa32be.41.llvm.1510681608568537529149434 [13561](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000003f68·anon.e87097ae5a60e4af24ba901dd491749d.85.llvm.4429439299360868796
49435 [13562](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000980·__imp__ZN3std3sys3pal7windows1c20SetThreadDescription3PTR17h3c407cb57d146126E49435 [13562](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000021756·anon.cc468c6b4b14323b7a6607ca77aa32be.41.llvm.15106816085685375291
49436 [13563](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068860·AddVectoredExceptionHandler49436 [13563](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000980·__imp__ZN3std3sys3pal7windows1c20SetThreadDescription3PTR17h3c407cb57d146126E
49437 [13564](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000448·__imp_anon.e87097ae5a60e4af24ba901dd491749d.99.llvm.442943929936086879649437 [13564](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068860·AddVectoredExceptionHandler
49438 [13565](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000b60·__imp_setsockopt49438 [13565](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000448·__imp_anon.e87097ae5a60e4af24ba901dd491749d.99.llvm.4429439299360868796
49439 [13566](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000685d0·SetFileTime49439 [13566](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000b60·__imp_setsockopt
49440 [13567](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ae0·__imp_anon.1e922219479ecfd786a35ad2343cd442.0.llvm.1426563872116636592049440 [13567](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000685d0·SetFileTime
49441 [13568](sec··7)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000088·_ZN3std2io5stdio6STDOUT17h3e11da81ab24164aE.llvm.506542896758910825449441 [13568](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ae0·__imp_anon.1e922219479ecfd786a35ad2343cd442.0.llvm.14265638721166365920
49442 [13569](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000004f0·__imp_anon.88fa5f823c2ddbef19e2b3a9147fe14c.82.llvm.186358016992328505849442 [13569](sec··7)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000088·_ZN3std2io5stdio6STDOUT17h3e11da81ab24164aE.llvm.5065428967589108254
49443 [13570](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006c8·__imp_CreateNamedPipeW49443 [13570](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000004f0·__imp_anon.88fa5f823c2ddbef19e2b3a9147fe14c.82.llvm.1863580169923285058
49444 [13571](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ab0·__imp_WSADuplicateSocketW49444 [13571](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006c8·__imp_CreateNamedPipeW
49445 [13572](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000398·__imp_anon.e87097ae5a60e4af24ba901dd491749d.37.llvm.442943929936086879649445 [13572](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ab0·__imp_WSADuplicateSocketW
49446 [13573](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000268·__imp__ZN3std6thread7Builder16spawn_unchecked_28_$u7b$$u7b$closure$u7d$$u7d$3MIN17hd20721ce19a6143aE49446 [13573](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000398·__imp_anon.e87097ae5a60e4af24ba901dd491749d.37.llvm.4429439299360868796
49447 [13574](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000006d10·anon.d2903dfbc62ebc3c11024d72a87d87a6.23.llvm.178278148004330519049447 [13574](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000268·__imp__ZN3std6thread7Builder16spawn_unchecked_28_$u7b$$u7b$closure$u7d$$u7d$3MIN17hd20721ce19a6143aE
49448 [13575](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000008b8·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.22.llvm.1445994534611135405749448 [13575](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000006d10·anon.d2903dfbc62ebc3c11024d72a87d87a6.23.llvm.1782781480043305190
49449 [13576](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000017102·anon.fd4f6d4d5403e7430f30de5b44ba9afa.3.llvm.1118250010022216145949449 [13576](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000008b8·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.22.llvm.14459945346111354057
49450 [13577](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000840·__imp_GetTempPathW49450 [13577](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000017102·anon.fd4f6d4d5403e7430f30de5b44ba9afa.3.llvm.11182500100222161459
49451 [13578](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026fa8·.refptr._ZN3std9panicking11panic_count18GLOBAL_PANIC_COUNT17haf02b48b479ae48aE49451 [13578](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000840·__imp_GetTempPathW
49452 [13579](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000685f8·SetCurrentDirectoryW49452 [13579](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026fa8·.refptr._ZN3std9panicking11panic_count18GLOBAL_PANIC_COUNT17haf02b48b479ae48aE
49453 [13580](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000005a0·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.76.llvm.1042833285625378797949453 [13580](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000685f8·SetCurrentDirectoryW
Max diff block lines reached; 83102/238493 bytes (34.84%) of diff not shown.
2.32 MB
rust-doc_1.83.0+dfsg1-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-12-04·17:07:54.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-12-04·17:07:54.000000·debian-binary
2 -rw-r--r--···0········0········0···938960·2024-12-04·17:07:54.000000·control.tar.xz2 -rw-r--r--···0········0········0···938976·2024-12-04·17:07:54.000000·control.tar.xz
3 -rw-r--r--···0········0········0·21134896·2024-12-04·17:07:54.000000·data.tar.xz3 -rw-r--r--···0········0········0·21158368·2024-12-04·17:07:54.000000·data.tar.xz
664 B
control.tar.xz
636 B
control.tar
566 B
./control
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 Package:·rust-doc1 Package:·rust-doc
2 Source:·rustc2 Source:·rustc
3 Version:·1.83.0+dfsg1-13 Version:·1.83.0+dfsg1-1
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:·6213366 Installed-Size:·621318
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-doc8 Recommends:·cargo-doc
9 Section:·doc9 Section:·doc
10 Priority:·optional10 Priority:·optional
11 Homepage:·http://www.rust-lang.org/11 Homepage:·http://www.rust-lang.org/
12 Description:·Rust·systems·programming·language·-·Documentation12 Description:·Rust·systems·programming·language·-·Documentation
13 ·Rust·is·a·curly-brace,·block-structured·expression·language.··It13 ·Rust·is·a·curly-brace,·block-structured·expression·language.··It
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
2.32 MB
data.tar.xz
2.32 MB
data.tar
29.6 KB
file list
    
Offset 39695, 48 lines modifiedOffset 39695, 48 lines modified
39695 -rw-r--r--···0·root·········(0)·root·········(0)·····4239·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/not_found.html39695 -rw-r--r--···0·root·········(0)·root·········(0)·····4239·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/not_found.html
39696 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/39696 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/
39697 -rw-r--r--···0·root·········(0)·root·········(0)·····4552·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/all.html39697 -rw-r--r--···0·root·········(0)·root·········(0)·····4552·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/all.html
39698 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/diagnostic/39698 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/diagnostic/
39699 -rw-r--r--···0·root·········(0)·root·········(0)······400·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/diagnostic/enum.Level.html39699 -rw-r--r--···0·root·········(0)·root·········(0)······400·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/diagnostic/enum.Level.html
39700 -rw-r--r--···0·root·········(0)·root·········(0)······428·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/diagnostic/struct.Diagnostic.html39700 -rw-r--r--···0·root·········(0)·root·········(0)······428·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/diagnostic/struct.Diagnostic.html
39701 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/diagnostic/trait.MultiSpan.html39701 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/diagnostic/trait.MultiSpan.html
39702 -rw-r--r--···0·root·········(0)·root·········(0)····32006·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/enum.Delimiter.html39702 -rw-r--r--···0·root·········(0)·root·········(0)····31796·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/enum.Delimiter.html
39703 -rw-r--r--···0·root·········(0)·root·········(0)····28178·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/enum.Level.html39703 -rw-r--r--···0·root·········(0)·root·········(0)····28058·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/enum.Level.html
39704 -rw-r--r--···0·root·········(0)·root·········(0)····31553·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/enum.Spacing.html39704 -rw-r--r--···0·root·········(0)·root·········(0)····31343·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/enum.Spacing.html
39705 -rw-r--r--···0·root·········(0)·root·········(0)····47204·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/enum.TokenTree.html39705 -rw-r--r--···0·root·········(0)·root·········(0)····47054·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/enum.TokenTree.html
39706 -rw-r--r--···0·root·········(0)·root·········(0)·····4313·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/fn.is_available.html39706 -rw-r--r--···0·root·········(0)·root·········(0)·····4283·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/fn.is_available.html
39707 -rw-r--r--···0·root·········(0)·root·········(0)·····4110·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/fn.quote.html39707 -rw-r--r--···0·root·········(0)·root·········(0)·····4110·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/fn.quote.html
39708 -rw-r--r--···0·root·········(0)·root·········(0)·····4086·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/fn.quote_span.html39708 -rw-r--r--···0·root·········(0)·root·········(0)·····4086·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/fn.quote_span.html
39709 -rw-r--r--···0·root·········(0)·root·········(0)····11713·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/index.html39709 -rw-r--r--···0·root·········(0)·root·········(0)····11713·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/index.html
39710 -rw-r--r--···0·root·········(0)·root·········(0)······336·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/macro.quote!.html39710 -rw-r--r--···0·root·········(0)·root·········(0)······336·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/macro.quote!.html
39711 -rw-r--r--···0·root·········(0)·root·········(0)·····4403·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/macro.quote.html39711 -rw-r--r--···0·root·········(0)·root·········(0)·····4403·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/macro.quote.html
39712 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/quote/39712 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/quote/
39713 -rw-r--r--···0·root·········(0)·root·········(0)······392·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/quote/fn.quote.html39713 -rw-r--r--···0·root·········(0)·root·········(0)······392·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/quote/fn.quote.html
39714 -rw-r--r--···0·root·········(0)·root·········(0)······412·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/quote/fn.quote_span.html39714 -rw-r--r--···0·root·········(0)·root·········(0)······412·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/quote/fn.quote_span.html
39715 -rw-r--r--···0·root·········(0)·root·········(0)······328·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/sidebar-items1.83.0.js39715 -rw-r--r--···0·root·········(0)·root·········(0)······328·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/sidebar-items1.83.0.js
39716 -rw-r--r--···0·root·········(0)·root·········(0)····45682·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Diagnostic.html39716 -rw-r--r--···0·root·········(0)·root·········(0)····45532·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Diagnostic.html
39717 -rw-r--r--···0·root·········(0)·root·········(0)····26728·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.ExpandError.html39717 -rw-r--r--···0·root·········(0)·root·········(0)····26638·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.ExpandError.html
39718 -rw-r--r--···0·root·········(0)·root·········(0)····36587·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Group.html39718 -rw-r--r--···0·root·········(0)·root·········(0)····36467·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Group.html
39719 -rw-r--r--···0·root·········(0)·root·········(0)····34785·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Ident.html39719 -rw-r--r--···0·root·········(0)·root·········(0)····34605·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Ident.html
39720 -rw-r--r--···0·root·········(0)·root·········(0)····26859·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.LexError.html39720 -rw-r--r--···0·root·········(0)·root·········(0)····26769·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.LexError.html
39721 -rw-r--r--···0·root·········(0)·root·········(0)····78811·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Literal.html39721 -rw-r--r--···0·root·········(0)·root·········(0)····77671·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Literal.html
39722 -rw-r--r--···0·root·········(0)·root·········(0)····39634·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Punct.html39722 -rw-r--r--···0·root·········(0)·root·········(0)····39184·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Punct.html
39723 -rw-r--r--···0·root·········(0)·root·········(0)····30873·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.SourceFile.html39723 -rw-r--r--···0·root·········(0)·root·········(0)····30603·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.SourceFile.html
39724 -rw-r--r--···0·root·········(0)·root·········(0)····46911·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Span.html39724 -rw-r--r--···0·root·········(0)·root·········(0)····46671·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.Span.html
39725 -rw-r--r--···0·root·········(0)·root·········(0)····54127·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.TokenStream.html39725 -rw-r--r--···0·root·········(0)·root·········(0)····53887·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/struct.TokenStream.html
39726 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/token_stream/39726 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/token_stream/
39727 -rw-r--r--···0·root·········(0)·root·········(0)·····4356·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/token_stream/index.html39727 -rw-r--r--···0·root·········(0)·root·········(0)·····4356·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/token_stream/index.html
39728 -rw-r--r--···0·root·········(0)·root·········(0)·······47·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/token_stream/sidebar-items1.83.0.js39728 -rw-r--r--···0·root·········(0)·root·········(0)·······47·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/token_stream/sidebar-items1.83.0.js
39729 -rw-r--r--···0·root·········(0)·root·········(0)···135224·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/token_stream/struct.IntoIter.html39729 -rw-r--r--···0·root·········(0)·root·········(0)···133766·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/token_stream/struct.IntoIter.html
39730 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_env/39730 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_env/
39731 -rw-r--r--···0·root·········(0)·root·········(0)·····5379·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_env/fn.var.html39731 -rw-r--r--···0·root·········(0)·root·········(0)·····5298·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_env/fn.var.html
39732 -rw-r--r--···0·root·········(0)·root·········(0)·····4697·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_env/index.html39732 -rw-r--r--···0·root·········(0)·root·········(0)·····4697·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_env/index.html
39733 -rw-r--r--···0·root·········(0)·root·········(0)·······38·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_env/sidebar-items1.83.0.js39733 -rw-r--r--···0·root·········(0)·root·········(0)·······38·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_env/sidebar-items1.83.0.js
39734 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_path/39734 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_path/
39735 -rw-r--r--···0·root·········(0)·root·········(0)·····4066·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_path/fn.path.html39735 -rw-r--r--···0·root·········(0)·root·········(0)·····4039·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_path/fn.path.html
39736 -rw-r--r--···0·root·········(0)·root·········(0)·····4300·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_path/index.html39736 -rw-r--r--···0·root·········(0)·root·········(0)·····4300·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_path/index.html
39737 -rw-r--r--···0·root·········(0)·root·········(0)·······39·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_path/sidebar-items1.83.0.js39737 -rw-r--r--···0·root·········(0)·root·········(0)·······39·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/tracked_path/sidebar-items1.83.0.js
39738 -rw-r--r--···0·root·········(0)·root·········(0)·····9334·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/trait.MultiSpan.html39738 -rw-r--r--···0·root·········(0)·root·········(0)·····9334·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/proc_macro/trait.MultiSpan.html
39739 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/reference/39739 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/reference/
39740 -rw-r--r--···0·root·········(0)·root·········(0)·······72·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/reference/.nojekyll39740 -rw-r--r--···0·root·········(0)·root·········(0)·······72·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/reference/.nojekyll
39741 -rw-r--r--···0·root·········(0)·root·········(0)····29983·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/reference/abi.html39741 -rw-r--r--···0·root·········(0)·root·········(0)····29983·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/reference/abi.html
39742 -rw-r--r--···0·root·········(0)·root·········(0)····24933·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/reference/appendices.html39742 -rw-r--r--···0·root·········(0)·root·········(0)····24933·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/reference/appendices.html
Offset 44186, 42 lines modifiedOffset 44186, 42 lines modified
44186 -rw-r--r--···0·root·········(0)·root·········(0)····51743·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/style-guide/searchindex.json.gz44186 -rw-r--r--···0·root·········(0)·root·········(0)····51743·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/style-guide/searchindex.json.gz
44187 -rw-r--r--···0·root·········(0)·root·········(0)····19725·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/style-guide/statements.html44187 -rw-r--r--···0·root·········(0)·root·········(0)····19725·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/style-guide/statements.html
44188 -rw-r--r--···0·root·········(0)·root·········(0)·····1667·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/style-guide/tomorrow-night.css44188 -rw-r--r--···0·root·········(0)·root·········(0)·····1667·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/style-guide/tomorrow-night.css
44189 -rw-r--r--···0·root·········(0)·root·········(0)····13582·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/style-guide/types.html44189 -rw-r--r--···0·root·········(0)·root·········(0)····13582·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/style-guide/types.html
44190 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/44190 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/
44191 -rw-r--r--···0·root·········(0)·root·········(0)·····6180·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/all.html44191 -rw-r--r--···0·root·········(0)·root·········(0)·····6180·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/all.html
44192 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/44192 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/
44193 -rw-r--r--···0·root·········(0)·root·········(0)·····4608·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.html44193 -rw-r--r--···0·root·········(0)·root·········(0)·····4527·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.html
44194 -rw-r--r--···0·root·········(0)·root·········(0)·····4003·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.black_box.html44194 -rw-r--r--···0·root·········(0)·root·········(0)·····4003·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.black_box.html
44195 -rw-r--r--···0·root·········(0)·root·········(0)·····3765·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.fmt_bench_samples.html44195 -rw-r--r--···0·root·········(0)·root·········(0)·····3765·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.fmt_bench_samples.html
44196 -rw-r--r--···0·root·········(0)·root·········(0)·····3877·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.iter.html44196 -rw-r--r--···0·root·········(0)·root·········(0)·····3850·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.iter.html
44197 -rw-r--r--···0·root·········(0)·root·········(0)·····4408·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html44197 -rw-r--r--···0·root·········(0)·root·········(0)·····4354·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html
44198 -rw-r--r--···0·root·········(0)·root·········(0)·····5640·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/index.html44198 -rw-r--r--···0·root·········(0)·root·········(0)·····5640·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/index.html
44199 -rw-r--r--···0·root·········(0)·root·········(0)······130·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/sidebar-items1.83.0.js44199 -rw-r--r--···0·root·········(0)·root·········(0)······130·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/sidebar-items1.83.0.js
44200 -rw-r--r--···0·root·········(0)·root·········(0)····29654·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html44200 -rw-r--r--···0·root·········(0)·root·········(0)····29411·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.html
44201 -rw-r--r--···0·root·········(0)·root·········(0)····27843·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html44201 -rw-r--r--···0·root·········(0)·root·········(0)····27654·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/bench/struct.Bencher.html
44202 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/cli/44202 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/cli/
44203 -rw-r--r--···0·root·········(0)·root·········(0)······408·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/cli/fn.parse_opts.html44203 -rw-r--r--···0·root·········(0)·root·········(0)······408·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/cli/fn.parse_opts.html
44204 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/cli/struct.TestOpts.html44204 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/cli/struct.TestOpts.html
44205 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/console/44205 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/console/
44206 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/console/fn.run_tests_console.html44206 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/console/fn.run_tests_console.html
44207 -rw-r--r--···0·root·········(0)·root·········(0)····28227·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html44207 -rw-r--r--···0·root·········(0)·root·········(0)····28107·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.ColorConfig.html
44208 -rw-r--r--···0·root·········(0)·root·········(0)····32104·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.NamePadding.html44208 -rw-r--r--···0·root·········(0)·root·········(0)····31834·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.NamePadding.html
44209 -rw-r--r--···0·root·········(0)·root·········(0)····31976·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html44209 -rw-r--r--···0·root·········(0)·root·········(0)····31766·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html
44210 -rw-r--r--···0·root·········(0)·root·········(0)····30180·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html44210 -rw-r--r--···0·root·········(0)·root·········(0)····29970·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.RunIgnored.html
44211 -rw-r--r--···0·root·········(0)·root·········(0)····33016·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html44211 -rw-r--r--···0·root·········(0)·root·········(0)····32686·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.html
44212 -rw-r--r--···0·root·········(0)·root·········(0)····29930·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.TestFn.html44212 -rw-r--r--···0·root·········(0)·root·········(0)····29330·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.TestFn.html
44213 -rw-r--r--···0·root·········(0)·root·········(0)····38252·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.TestName.html44213 -rw-r--r--···0·root·········(0)·root·········(0)····37832·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.TestName.html
44214 -rw-r--r--···0·root·········(0)·root·········(0)····33644·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.TestType.html44214 -rw-r--r--···0·root·········(0)·root·········(0)····33374·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/enum.TestType.html
44215 -rw-r--r--···0·root·········(0)·root·········(0)·····4285·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html44215 -rw-r--r--···0·root·········(0)·root·········(0)·····4225·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.assert_test_result.html
44216 -rw-r--r--···0·root·········(0)·root·········(0)·····3873·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.convert_benchmarks_to_tests.html44216 -rw-r--r--···0·root·········(0)·root·········(0)·····3873·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.convert_benchmarks_to_tests.html
44217 -rw-r--r--···0·root·········(0)·root·········(0)·····3929·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.filter_tests.html44217 -rw-r--r--···0·root·········(0)·root·········(0)·····3929·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.filter_tests.html
44218 -rw-r--r--···0·root·········(0)·root·········(0)·····4462·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.run_test.html44218 -rw-r--r--···0·root·········(0)·root·········(0)·····4342·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.run_test.html
44219 -rw-r--r--···0·root·········(0)·root·········(0)·····4375·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.run_tests.html44219 -rw-r--r--···0·root·········(0)·root·········(0)·····4255·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.run_tests.html
44220 -rw-r--r--···0·root·········(0)·root·········(0)·····4238·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html44220 -rw-r--r--···0·root·········(0)·root·········(0)·····4178·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html
44221 -rw-r--r--···0·root·········(0)·root·········(0)·····3923·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.test_main.html44221 -rw-r--r--···0·root·········(0)·root·········(0)·····3923·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.test_main.html
44222 -rw-r--r--···0·root·········(0)·root·········(0)·····3945·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.test_main_static.html44222 -rw-r--r--···0·root·········(0)·root·········(0)·····3945·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.test_main_static.html
44223 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.test_main_static_abort.html44223 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/fn.test_main_static_abort.html
44224 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/helpers/44224 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/helpers/
44225 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/helpers/metrics/44225 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/helpers/metrics/
44226 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/helpers/metrics/struct.Metric.html44226 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/helpers/metrics/struct.Metric.html
44227 -rw-r--r--···0·root·········(0)·root·········(0)······432·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/helpers/metrics/struct.MetricMap.html44227 -rw-r--r--···0·root·········(0)·root·········(0)······432·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/helpers/metrics/struct.MetricMap.html
Offset 44231, 43 lines modifiedOffset 44231, 43 lines modified
44231 -rw-r--r--···0·root·········(0)·root·········(0)······404·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/enum.OutputFormat.html44231 -rw-r--r--···0·root·········(0)·root·········(0)······404·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/enum.OutputFormat.html
44232 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/enum.RunIgnored.html44232 -rw-r--r--···0·root·········(0)·root·········(0)······416·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/enum.RunIgnored.html
44233 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/enum.RunStrategy.html44233 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/enum.RunStrategy.html
44234 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/enum.ShouldPanic.html44234 -rw-r--r--···0·root·········(0)·root·········(0)······420·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/enum.ShouldPanic.html
44235 -rw-r--r--···0·root·········(0)·root·········(0)······412·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/struct.Options.html44235 -rw-r--r--···0·root·········(0)·root·········(0)······412·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/options/struct.Options.html
44236 -rw-r--r--···0·root·········(0)·root·········(0)······406·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/sidebar-items1.83.0.js44236 -rw-r--r--···0·root·········(0)·root·········(0)······406·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/sidebar-items1.83.0.js
44237 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/44237 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/
44238 -rw-r--r--···0·root·········(0)·root·········(0)·····4639·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html44238 -rw-r--r--···0·root·········(0)·root·········(0)·····4585·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.html
44239 -rw-r--r--···0·root·········(0)·root·········(0)·····5279·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/index.html44239 -rw-r--r--···0·root·········(0)·root·········(0)·····5279·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/index.html
44240 -rw-r--r--···0·root·········(0)·root·········(0)·······83·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/sidebar-items1.83.0.js44240 -rw-r--r--···0·root·········(0)·root·········(0)·······83·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/sidebar-items1.83.0.js
44241 -rw-r--r--···0·root·········(0)·root·········(0)····37644·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html44241 -rw-r--r--···0·root·········(0)·root·········(0)····36672·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html
44242 -rw-r--r--···0·root·········(0)·root·········(0)····29137·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html44242 -rw-r--r--···0·root·········(0)·root·········(0)····27814·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html
44243 -rw-r--r--···0·root·········(0)·root·········(0)····29688·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.Options.html44243 -rw-r--r--···0·root·········(0)·root·········(0)····29388·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.Options.html
44244 -rw-r--r--···0·root·········(0)·root·········(0)····35069·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.TestDesc.html44244 -rw-r--r--···0·root·········(0)·root·········(0)····34349·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.TestDesc.html
44245 -rw-r--r--···0·root·········(0)·root·········(0)····22590·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html44245 -rw-r--r--···0·root·········(0)·root·········(0)····22350·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.html
44246 -rw-r--r--···0·root·········(0)·root·········(0)····31660·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.TestId.html44246 -rw-r--r--···0·root·········(0)·root·········(0)····31330·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.TestId.html
44247 -rw-r--r--···0·root·········(0)·root·········(0)····33844·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.TestOpts.html44247 -rw-r--r--···0·root·········(0)·root·········(0)····33034·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/struct.TestOpts.html
44248 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/44248 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/
44249 -rw-r--r--···0·root·········(0)·root·········(0)····30497·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html44249 -rw-r--r--···0·root·········(0)·root·········(0)····30308·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.html
44250 -rw-r--r--···0·root·········(0)·root·········(0)····25810·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html44250 -rw-r--r--···0·root·········(0)·root·········(0)····25702·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html
44251 -rw-r--r--···0·root·········(0)·root·········(0)····33367·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html44251 -rw-r--r--···0·root·········(0)·root·········(0)····33070·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.html
44252 -rw-r--r--···0·root·········(0)·root·········(0)····38668·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.TestName.html44252 -rw-r--r--···0·root·········(0)·root·········(0)····38290·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.TestName.html
44253 -rw-r--r--···0·root·········(0)·root·········(0)····31099·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html44253 -rw-r--r--···0·root·········(0)·root·········(0)····30910·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.TestResult.html
44254 -rw-r--r--···0·root·········(0)·root·········(0)····33995·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.TestType.html44254 -rw-r--r--···0·root·········(0)·root·········(0)····33752·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/enum.TestType.html
44255 -rw-r--r--···0·root·········(0)·root·········(0)·····4689·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/fn.parse_opts.html44255 -rw-r--r--···0·root·········(0)·root·········(0)·····4689·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/fn.parse_opts.html
44256 -rw-r--r--···0·root·········(0)·root·········(0)····12804·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/index.html44256 -rw-r--r--···0·root·········(0)·root·········(0)····12804·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/index.html
44257 -rw-r--r--···0·root·········(0)·root·········(0)······252·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/sidebar-items1.83.0.js44257 -rw-r--r--···0·root·········(0)·root·········(0)······252·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/sidebar-items1.83.0.js
44258 -rw-r--r--···0·root·········(0)·root·········(0)····29789·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.Metric.html44258 -rw-r--r--···0·root·········(0)·root·········(0)····29546·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.Metric.html
44259 -rw-r--r--···0·root·········(0)·root·········(0)····30273·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html44259 -rw-r--r--···0·root·········(0)·root·········(0)····30003·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html
44260 -rw-r--r--···0·root·········(0)·root·········(0)····29987·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.Options.html44260 -rw-r--r--···0·root·········(0)·root·········(0)····29717·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.Options.html
44261 -rw-r--r--···0·root·········(0)·root·········(0)····35364·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html44261 -rw-r--r--···0·root·········(0)·root·········(0)····34716·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestDesc.html
44262 -rw-r--r--···0·root·········(0)·root·········(0)····22831·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html44262 -rw-r--r--···0·root·········(0)·root·········(0)····22615·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.html
44263 -rw-r--r--···0·root·········(0)·root·········(0)····32011·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html44263 -rw-r--r--···0·root·········(0)·root·········(0)····31822·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestExecTime.html
44264 -rw-r--r--···0·root·········(0)·root·········(0)····32011·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestId.html44264 -rw-r--r--···0·root·········(0)·root·········(0)····31714·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestId.html
44265 -rw-r--r--···0·root·········(0)·root·········(0)····34116·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html44265 -rw-r--r--···0·root·········(0)·root·········(0)····33387·2024-12-04·17:07:54.000000·./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.html
Max diff block lines reached; 3314/30250 bytes (10.96%) of diff not shown.
35.8 KB
./usr/share/doc/rust-doc/html/proc_macro/enum.Delimiter.html
    
Offset 16, 21 lines modifiedOffset 16, 21 lines modified
16 <p>Note:·rustc·currently·can·ignore·the·grouping·of·tokens·delimited·by·<code>None</code>·in·the·output16 <p>Note:·rustc·currently·can·ignore·the·grouping·of·tokens·delimited·by·<code>None</code>·in·the·output
17 of·a·proc_macro.·Only·<code>None</code>-delimited·groups·created·by·a·macro_rules·macro·in·the·input17 of·a·proc_macro.·Only·<code>None</code>-delimited·groups·created·by·a·macro_rules·macro·in·the·input
18 of·a·proc_macro·macro·are·preserved,·and·only·in·very·specific·circumstances.18 of·a·proc_macro·macro·are·preserved,·and·only·in·very·specific·circumstances.
19 Any·<code>None</code>-delimited·groups·(re)created·by·a·proc_macro·will·therefore·not·preserve19 Any·<code>None</code>-delimited·groups·(re)created·by·a·proc_macro·will·therefore·not·preserve
20 operator·priorities·as·indicated·above.·The·other·<code>Delimiter</code>·variants·should·be·used20 operator·priorities·as·indicated·above.·The·other·<code>Delimiter</code>·variants·should·be·used
21 instead·in·this·context.·This·is·a·rustc·bug.·For·details,·see21 instead·in·this·context.·This·is·a·rustc·bug.·For·details,·see
22 <a·href="https://github.com/rust-lang/rust/issues/67062">rust-lang/rust#67062</a>.</p>22 <a·href="https://github.com/rust-lang/rust/issues/67062">rust-lang/rust#67062</a>.</p>
23 </div></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"><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#804">source</a></span><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#804">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#174">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:·&amp;Self)</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-Delimiter"·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#804">source</a></span><a·href="#impl-Debug-for-Delimiter"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#804">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-PartialEq-for-Delimiter"·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#804">source</a></span><a·href="#impl-PartialEq-for-Delimiter"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#804">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.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,23 </div></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"><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#804">source</a></span><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#804">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#174">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:·&amp;Self)</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-Delimiter"·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#804">source</a></span><a·href="#impl-Debug-for-Delimiter"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#804">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-PartialEq-for-Delimiter"·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#804">source</a></span><a·href="#impl-PartialEq-for-Delimiter"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#804">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.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
24 and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Delimiter"·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#804">source</a></span><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"><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#804">source</a></span><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"><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#804">source</a></span><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#138">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">where24 and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Delimiter"·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#804">source</a></span><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"><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#804">source</a></span><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"><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#804">source</a></span><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#138">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
25 ····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#139">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#209">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">where25 ····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#139">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#209">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
26 ····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#211">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.83.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#217">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">where26 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.8 KB
./usr/share/doc/rust-doc/html/proc_macro/enum.Level.html
    
Offset 6, 18 lines modifiedOffset 6, 18 lines modified
6 }</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>6 }</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 </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>7 </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><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>8 </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.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>9 </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.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>10 </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></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#174">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:·&amp;Self)</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#138">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 </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#174">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:·&amp;Self)</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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.8 KB
./usr/share/doc/rust-doc/html/proc_macro/enum.Spacing.html
    
Offset 15, 21 lines modifiedOffset 15, 21 lines modified
15 </ul>15 </ul>
16 <p>This·list·may·be·extended·in·the·future·to·enable·more·token·combinations.</p>16 <p>This·list·may·be·extended·in·the·future·to·enable·more·token·combinations.</p>
17 </div><section·id="variant.Alone"·class="variant"><a·href="#variant.Alone"·class="anchor">§</a><span·class="since·rightside"·title="Stable·since·Rust·version·1.29.0">1.29.0</span><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>17 </div><section·id="variant.Alone"·class="variant"><a·href="#variant.Alone"·class="anchor">§</a><span·class="since·rightside"·title="Stable·since·Rust·version·1.29.0">1.29.0</span><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 <p><code>Alone</code>·punctuation·tokens·can·be·followed·by·any·other·tokens.·In·token·streams·parsed18 <p><code>Alone</code>·punctuation·tokens·can·be·followed·by·any·other·tokens.·In·token·streams·parsed
19 from·source·code,·the·compiler·will·set·spacing·to·<code>Alone</code>·in·all·cases·not·covered·by·the19 from·source·code,·the·compiler·will·set·spacing·to·<code>Alone</code>·in·all·cases·not·covered·by·the
20 conditions·for·<code>Joint</code>·above.·E.g.·<code>+</code>·is·<code>Alone</code>·in·<code>+·=</code>,·<code>+ident</code>·and·<code>+()</code>.·In20 conditions·for·<code>Joint</code>·above.·E.g.·<code>+</code>·is·<code>Alone</code>·in·<code>+·=</code>,·<code>+ident</code>·and·<code>+()</code>.·In
21 particular,·tokens·not·followed·by·anything·will·be·marked·as·<code>Alone</code>.</p>21 particular,·tokens·not·followed·by·anything·will·be·marked·as·<code>Alone</code>.</p>
22 </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"><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#960">source</a></span><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#960">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#174">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:·&amp;Self)</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-Spacing"·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#960">source</a></span><a·href="#impl-Debug-for-Spacing"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#960">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-PartialEq-for-Spacing"·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#960">source</a></span><a·href="#impl-PartialEq-for-Spacing"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#960">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.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,22 </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"><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#960">source</a></span><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#960">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#174">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:·&amp;Self)</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-Spacing"·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#960">source</a></span><a·href="#impl-Debug-for-Spacing"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#960">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-PartialEq-for-Spacing"·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#960">source</a></span><a·href="#impl-PartialEq-for-Spacing"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#960">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.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
23 and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Spacing"·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#960">source</a></span><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"><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#960">source</a></span><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"><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#960">source</a></span><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#138">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">where23 and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Copy-for-Spacing"·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#960">source</a></span><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"><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#960">source</a></span><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"><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#960">source</a></span><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#138">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
24 ····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#139">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#209">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">where24 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where25 ····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#211">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#217">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
26 ····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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where26 ····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#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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>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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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 </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">where28 </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
29 ····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>29 ····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 <p>That·is,·this·conversion·is·whatever·the·implementation·of30 <p>That·is,·this·conversion·is·whatever·the·implementation·of
31 <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>31 <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 </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#82-84">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">where32 </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#82-84">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
33 ····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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">where33 ····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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
47.9 KB
./usr/share/doc/rust-doc/html/proc_macro/enum.TokenTree.html
    
Offset 21, 23 lines modifiedOffset 21, 23 lines modified
21 <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might21 <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might
22 be·changes·in·the·whitespace·used·between·tokens.·Therefore,·you·should22 be·changes·in·the·whitespace·used·between·tokens.·Therefore,·you·should
23 <em>not</em>·do·any·kind·of·simple·substring·matching·on·the·output·string·(as23 <em>not</em>·do·any·kind·of·simple·substring·matching·on·the·output·string·(as
24 produced·by·<code>to_string</code>)·to·implement·a·proc·macro,·because·that·matching24 produced·by·<code>to_string</code>)·to·implement·a·proc·macro,·because·that·matching
25 might·stop·working·if·such·changes·happen.·Instead,·you·should·work·at·the25 might·stop·working·if·such·changes·happen.·Instead,·you·should·work·at·the
26 <code>TokenTree</code>·level,·e.g.·matching·against·<code>TokenTree::Ident</code>,26 <code>TokenTree</code>·level,·e.g.·matching·against·<code>TokenTree::Ident</code>,
27 <code>TokenTree::Punct</code>,·or·<code>TokenTree::Literal</code>.</p>27 <code>TokenTree::Punct</code>,·or·<code>TokenTree::Literal</code>.</p>
28 </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#786-788">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%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#352-359">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#353-358">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#454">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#462">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.83.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"><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#730-734">source</a></span><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-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#731-733">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.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"><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#737-741">source</a></span><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-2"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#738-740">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>(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"><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#751-755">source</a></span><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#752-754">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"><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#744-748">source</a></span><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#745-747">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"><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#247-251">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>28 </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#786-788">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%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#352-359">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#353-358">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#454">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#462">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"><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#730-734">source</a></span><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-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#731-733">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.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"><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#737-741">source</a></span><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-2"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#738-740">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>(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"><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#751-755">source</a></span><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#752-754">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"><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#744-748">source</a></span><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#745-747">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"><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#247-251">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.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#248-250">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%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#330-337">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>29 </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#248-250">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%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#330-337">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>
30 </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#331-336">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"><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#681">source</a></span><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"><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#683">source</a></span><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#138">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.from_iter"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#331-336">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"><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#681">source</a></span><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"><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#683">source</a></span><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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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#2672">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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#2672">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#2678">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#2678">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.58 KB
./usr/share/doc/rust-doc/html/proc_macro/fn.is_available.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="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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»   2024-11-26)»(built»  from»      a»     source»       tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Function·<span·class="fn">is_available</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#73-75">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·is_available()·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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·currently1 <!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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»   2024-11-26)»(built»  from»      a»     source»       tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Function·<span·class="fn">is_available</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#73-75">source</a>·</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·currently
2 running·program.</p>2 running·program.</p>
3 <p>The·proc_macro·crate·is·only·intended·for·use·inside·the·implementation·of3 <p>The·proc_macro·crate·is·only·intended·for·use·inside·the·implementation·of
4 procedural·macros.·All·the·functions·in·this·crate·panic·if·invoked·from4 procedural·macros.·All·the·functions·in·this·crate·panic·if·invoked·from
5 outside·of·a·procedural·macro,·such·as·from·a·build·script·or·unit·test·or5 outside·of·a·procedural·macro,·such·as·from·a·build·script·or·unit·test·or
6 ordinary·Rust·binary.</p>6 ordinary·Rust·binary.</p>
7 <p>With·consideration·for·Rust·libraries·that·are·designed·to·support·both7 <p>With·consideration·for·Rust·libraries·that·are·designed·to·support·both
8 macro·and·non-macro·use·cases,·<code>proc_macro::is_available()</code>·provides·a8 macro·and·non-macro·use·cases,·<code>proc_macro::is_available()</code>·provides·a
36.2 KB
./usr/share/doc/rust-doc/html/proc_macro/struct.Diagnostic.html
    
Offset 19, 26 lines modifiedOffset 19, 26 lines modified
19 </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>19 </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.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">where20 </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
21 ····S:·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>,21 ····S:·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>,
22 ····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>22 ····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 </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>23 </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.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>24 </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.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>25 </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.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.83.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>26 </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.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>27 </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.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>28 </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.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>29 </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.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>30 </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.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>31 </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></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#174">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:·&amp;Self)</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#138">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">where32 </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#174">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:·&amp;Self)</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#138">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
33 ····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#139">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#209">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">where33 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where34 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.0 KB
./usr/share/doc/rust-doc/html/proc_macro/struct.ExpandError.html
    
Offset 1, 12 lines modifiedOffset 1, 12 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Expand<wbr>Error</a></h2><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-ExpandError"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-ExpandError"·title="!Sync">!Sync</a></li><li><a·href="#impl-Debug-for-ExpandError"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-ExpandError"·title="Display">Display</a></li><li><a·href="#impl-Error-for-ExpandError"·title="Error">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ExpandError"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-ExpandError"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ExpandError"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">ExpandError</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/proc_macro/lib.rs.html#119">source</a>·</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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Expand<wbr>Error</a></h2><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-ExpandError"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-ExpandError"·title="!Sync">!Sync</a></li><li><a·href="#impl-Debug-for-ExpandError"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-ExpandError"·title="Display">Display</a></li><li><a·href="#impl-Error-for-ExpandError"·title="Error">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ExpandError"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-ExpandError"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ExpandError"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">ExpandError</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/proc_macro/lib.rs.html#119">source</a>·</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 </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#118">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#118">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#122-126">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#123-125">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#129">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#81">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'>Returns·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#107">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.83.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#117">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#180">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#132">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#135">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#138">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">where2 </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#118">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#118">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#122-126">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#123-125">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#129">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#81">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'>Returns·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#107">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#117">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#180">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#132">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#135">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#138">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
3 ····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#139">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#209">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">where3 ····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#139">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#209">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
4 ····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#211">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.83.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#217">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">where4 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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>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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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 </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">where6 </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
7 ····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>7 ····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 <p>That·is,·this·conversion·is·whatever·the·implementation·of8 <p>That·is,·this·conversion·is·whatever·the·implementation·of
9 <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>9 <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 </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#2672">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">where10 </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#2672">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
11 ····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#2678">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">where11 ····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#2678">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
12 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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">where12 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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.7 KB
./usr/share/doc/rust-doc/html/proc_macro/struct.Group.html
    
Offset 21, 19 lines modifiedOffset 21, 19 lines modified
21 by·this·group,·but·rather·it·will·only·set·the·span·of·the·delimiter21 by·this·group,·but·rather·it·will·only·set·the·span·of·the·delimiter
22 tokens·at·the·level·of·the·<code>Group</code>.</p>22 tokens·at·the·level·of·the·<code>Group</code>.</p>
23 </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"><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#794">source</a></span><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#794">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#174">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:·&amp;Self)</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"><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#935-943">source</a></span><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-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#936-942">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-Group"·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#927-932">source</a></span><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·back23 </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"><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#794">source</a></span><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#794">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#174">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:·&amp;Self)</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"><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#935-943">source</a></span><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-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#936-942">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-Group"·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#927-932">source</a></span><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
24 into·the·same·group·(modulo·spans),·except·for·possibly·<code>TokenTree::Group</code>s24 into·the·same·group·(modulo·spans),·except·for·possibly·<code>TokenTree::Group</code>s
25 with·<code>Delimiter::None</code>·delimiters.</p>25 with·<code>Delimiter::None</code>·delimiters.</p>
26 </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#929-931">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%3CGroup%3E-for-TokenTree"·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#730-734">source</a></span><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#731-733">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"><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#799">source</a></span><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"><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#801">source</a></span><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#138">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">where26 </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#929-931">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%3CGroup%3E-for-TokenTree"·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#730-734">source</a></span><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#731-733">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"><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#799">source</a></span><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"><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#801">source</a></span><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#138">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
27 ····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#139">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#209">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">where27 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where28 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
30 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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#2672">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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#2672">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#2678">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#2678">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.6 KB
./usr/share/doc/rust-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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Ident</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new"·title="new">new</a></li><li><a·href="#method.new_raw"·title="new_raw">new_raw</a></li><li><a·href="#method.set_span"·title="set_span">set_span</a></li><li><a·href="#method.span"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-Ident"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-Ident"·title="Display">Display</a></li><li><a·href="#impl-From%3CIdent%3E-for-TokenTree"·title="From&#60;Ident&#62;">From&#60;Ident&#62;</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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-Ident"·title="!Sync">!Sync</a></li><li><a·href="#impl-Freeze-for-Ident"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Ident"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Ident"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Ident"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">Ident</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#1081">source</a>·</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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Ident</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new"·title="new">new</a></li><li><a·href="#method.new_raw"·title="new_raw">new_raw</a></li><li><a·href="#method.set_span"·title="set_span">set_span</a></li><li><a·href="#method.span"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-Ident"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-Ident"·title="Display">Display</a></li><li><a·href="#impl-From%3CIdent%3E-for-TokenTree"·title="From&#60;Ident&#62;">From&#60;Ident&#62;</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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-Ident"·title="!Sync">!Sync</a></li><li><a·href="#impl-Freeze-for-Ident"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Ident"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Ident"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Ident"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">Ident</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#1081">source</a>·</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 </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#1083-1137">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"><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#1104-1110">source</a></span><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.83.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·specified2 </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#1083-1137">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"><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#1104-1110">source</a></span><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·specified
3 <code>span</code>.3 <code>span</code>.
4 The·<code>string</code>·argument·must·be·a·valid·identifier·permitted·by·the4 The·<code>string</code>·argument·must·be·a·valid·identifier·permitted·by·the
5 language·(including·keywords,·e.g.·<code>self</code>·or·<code>fn</code>).·Otherwise,·the·function·will·panic.</p>5 language·(including·keywords,·e.g.·<code>self</code>·or·<code>fn</code>).·Otherwise,·the·function·will·panic.</p>
6 <p>Note·that·<code>span</code>,·currently·in·rustc,·configures·the·hygiene·information6 <p>Note·that·<code>span</code>,·currently·in·rustc,·configures·the·hygiene·information
7 for·this·identifier.</p>7 for·this·identifier.</p>
8 <p>As·of·this·time·<code>Span::call_site()</code>·explicitly·opts-in·to·“call-site”·hygiene8 <p>As·of·this·time·<code>Span::call_site()</code>·explicitly·opts-in·to·“call-site”·hygiene
9 meaning·that·identifiers·created·with·this·span·will·be·resolved·as·if·they·were·written9 meaning·that·identifiers·created·with·this·span·will·be·resolved·as·if·they·were·written
10 directly·at·the·location·of·the·macro·call,·and·other·code·at·the·macro·call·site·will·be10 directly·at·the·location·of·the·macro·call,·and·other·code·at·the·macro·call·site·will·be
11 able·to·refer·to·them·as·well.</p>11 able·to·refer·to·them·as·well.</p>
12 <p>Later·spans·like·<code>Span::def_site()</code>·will·allow·to·opt-in·to·“definition-site”·hygiene12 <p>Later·spans·like·<code>Span::def_site()</code>·will·allow·to·opt-in·to·“definition-site”·hygiene
13 meaning·that·identifiers·created·with·this·span·will·be·resolved·at·the·location·of·the13 meaning·that·identifiers·created·with·this·span·will·be·resolved·at·the·location·of·the
14 macro·definition·and·other·code·at·the·macro·call·site·will·not·be·able·to·refer·to·them.</p>14 macro·definition·and·other·code·at·the·macro·call·site·will·not·be·able·to·refer·to·them.</p>
15 <p>Due·to·the·current·importance·of·hygiene·this·constructor,·unlike·other15 <p>Due·to·the·current·importance·of·hygiene·this·constructor,·unlike·other
16 tokens,·requires·a·<code>Span</code>·to·be·specified·at·construction.</p>16 tokens,·requires·a·<code>Span</code>·to·be·specified·at·construction.</p>
17 </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#1117-1123">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.83.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>).17 </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#1117-1123">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 The·<code>string</code>·argument·be·a·valid·identifier·permitted·by·the·language18 The·<code>string</code>·argument·be·a·valid·identifier·permitted·by·the·language
19 (including·keywords,·e.g.·<code>fn</code>).·Keywords·which·are·usable·in·path·segments19 (including·keywords,·e.g.·<code>fn</code>).·Keywords·which·are·usable·in·path·segments
20 (e.g.·<code>self</code>,·<code>super</code>)·are·not·supported,·and·will·cause·a·panic.</p>20 (e.g.·<code>self</code>,·<code>super</code>)·are·not·supported,·and·will·cause·a·panic.</p>
21 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·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#1128-1130">source</a></span><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·returned21 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·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#1128-1130">source</a></span><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
22 by·<a·href="../alloc/string/trait.ToString.html#tymethod.to_string"·title="method·alloc::string::ToString::to_string"><code>to_string</code></a>.</p>22 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 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·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#1134-1136">source</a></span><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>23 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·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#1134-1136">source</a></span><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></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"><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#1079">source</a></span><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#1079">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#174">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:·&amp;Self)</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"><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#1160-1167">source</a></span><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#1161-1166">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"><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#1150-1157">source</a></span><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·back24 </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"><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#1079">source</a></span><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#1079">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#174">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:·&amp;Self)</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"><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#1160-1167">source</a></span><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#1161-1166">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"><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#1150-1157">source</a></span><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
25 into·the·same·identifier.</p>25 into·the·same·identifier.</p>
26 </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#1151-1156">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"><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#737-741">source</a></span><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#738-740">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#138">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">where26 </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#1151-1156">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"><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#737-741">source</a></span><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#738-740">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#138">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
27 ····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#139">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#209">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">where27 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where28 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
30 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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#2672">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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#2672">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#2678">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#2678">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.5 KB
./usr/share/doc/rust-doc/html/proc_macro/struct.LexError.html
    
Offset 1, 12 lines modifiedOffset 1, 12 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">LexError</a></h2><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-LexError"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-LexError"·title="!Sync">!Sync</a></li><li><a·href="#impl-Debug-for-LexError"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-LexError"·title="Display">Display</a></li><li><a·href="#impl-Error-for-LexError"·title="Error">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-LexError"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-LexError"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-LexError"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">LexError</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#98">source</a>·</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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">LexError</a></h2><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-LexError"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-LexError"·title="!Sync">!Sync</a></li><li><a·href="#impl-Debug-for-LexError"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-LexError"·title="Display">Display</a></li><li><a·href="#impl-Error-for-LexError"·title="Error">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-LexError"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-LexError"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-LexError"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">LexError</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#98">source</a>·</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 </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"><span·class="rightside"><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#97">source</a></span><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#97">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#101-105">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#102-104">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#108">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#81">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'>Returns·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#107">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.83.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#117">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#180">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"><span·class="rightside"><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#111">source</a></span><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"><span·class="rightside"><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#113">source</a></span><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#138">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">where2 </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"><span·class="rightside"><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#97">source</a></span><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#97">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#101-105">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#102-104">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#108">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#81">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'>Returns·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#107">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#117">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#180">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"><span·class="rightside"><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#111">source</a></span><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"><span·class="rightside"><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#113">source</a></span><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#138">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
3 ····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#139">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#209">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">where3 ····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#139">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#209">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
4 ····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#211">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.83.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#217">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">where4 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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>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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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 </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">where6 </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
7 ····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>7 ····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 <p>That·is,·this·conversion·is·whatever·the·implementation·of8 <p>That·is,·this·conversion·is·whatever·the·implementation·of
9 <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>9 <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 </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#2672">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">where10 </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#2672">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
11 ····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#2678">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">where11 ····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#2678">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
12 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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">where12 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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
111 KB
./usr/share/doc/rust-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·(`&#34;hello&#34;`),·byte·string·(`b&#34;hello&#34;`),·C·string·(`c&#34;hello&#34;`),·character·(`&#39;a&#39;`),·byte·character·(`b&#39;a&#39;`),·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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Literal</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.byte_character"·title="byte_character">byte_character</a></li><li><a·href="#method.byte_string"·title="byte_string">byte_string</a></li><li><a·href="#method.c_string"·title="c_string">c_string</a></li><li><a·href="#method.character"·title="character">character</a></li><li><a·href="#method.f32_suffixed"·title="f32_suffixed">f32_suffixed</a></li><li><a·href="#method.f32_unsuffixed"·title="f32_unsuffixed">f32_unsuffixed</a></li><li><a·href="#method.f64_suffixed"·title="f64_suffixed">f64_suffixed</a></li><li><a·href="#method.f64_unsuffixed"·title="f64_unsuffixed">f64_unsuffixed</a></li><li><a·href="#method.i128_suffixed"·title="i128_suffixed">i128_suffixed</a></li><li><a·href="#method.i128_unsuffixed"·title="i128_unsuffixed">i128_unsuffixed</a></li><li><a·href="#method.i16_suffixed"·title="i16_suffixed">i16_suffixed</a></li><li><a·href="#method.i16_unsuffixed"·title="i16_unsuffixed">i16_unsuffixed</a></li><li><a·href="#method.i32_suffixed"·title="i32_suffixed">i32_suffixed</a></li><li><a·href="#method.i32_unsuffixed"·title="i32_unsuffixed">i32_unsuffixed</a></li><li><a·href="#method.i64_suffixed"·title="i64_suffixed">i64_suffixed</a></li><li><a·href="#method.i64_unsuffixed"·title="i64_unsuffixed">i64_unsuffixed</a></li><li><a·href="#method.i8_suffixed"·title="i8_suffixed">i8_suffixed</a></li><li><a·href="#method.i8_unsuffixed"·title="i8_unsuffixed">i8_unsuffixed</a></li><li><a·href="#method.isize_suffixed"·title="isize_suffixed">isize_suffixed</a></li><li><a·href="#method.isize_unsuffixed"·title="isize_unsuffixed">isize_unsuffixed</a></li><li><a·href="#method.set_span"·title="set_span">set_span</a></li><li><a·href="#method.span"·title="span">span</a></li><li><a·href="#method.string"·title="string">string</a></li><li><a·href="#method.subspan"·title="subspan">subspan</a></li><li><a·href="#method.u128_suffixed"·title="u128_suffixed">u128_suffixed</a></li><li><a·href="#method.u128_unsuffixed"·title="u128_unsuffixed">u128_unsuffixed</a></li><li><a·href="#method.u16_suffixed"·title="u16_suffixed">u16_suffixed</a></li><li><a·href="#method.u16_unsuffixed"·title="u16_unsuffixed">u16_unsuffixed</a></li><li><a·href="#method.u32_suffixed"·title="u32_suffixed">u32_suffixed</a></li><li><a·href="#method.u32_unsuffixed"·title="u32_unsuffixed">u32_unsuffixed</a></li><li><a·href="#method.u64_suffixed"·title="u64_suffixed">u64_suffixed</a></li><li><a·href="#method.u64_unsuffixed"·title="u64_unsuffixed">u64_unsuffixed</a></li><li><a·href="#method.u8_suffixed"·title="u8_suffixed">u8_suffixed</a></li><li><a·href="#method.u8_unsuffixed"·title="u8_unsuffixed">u8_unsuffixed</a></li><li><a·href="#method.usize_suffixed"·title="usize_suffixed">usize_suffixed</a></li><li><a·href="#method.usize_unsuffixed"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-Literal"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-Literal"·title="Display">Display</a></li><li><a·href="#impl-From%3CLiteral%3E-for-TokenTree"·title="From&#60;Literal&#62;">From&#60;Literal&#62;</a></li><li><a·href="#impl-FromStr-for-Literal"·title="FromStr">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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-Literal"·title="!Sync">!Sync</a></li><li><a·href="#impl-Freeze-for-Literal"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Literal"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Literal"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Literal"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">Literal</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#1175">source</a>·</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>"hello"</code>),·byte·string·(<code>b"hello"</code>),·C·string·(<code>c"hello"</code>),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·(`&#34;hello&#34;`),·byte·string·(`b&#34;hello&#34;`),·C·string·(`c&#34;hello&#34;`),·character·(`&#39;a&#39;`),·byte·character·(`b&#39;a&#39;`),·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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Literal</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.byte_character"·title="byte_character">byte_character</a></li><li><a·href="#method.byte_string"·title="byte_string">byte_string</a></li><li><a·href="#method.c_string"·title="c_string">c_string</a></li><li><a·href="#method.character"·title="character">character</a></li><li><a·href="#method.f32_suffixed"·title="f32_suffixed">f32_suffixed</a></li><li><a·href="#method.f32_unsuffixed"·title="f32_unsuffixed">f32_unsuffixed</a></li><li><a·href="#method.f64_suffixed"·title="f64_suffixed">f64_suffixed</a></li><li><a·href="#method.f64_unsuffixed"·title="f64_unsuffixed">f64_unsuffixed</a></li><li><a·href="#method.i128_suffixed"·title="i128_suffixed">i128_suffixed</a></li><li><a·href="#method.i128_unsuffixed"·title="i128_unsuffixed">i128_unsuffixed</a></li><li><a·href="#method.i16_suffixed"·title="i16_suffixed">i16_suffixed</a></li><li><a·href="#method.i16_unsuffixed"·title="i16_unsuffixed">i16_unsuffixed</a></li><li><a·href="#method.i32_suffixed"·title="i32_suffixed">i32_suffixed</a></li><li><a·href="#method.i32_unsuffixed"·title="i32_unsuffixed">i32_unsuffixed</a></li><li><a·href="#method.i64_suffixed"·title="i64_suffixed">i64_suffixed</a></li><li><a·href="#method.i64_unsuffixed"·title="i64_unsuffixed">i64_unsuffixed</a></li><li><a·href="#method.i8_suffixed"·title="i8_suffixed">i8_suffixed</a></li><li><a·href="#method.i8_unsuffixed"·title="i8_unsuffixed">i8_unsuffixed</a></li><li><a·href="#method.isize_suffixed"·title="isize_suffixed">isize_suffixed</a></li><li><a·href="#method.isize_unsuffixed"·title="isize_unsuffixed">isize_unsuffixed</a></li><li><a·href="#method.set_span"·title="set_span">set_span</a></li><li><a·href="#method.span"·title="span">span</a></li><li><a·href="#method.string"·title="string">string</a></li><li><a·href="#method.subspan"·title="subspan">subspan</a></li><li><a·href="#method.u128_suffixed"·title="u128_suffixed">u128_suffixed</a></li><li><a·href="#method.u128_unsuffixed"·title="u128_unsuffixed">u128_unsuffixed</a></li><li><a·href="#method.u16_suffixed"·title="u16_suffixed">u16_suffixed</a></li><li><a·href="#method.u16_unsuffixed"·title="u16_unsuffixed">u16_unsuffixed</a></li><li><a·href="#method.u32_suffixed"·title="u32_suffixed">u32_suffixed</a></li><li><a·href="#method.u32_unsuffixed"·title="u32_unsuffixed">u32_unsuffixed</a></li><li><a·href="#method.u64_suffixed"·title="u64_suffixed">u64_suffixed</a></li><li><a·href="#method.u64_unsuffixed"·title="u64_unsuffixed">u64_unsuffixed</a></li><li><a·href="#method.u8_suffixed"·title="u8_suffixed">u8_suffixed</a></li><li><a·href="#method.u8_unsuffixed"·title="u8_unsuffixed">u8_unsuffixed</a></li><li><a·href="#method.usize_suffixed"·title="usize_suffixed">usize_suffixed</a></li><li><a·href="#method.usize_unsuffixed"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-Literal"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-Literal"·title="Display">Display</a></li><li><a·href="#impl-From%3CLiteral%3E-for-TokenTree"·title="From&#60;Literal&#62;">From&#60;Literal&#62;</a></li><li><a·href="#impl-FromStr-for-Literal"·title="FromStr">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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-Literal"·title="!Sync">!Sync</a></li><li><a·href="#impl-Freeze-for-Literal"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Literal"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Literal"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Literal"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">Literal</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#1175">source</a>·</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>"hello"</code>),·byte·string·(<code>b"hello"</code>),·C·string·(<code>c"hello"</code>),
2 character·(<code>'a'</code>),·byte·character·(<code>b'a'</code>),·an·integer·or·floating·point·number2 character·(<code>'a'</code>),·byte·character·(<code>b'a'</code>),·an·integer·or·floating·point·number
3 with·or·without·a·suffix·(<code>1</code>,·<code>1u8</code>,·<code>2.3</code>,·<code>2.3f32</code>).3 with·or·without·a·suffix·(<code>1</code>,·<code>1u8</code>,·<code>2.3</code>,·<code>2.3f32</code>).
4 Boolean·literals·like·<code>true</code>·and·<code>false</code>·do·not·belong·here,·they·are·<code>Ident</code>s.</p>4 Boolean·literals·like·<code>true</code>·and·<code>false</code>·do·not·belong·here,·they·are·<code>Ident</code>s.</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-Literal"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1229-1497">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"><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#1239-1252">source</a></span><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.83.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>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-Literal"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1229-1497">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"><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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer6 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
7 value·specified·is·the·first·part·of·the·token·and·the·integral·is7 value·specified·is·the·first·part·of·the·token·and·the·integral·is
8 also·suffixed·at·the·end.8 also·suffixed·at·the·end.
9 Literals·created·from·negative·numbers·might·not·survive·round-trips·through9 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
10 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>10 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
11 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>11 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
12 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method12 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
13 below.</p>13 below.</p>
14 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u16_suffixed"·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#1239-1252">source</a></span><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.83.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>14 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u16_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer15 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
16 value·specified·is·the·first·part·of·the·token·and·the·integral·is16 value·specified·is·the·first·part·of·the·token·and·the·integral·is
17 also·suffixed·at·the·end.17 also·suffixed·at·the·end.
18 Literals·created·from·negative·numbers·might·not·survive·round-trips·through18 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
19 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>19 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
20 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>20 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
21 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method21 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
22 below.</p>22 below.</p>
23 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u32_suffixed"·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#1239-1252">source</a></span><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.83.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>23 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u32_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer24 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
25 value·specified·is·the·first·part·of·the·token·and·the·integral·is25 value·specified·is·the·first·part·of·the·token·and·the·integral·is
26 also·suffixed·at·the·end.26 also·suffixed·at·the·end.
27 Literals·created·from·negative·numbers·might·not·survive·round-trips·through27 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
28 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>28 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
29 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>29 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
30 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method30 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
31 below.</p>31 below.</p>
32 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u64_suffixed"·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#1239-1252">source</a></span><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.83.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>32 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u64_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer33 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
34 value·specified·is·the·first·part·of·the·token·and·the·integral·is34 value·specified·is·the·first·part·of·the·token·and·the·integral·is
35 also·suffixed·at·the·end.35 also·suffixed·at·the·end.
36 Literals·created·from·negative·numbers·might·not·survive·round-trips·through36 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
37 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>37 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
38 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>38 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
39 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method39 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
40 below.</p>40 below.</p>
41 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u128_suffixed"·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#1239-1252">source</a></span><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.83.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>41 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u128_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer42 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
43 value·specified·is·the·first·part·of·the·token·and·the·integral·is43 value·specified·is·the·first·part·of·the·token·and·the·integral·is
44 also·suffixed·at·the·end.44 also·suffixed·at·the·end.
45 Literals·created·from·negative·numbers·might·not·survive·round-trips·through45 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
46 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>46 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
47 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>47 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
48 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method48 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
49 below.</p>49 below.</p>
50 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.usize_suffixed"·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#1239-1252">source</a></span><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.83.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>50 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.usize_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer51 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
52 value·specified·is·the·first·part·of·the·token·and·the·integral·is52 value·specified·is·the·first·part·of·the·token·and·the·integral·is
53 also·suffixed·at·the·end.53 also·suffixed·at·the·end.
54 Literals·created·from·negative·numbers·might·not·survive·round-trips·through54 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
55 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>55 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
56 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>56 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
57 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method57 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
58 below.</p>58 below.</p>
59 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i8_suffixed"·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#1239-1252">source</a></span><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.83.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>59 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i8_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer60 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
61 value·specified·is·the·first·part·of·the·token·and·the·integral·is61 value·specified·is·the·first·part·of·the·token·and·the·integral·is
62 also·suffixed·at·the·end.62 also·suffixed·at·the·end.
63 Literals·created·from·negative·numbers·might·not·survive·round-trips·through63 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
64 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>64 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
65 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>65 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
66 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method66 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
67 below.</p>67 below.</p>
68 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i16_suffixed"·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#1239-1252">source</a></span><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.83.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>68 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i16_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer69 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
70 value·specified·is·the·first·part·of·the·token·and·the·integral·is70 value·specified·is·the·first·part·of·the·token·and·the·integral·is
71 also·suffixed·at·the·end.71 also·suffixed·at·the·end.
72 Literals·created·from·negative·numbers·might·not·survive·round-trips·through72 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
73 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>73 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
74 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>74 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
75 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method75 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
76 below.</p>76 below.</p>
77 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i32_suffixed"·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#1239-1252">source</a></span><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.83.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>77 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i32_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer78 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
79 value·specified·is·the·first·part·of·the·token·and·the·integral·is79 value·specified·is·the·first·part·of·the·token·and·the·integral·is
80 also·suffixed·at·the·end.80 also·suffixed·at·the·end.
81 Literals·created·from·negative·numbers·might·not·survive·round-trips·through81 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
82 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>82 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
83 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>83 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
84 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method84 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
85 below.</p>85 below.</p>
86 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i64_suffixed"·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#1239-1252">source</a></span><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.83.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>86 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i64_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer87 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
88 value·specified·is·the·first·part·of·the·token·and·the·integral·is88 value·specified·is·the·first·part·of·the·token·and·the·integral·is
89 also·suffixed·at·the·end.89 also·suffixed·at·the·end.
90 Literals·created·from·negative·numbers·might·not·survive·round-trips·through90 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
91 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>91 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
92 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>92 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
93 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method93 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
94 below.</p>94 below.</p>
95 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i128_suffixed"·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#1239-1252">source</a></span><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.83.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>95 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.i128_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer96 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
97 value·specified·is·the·first·part·of·the·token·and·the·integral·is97 value·specified·is·the·first·part·of·the·token·and·the·integral·is
98 also·suffixed·at·the·end.98 also·suffixed·at·the·end.
99 Literals·created·from·negative·numbers·might·not·survive·round-trips·through99 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
100 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>100 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
101 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>101 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
102 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method102 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
103 below.</p>103 below.</p>
104 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.isize_suffixed"·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#1239-1252">source</a></span><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.83.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>104 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.isize_suffixed"·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#1239-1252">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer105 <p>This·function·will·create·an·integer·like·<code>1u32</code>·where·the·integer
106 value·specified·is·the·first·part·of·the·token·and·the·integral·is106 value·specified·is·the·first·part·of·the·token·and·the·integral·is
107 also·suffixed·at·the·end.107 also·suffixed·at·the·end.
108 Literals·created·from·negative·numbers·might·not·survive·round-trips·through108 Literals·created·from·negative·numbers·might·not·survive·round-trips·through
109 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>109 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
110 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>110 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
111 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method111 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
112 below.</p>112 below.</p>
113 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u8_unsuffixed"·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#1254-1267">source</a></span><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.83.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>113 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u8_unsuffixed"·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#1254-1267">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1</code>·where·the·integer114 <p>This·function·will·create·an·integer·like·<code>1</code>·where·the·integer
115 value·specified·is·the·first·part·of·the·token.·No·suffix·is115 value·specified·is·the·first·part·of·the·token.·No·suffix·is
116 specified·on·this·token,·meaning·that·invocations·like116 specified·on·this·token,·meaning·that·invocations·like
117 <code>Literal::i8_unsuffixed(1)</code>·are·equivalent·to117 <code>Literal::i8_unsuffixed(1)</code>·are·equivalent·to
118 <code>Literal::u32_unsuffixed(1)</code>.118 <code>Literal::u32_unsuffixed(1)</code>.
119 Literals·created·from·negative·numbers·might·not·survive·rountrips·through119 Literals·created·from·negative·numbers·might·not·survive·rountrips·through
120 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>120 <code>TokenStream</code>·or·strings·and·may·be·broken·into·two·tokens·(<code>-</code>·and·positive·literal).</p>
121 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>121 <p>Literals·created·through·this·method·have·the·<code>Span::call_site()</code>
122 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method122 span·by·default,·which·can·be·configured·with·the·<code>set_span</code>·method
123 below.</p>123 below.</p>
124 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u16_unsuffixed"·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#1254-1267">source</a></span><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.83.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>124 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.u16_unsuffixed"·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#1254-1267">source</a></span><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 <p>This·function·will·create·an·integer·like·<code>1</code>·where·the·integer125 <p>This·function·will·create·an·integer·like·<code>1</code>·where·the·integer
126 value·specified·is·the·first·part·of·the·token.·No·suffix·is126 value·specified·is·the·first·part·of·the·token.·No·suffix·is
127 specified·on·this·token,·meaning·that·invocations·like127 specified·on·this·token,·meaning·that·invocations·like
Max diff block lines reached; 76096/113051 bytes (67.31%) of diff not shown.
53.3 KB
./usr/share/doc/rust-doc/html/proc_macro/struct.Punct.html
    
Offset 1, 32 lines modifiedOffset 1, 32 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»   2024-11-26)»(built»  from»      a»     source»       tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Punct</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_char"·title="as_char">as_char</a></li><li><a·href="#method.new"·title="new">new</a></li><li><a·href="#method.set_span"·title="set_span">set_span</a></li><li><a·href="#method.spacing"·title="spacing">spacing</a></li><li><a·href="#method.span"·title="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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-Punct"·title="!Sync">!Sync</a></li><li><a·href="#impl-Clone-for-Punct"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-Punct"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-Punct"·title="Display">Display</a></li><li><a·href="#impl-From%3CPunct%3E-for-TokenTree"·title="From&#60;Punct&#62;">From&#60;Punct&#62;</a></li><li><a·href="#impl-PartialEq%3CPunct%3E-for-char"·title="PartialEq&#60;Punct&#62;">PartialEq&#60;Punct&#62;</a></li><li><a·href="#impl-PartialEq%3Cchar%3E-for-Punct"·title="PartialEq&#60;char&#62;">PartialEq&#60;char&#62;</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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Punct"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Punct"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Punct"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">Punct</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#951">source</a>·</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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»   2024-11-26)»(built»  from»      a»     source»       tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Punct</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_char"·title="as_char">as_char</a></li><li><a·href="#method.new"·title="new">new</a></li><li><a·href="#method.set_span"·title="set_span">set_span</a></li><li><a·href="#method.spacing"·title="spacing">spacing</a></li><li><a·href="#method.span"·title="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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-Punct"·title="!Sync">!Sync</a></li><li><a·href="#impl-Clone-for-Punct"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-Punct"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-Punct"·title="Display">Display</a></li><li><a·href="#impl-From%3CPunct%3E-for-TokenTree"·title="From&#60;Punct&#62;">From&#60;Punct&#62;</a></li><li><a·href="#impl-PartialEq%3CPunct%3E-for-char"·title="PartialEq&#60;Punct&#62;">PartialEq&#60;Punct&#62;</a></li><li><a·href="#impl-PartialEq%3Cchar%3E-for-Punct"·title="PartialEq&#60;char&#62;">PartialEq&#60;char&#62;</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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Punct"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-Punct"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Punct"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">Punct</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#951">source</a>·</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 <p>Multi-character·operators·like·<code>+=</code>·are·represented·as·two·instances·of·<code>Punct</code>·with·different2 <p>Multi-character·operators·like·<code>+=</code>·are·represented·as·two·instances·of·<code>Punct</code>·with·different
3 forms·of·<code>Spacing</code>·returned.</p>3 forms·of·<code>Spacing</code>·returned.</p>
4 </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#986-1034">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"><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#994-1007">source</a></span><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.83.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.4 </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#986-1034">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"><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#994-1007">source</a></span><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 The·<code>ch</code>·argument·must·be·a·valid·punctuation·character·permitted·by·the·language,5 The·<code>ch</code>·argument·must·be·a·valid·punctuation·character·permitted·by·the·language,
6 otherwise·the·function·will·panic.</p>6 otherwise·the·function·will·panic.</p>
7 <p>The·returned·<code>Punct</code>·will·have·the·default·span·of·<code>Span::call_site()</code>7 <p>The·returned·<code>Punct</code>·will·have·the·default·span·of·<code>Span::call_site()</code>
8 which·can·be·further·configured·with·the·<code>set_span</code>·method·below.</p>8 which·can·be·further·configured·with·the·<code>set_span</code>·method·below.</p>
9 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.as_char"·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#1011-1013">source</a></span><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.83.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>9 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.as_char"·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#1011-1013">source</a></span><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.spacing"·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#1019-1021">source</a></span><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·potentially10 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.spacing"·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#1019-1021">source</a></span><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
11 combined·into·a·multi-character·operator·with·the·following·token·(<code>Joint</code>),·or·whether·the11 combined·into·a·multi-character·operator·with·the·following·token·(<code>Joint</code>),·or·whether·the
12 operator·has·definitely·ended·(<code>Alone</code>).</p>12 operator·has·definitely·ended·(<code>Alone</code>).</p>
13 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·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#1025-1027">source</a></span><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>13 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.span"·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#1025-1027">source</a></span><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.set_span"·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#1031-1033">source</a></span><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>14 </div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.set_span"·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#1031-1033">source</a></span><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></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"><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#950">source</a></span><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#950">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#174">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:·&amp;Self)</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"><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#1054-1062">source</a></span><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-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1055-1061">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-Punct"·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#1047-1051">source</a></span><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·convertible15 </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"><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#950">source</a></span><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#950">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#174">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:·&amp;Self)</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"><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#1054-1062">source</a></span><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-1"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#1055-1061">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-Punct"·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#1047-1051">source</a></span><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
16 back·into·the·same·character.</p>16 back·into·the·same·character.</p>
17 </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#1048-1050">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%3CPunct%3E-for-TokenTree"·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#744-748">source</a></span><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#745-747">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#1072-1076">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.83.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:·1158,·SHA:·4fbafb68eec0be0dfdac5b6995360f6a29a55ebdbf565fdc4962deac15ece7b6·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,17 </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#1048-1050">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%3CPunct%3E-for-TokenTree"·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#744-748">source</a></span><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#745-747">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#1072-1076">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#1073-1[·...·truncated·by·diffoscope;·len:·1038,·SHA:·28aff506045fc1cdddf5eb61d34b00f24cf12cbb7cc334570ca87e864bfd50f0·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
18 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#1065-1069">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.83.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:·1252,·SHA:·dd207c0307ee13dcbe47a5e8cb319e237add1dca510ae38d89ef1d44713a5d35·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,18 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#1065-1069">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:·1102,·SHA:·88b4aaf0657e6aa8c97c8c71896aff3a9c8613b5608b02ed3a10339dc67dd700·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
19 and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Send-for-Punct"·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#954">source</a></span><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"><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#956">source</a></span><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#138">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 and·should·not·be·overridden·without·very·good·reason.</div></details></div></details><section·id="impl-Send-for-Punct"·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#954">source</a></span><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"><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#956">source</a></span><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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where22 ····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#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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>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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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>
24 </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">where24 </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
25 ····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 ····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>
26 <p>That·is,·this·conversion·is·whatever·the·implementation·of26 <p>That·is,·this·conversion·is·whatever·the·implementation·of
27 <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 <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>
28 </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#82-84">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">where28 </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#82-84">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
29 ····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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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#2672">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">where29 ····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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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#2672">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
30 ····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#2678">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">where30 ····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#2678">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
31 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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">where31 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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
32 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>32 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.8 KB
./usr/share/doc/rust-doc/html/proc_macro/struct.SourceFile.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="The·source·file·of·a·given·`Span`."><title>SourceFile·in·proc_macro·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Source<wbr>File</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.is_real"·title="is_real">is_real</a></li><li><a·href="#method.path"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-SourceFile"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-SourceFile"·title="Eq">Eq</a></li><li><a·href="#impl-PartialEq-for-SourceFile"·title="PartialEq">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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-SourceFile"·title="!Sync">!Sync</a></li><li><a·href="#impl-Freeze-for-SourceFile"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-SourceFile"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-SourceFile"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-SourceFile"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">SourceFile</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/proc_macro/lib.rs.html#613">source</a>·</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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Source<wbr>File</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.is_real"·title="is_real">is_real</a></li><li><a·href="#method.path"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-SourceFile"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-SourceFile"·title="Eq">Eq</a></li><li><a·href="#impl-PartialEq-for-SourceFile"·title="PartialEq">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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-SourceFile"·title="!Sync">!Sync</a></li><li><a·href="#impl-Freeze-for-SourceFile"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-SourceFile"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-SourceFile"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-SourceFile"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">SourceFile</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/proc_macro/lib.rs.html#613">source</a>·</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 </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#615-640">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#627-629">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.83.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>2 </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#615-640">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#627-629">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 <h6·id="note"><a·class="doc-anchor"·href="#note">§</a>Note</h6>3 <h6·id="note"><a·class="doc-anchor"·href="#note">§</a>Note</h6>
4 <p>If·the·code·span·associated·with·this·<code>SourceFile</code>·was·generated·by·an·external·macro,·this4 <p>If·the·code·span·associated·with·this·<code>SourceFile</code>·was·generated·by·an·external·macro,·this
5 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>5 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 <p>Also·note·that·even·if·<code>is_real</code>·returns·<code>true</code>,·if·<code>--remap-path-prefix</code>·was·passed·on6 <p>Also·note·that·even·if·<code>is_real</code>·returns·<code>true</code>,·if·<code>--remap-path-prefix</code>·was·passed·on
7 the·command·line,·the·path·as·given·might·not·actually·be·valid.</p>7 the·command·line,·the·path·as·given·might·not·actually·be·valid.</p>
8 </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#634-639">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.83.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·external8 </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#634-639">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·external
9 macro’s·expansion.</p>9 macro’s·expansion.</p>
10 </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#612">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#612">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#174">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:·&amp;Self)</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-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#643-650">source</a><a·href="#impl-Debug-for-SourceFile"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#644-649">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-PartialEq-for-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#653-657">source</a><a·href="#impl-PartialEq-for-SourceFile"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#654-656">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;Self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,10 </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#612">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#612">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#174">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:·&amp;Self)</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-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#643-650">source</a><a·href="#impl-Debug-for-SourceFile"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#644-649">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-PartialEq-for-SourceFile"·class="impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#653-657">source</a><a·href="#impl-PartialEq-for-SourceFile"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#654-656">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;Self)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
11 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#660">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#138">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 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#660">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.1 KB
./usr/share/doc/rust-doc/html/proc_macro/struct.Span.html
    
Offset 10, 28 lines modifiedOffset 10, 28 lines modified
10 The·span·location·is·taken·from·the·call-site.</p>10 The·span·location·is·taken·from·the·call-site.</p>
11 </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#489-491">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>11 </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#489-491">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.parent"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#496-498">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·which12 </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#496-498">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
13 <code>self</code>·was·generated·from,·if·any.</p>13 <code>self</code>·was·generated·from,·if·any.</p>
14 </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#504-506">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.·If14 </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#504-506">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
15 this·<code>Span</code>·wasn’t·generated·from·other·macro·expansions·then·the·return15 this·<code>Span</code>·wasn’t·generated·from·other·macro·expansions·then·the·return
16 value·is·the·same·as·<code>*self</code>.</p>16 value·is·the·same·as·<code>*self</code>.</p>
17 </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#510-512">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.83.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>17 </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#510-512">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.start"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#516-518">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>18 </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#516-518">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.end"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#522-524">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>19 </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#522-524">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.line"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#530-532">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.83.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>20 </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#530-532">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 <p>To·obtain·the·line·of·the·span’s·end,·use·<code>span.end().line()</code>.</p>21 <p>To·obtain·the·line·of·the·span’s·end,·use·<code>span.end().line()</code>.</p>
22 </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#538-540">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.83.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>22 </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#538-540">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 <p>To·obtain·the·column·of·the·span’s·end,·use·<code>span.end().column()</code>.</p>23 <p>To·obtain·the·column·of·the·span’s·end,·use·<code>span.end().column()</code>.</p>
24 </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#546-548">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>24 </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#546-548">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 <p>Returns·<code>None</code>·if·<code>self</code>·and·<code>other</code>·are·from·different·files.</p>25 <p>Returns·<code>None</code>·if·<code>self</code>·and·<code>other</code>·are·from·different·files.</p>
26 </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#553-555">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>·but26 </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#553-555">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
27 that·resolves·symbols·as·though·it·were·at·<code>other</code>.</p>27 that·resolves·symbols·as·though·it·were·at·<code>other</code>.</p>
28 </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#560-562">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>·but28 </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#560-562">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
29 with·the·line/column·information·of·<code>other</code>.</p>29 with·the·line/column·information·of·<code>other</code>.</p>
30 </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#566-568">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.83.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>30 </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#566-568">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.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#578-580">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·source31 </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#578-580">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
32 code,·including·spaces·and·comments.·It·only·returns·a·result·if·the·span32 code,·including·spaces·and·comments.·It·only·returns·a·result·if·the·span
33 corresponds·to·real·source·code.</p>33 corresponds·to·real·source·code.</p>
34 <p>Note:·The·observable·result·of·a·macro·should·only·rely·on·the·tokens·and34 <p>Note:·The·observable·result·of·a·macro·should·only·rely·on·the·tokens·and
35 not·on·this·source·text.·The·result·of·this·function·is·a·best·effort·to35 not·on·this·source·text.·The·result·of·this·function·is·a·best·effort·to
36 be·used·for·diagnostics·only.</p>36 be·used·for·diagnostics·only.</p>
37 </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#596">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·span37 </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#596">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
Offset 41, 18 lines modifiedOffset 41, 18 lines modified
41 </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#598">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·span41 </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#598">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
42 <code>self</code>.</p>42 <code>self</code>.</p>
43 </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#599">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·span43 </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#599">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
44 <code>self</code>.</p>44 <code>self</code>.</p>
45 </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"><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#443">source</a></span><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#443">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#174">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:·&amp;Self)</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"><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#604-608">source</a></span><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>45 </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"><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#443">source</a></span><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#443">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#174">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:·&amp;Self)</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"><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#604-608">source</a></span><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><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#605-607">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"><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#443">source</a></span><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"><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#447">source</a></span><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"><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#449">source</a></span><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#138">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">where46 </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#605-607">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"><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#443">source</a></span><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"><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#447">source</a></span><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"><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#449">source</a></span><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#138">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
47 ····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#139">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#209">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">where47 ····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#139">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#209">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
48 ····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#211">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.83.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#217">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">where48 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
50 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
70.0 KB
./usr/share/doc/rust-doc/html/proc_macro/struct.TokenStream.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="The·main·type·provided·by·this·crate,·representing·an·abstract·stream·of·tokens,·or,·more·specifically,·a·sequence·of·token·trees.·The·type·provides·interfaces·for·iterating·over·those·token·trees·and,·conversely,·collecting·a·number·of·token·trees·into·one·stream."><title>TokenStream·in·proc_macro·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Token<wbr>Stream</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.expand_expr"·title="expand_expr">expand_expr</a></li><li><a·href="#method.is_empty"·title="is_empty">is_empty</a></li><li><a·href="#method.new"·title="new">new</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-TokenStream"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-TokenStream"·title="!Sync">!Sync</a></li><li><a·href="#impl-Clone-for-TokenStream"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TokenStream"·title="Debug">Debug</a></li><li><a·href="#impl-Default-for-TokenStream"·title="Default">Default</a></li><li><a·href="#impl-Display-for-TokenStream"·title="Display">Display</a></li><li><a·href="#impl-Extend%3CTokenStream%3E-for-TokenStream"·title="Extend&#60;TokenStream&#62;">Extend&#60;TokenStream&#62;</a></li><li><a·href="#impl-Extend%3CTokenTree%3E-for-TokenStream"·title="Extend&#60;TokenTree&#62;">Extend&#60;TokenTree&#62;</a></li><li><a·href="#impl-From%3CTokenTree%3E-for-TokenStream"·title="From&#60;TokenTree&#62;">From&#60;TokenTree&#62;</a></li><li><a·href="#impl-FromIterator%3CTokenStream%3E-for-TokenStream"·title="FromIterator&#60;TokenStream&#62;">FromIterator&#60;TokenStream&#62;</a></li><li><a·href="#impl-FromIterator%3CTokenTree%3E-for-TokenStream"·title="FromIterator&#60;TokenTree&#62;">FromIterator&#60;TokenTree&#62;</a></li><li><a·href="#impl-FromStr-for-TokenStream"·title="FromStr">FromStr</a></li><li><a·href="#impl-IntoIterator-for-TokenStream"·title="IntoIterator">IntoIterator</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TokenStream"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TokenStream"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-TokenStream"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TokenStream"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">TokenStream</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#87">source</a>·</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·of1 <!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·main·type·provided·by·this·crate,·representing·an·abstract·stream·of·tokens,·or,·more·specifically,·a·sequence·of·token·trees.·The·type·provides·interfaces·for·iterating·over·those·token·trees·and,·conversely,·collecting·a·number·of·token·trees·into·one·stream."><title>TokenStream·in·proc_macro·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Token<wbr>Stream</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.expand_expr"·title="expand_expr">expand_expr</a></li><li><a·href="#method.is_empty"·title="is_empty">is_empty</a></li><li><a·href="#method.new"·title="new">new</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Send-for-TokenStream"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-TokenStream"·title="!Sync">!Sync</a></li><li><a·href="#impl-Clone-for-TokenStream"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TokenStream"·title="Debug">Debug</a></li><li><a·href="#impl-Default-for-TokenStream"·title="Default">Default</a></li><li><a·href="#impl-Display-for-TokenStream"·title="Display">Display</a></li><li><a·href="#impl-Extend%3CTokenStream%3E-for-TokenStream"·title="Extend&#60;TokenStream&#62;">Extend&#60;TokenStream&#62;</a></li><li><a·href="#impl-Extend%3CTokenTree%3E-for-TokenStream"·title="Extend&#60;TokenTree&#62;">Extend&#60;TokenTree&#62;</a></li><li><a·href="#impl-From%3CTokenTree%3E-for-TokenStream"·title="From&#60;TokenTree&#62;">From&#60;TokenTree&#62;</a></li><li><a·href="#impl-FromIterator%3CTokenStream%3E-for-TokenStream"·title="FromIterator&#60;TokenStream&#62;">FromIterator&#60;TokenStream&#62;</a></li><li><a·href="#impl-FromIterator%3CTokenTree%3E-for-TokenStream"·title="FromIterator&#60;TokenTree&#62;">FromIterator&#60;TokenTree&#62;</a></li><li><a·href="#impl-FromStr-for-TokenStream"·title="FromStr">FromStr</a></li><li><a·href="#impl-IntoIterator-for-TokenStream"·title="IntoIterator">IntoIterator</a></li></ul><h3><a·href="#synthetic-implementations">Auto·Trait·Implementations</a></h3><ul·class="block·synthetic-implementation"><li><a·href="#impl-Freeze-for-TokenStream"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TokenStream"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-TokenStream"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TokenStream"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·proc_<wbr>macro</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">proc_macro</a></span><h1>Struct·<span·class="struct">TokenStream</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#87">source</a>·</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
2 tokens,·or,·more·specifically,·a·sequence·of·token·trees.2 tokens,·or,·more·specifically,·a·sequence·of·token·trees.
3 The·type·provides·interfaces·for·iterating·over·those·token·trees·and,·conversely,3 The·type·provides·interfaces·for·iterating·over·those·token·trees·and,·conversely,
4 collecting·a·number·of·token·trees·into·one·stream.</p>4 collecting·a·number·of·token·trees·into·one·stream.</p>
5 <p>This·is·both·the·input·and·output·of·<code>#[proc_macro]</code>,·<code>#[proc_macro_attribute]</code>5 <p>This·is·both·the·input·and·output·of·<code>#[proc_macro]</code>,·<code>#[proc_macro_attribute]</code>
6 and·<code>#[proc_macro_derive]</code>·definitions.</p>6 and·<code>#[proc_macro_derive]</code>·definitions.</p>
7 </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#137-168">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#140-142">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>7 </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#137-168">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#140-142">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><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#146-148">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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class="docblock"><p>Checks·if·this·<code>TokenStream</code>·is·empty.</p>8 </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#146-148">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.expand_expr"·class="method"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#161-167">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·any9 </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#161-167">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
10 macros·within·it.·Returns·the·expanded·<code>TokenStream</code>.</p>10 macros·within·it.·Returns·the·expanded·<code>TokenStream</code>.</p>
11 <p>Currently·only·expressions·expanding·to·literals·will·succeed,·although11 <p>Currently·only·expressions·expanding·to·literals·will·succeed,·although
12 this·may·be·relaxed·in·the·future.</p>12 this·may·be·relaxed·in·the·future.</p>
13 <p>NOTE:·In·error·conditions,·<code>expand_expr</code>·may·leave·macros·unexpanded,13 <p>NOTE:·In·error·conditions,·<code>expand_expr</code>·may·leave·macros·unexpanded,
14 report·an·error,·failing·compilation,·and/or·return·an·<code>Err(..)</code>.·The14 report·an·error,·failing·compilation,·and/or·return·an·<code>Err(..)</code>.·The
15 specific·behavior·for·any·error·condition,·and·what·conditions·are15 specific·behavior·for·any·error·condition,·and·what·conditions·are
Offset 21, 31 lines modifiedOffset 21, 31 lines modified
21 <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might21 <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might
22 be·changes·in·the·whitespace·used·between·tokens.·Therefore,·you·should22 be·changes·in·the·whitespace·used·between·tokens.·Therefore,·you·should
23 <em>not</em>·do·any·kind·of·simple·substring·matching·on·the·output·string·(as23 <em>not</em>·do·any·kind·of·simple·substring·matching·on·the·output·string·(as
24 produced·by·<code>to_string</code>)·to·implement·a·proc·macro,·because·that·matching24 produced·by·<code>to_string</code>)·to·implement·a·proc·macro,·because·that·matching
25 might·stop·working·if·such·changes·happen.·Instead,·you·should·work·at·the25 might·stop·working·if·such·changes·happen.·Instead,·you·should·work·at·the
26 <code>TokenTree</code>·level,·e.g.·matching·against·<code>TokenTree::Ident</code>,26 <code>TokenTree</code>·level,·e.g.·matching·against·<code>TokenTree::Ident</code>,
27 <code>TokenTree::Punct</code>,·or·<code>TokenTree::Literal</code>.</p>27 <code>TokenTree::Punct</code>,·or·<code>TokenTree::Literal</code>.</p>
28 </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#210-212">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%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#362-369">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#363-368">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#454">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#462">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.83.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:·390e7e59517f2a2b2a5436831f8b52296f2305c8e674364bac14a52cf081dc88·...·]/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#247-251">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>28 </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#210-212">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%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#362-369">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#363-368">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#454">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#462">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:·18c5ba635670d3e1cd066de269a475321ca8327b60761cf464912b8ea9c7b60c·...·]/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#247-251">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.from"·class="method·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#248-250">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"><span·class="rightside"><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#342-349">source</a></span><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·trees29 </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#248-250">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"><span·class="rightside"><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#342-349">source</a></span><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
30 from·multiple·token·streams·into·a·single·stream.</p>30 from·multiple·token·streams·into·a·single·stream.</p>
31 </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#343-348">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="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#330-337">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>31 </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#343-348">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="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#330-337">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#331-336">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><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromStr-for-TokenStream"·class="impl"><span·class="rightside"><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#178-184">source</a></span><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.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#331-336">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><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-FromStr-for-TokenStream"·class="impl"><span·class="rightside"><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#178-184">source</a></span><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 May·fail·for·a·number·of·reasons,·for·example,·if·the·string·contains·unbalanced·delimiters33 May·fail·for·a·number·of·reasons,·for·example,·if·the·string·contains·unbalanced·delimiters
34 or·characters·not·existing·in·the·language.34 or·characters·not·existing·in·the·language.
35 All·tokens·in·the·parsed·stream·get·<code>Span::call_site()</code>·spans.</p>35 All·tokens·in·the·parsed·stream·get·<code>Span::call_site()</code>·spans.</p>
36 <p>NOTE:·some·errors·may·cause·panics·instead·of·returning·<code>LexError</code>.·We·reserve·the·right·to36 <p>NOTE:·some·errors·may·cause·panics·instead·of·returning·<code>LexError</code>.·We·reserve·the·right·to
37 change·these·errors·into·<code>LexError</code>s·later.</p>37 change·these·errors·into·<code>LexError</code>s·later.</p>
38 </div><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Err"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#179">source</a><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#181-183">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.83.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#414-421">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·class="src·rightside"·href="../src/proc_macro/lib.rs.html#415">source</a><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·class="src·rightside"·href="../src/proc_macro/lib.rs.html#416">source</a><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#418-420">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"><span·class="rightside"><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#90">source</a></span><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"><span·class="rightside"><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#92">source</a></span><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#138">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">where38 </div><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Err"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/proc_macro/lib.rs.html#179">source</a><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#181-183">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#414-421">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·class="src·rightside"·href="../src/proc_macro/lib.rs.html#415">source</a><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·class="src·rightside"·href="../src/proc_macro/lib.rs.html#416">source</a><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#418-420">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"><span·class="rightside"><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#90">source</a></span><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"><span·class="rightside"><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#92">source</a></span><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#138">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
39 ····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#139">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#209">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">where39 ····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#139">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#209">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
40 ····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#211">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.83.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#217">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">where40 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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#2672">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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#2672">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#2678">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#2678">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
177 KB
./usr/share/doc/rust-doc/html/proc_macro/token_stream/struct.IntoIter.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="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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Into<wbr>Iter</a></h2><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-IntoIter"·title="Clone">Clone</a></li><li><a·href="#impl-Iterator-for-IntoIter"·title="Iterator">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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-IntoIter"·title="!Sync">!Sync</a></li><li><a·href="#impl-Freeze-for-IntoIter"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-IntoIter"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-IntoIter"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-IntoIter"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-IntoIterator-for-I"·title="IntoIterator">IntoIterator</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·proc_<wbr>macro::<wbr>token_<wbr>stream</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">token_stream</a></span><h1>Struct·<span·class="struct">IntoIter</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#381-389">source</a>·</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.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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Into<wbr>Iter</a></h2><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-IntoIter"·title="Clone">Clone</a></li><li><a·href="#impl-Iterator-for-IntoIter"·title="Iterator">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"·title="!Send">!Send</a></li><li><a·href="#impl-Sync-for-IntoIter"·title="!Sync">!Sync</a></li><li><a·href="#impl-Freeze-for-IntoIter"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-IntoIter"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Unpin-for-IntoIter"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-IntoIter"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-IntoIterator-for-I"·title="IntoIterator">IntoIterator</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·proc_<wbr>macro::<wbr>token_<wbr>stream</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">token_stream</a></span><h1>Struct·<span·class="struct">IntoIter</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><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#381-389">source</a>·</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 The·iteration·is·“shallow”,·e.g.,·the·iterator·doesn’t·recurse·into·delimited·groups,2 The·iteration·is·“shallow”,·e.g.,·the·iterator·doesn’t·recurse·into·delimited·groups,
3 and·returns·whole·groups·as·token·trees.</p>3 and·returns·whole·groups·as·token·trees.</p>
4 </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"><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#379">source</a></span><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#379">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#174">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:·&amp;Self)</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-Iterator-for-IntoIter"·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#392-411">source</a></span><a·href="#impl-Iterator-for-IntoIter"·class="anchor">§</a><h3·class="code-header">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="struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Item"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#393">source</a><a·href="#associatedtype.Item"·class="anchor">§</a><h4·class="code-header">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></h4></section></summary><div·class='docblock'>The·type·of·the·elements·being·iterated·over.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.next"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#395-402">source</a><a·href="#method.next"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#tymethod.next"·class="fn">next</a>(&amp;mut·self)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="enum"·href="../enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;</h4></section></summary><div·class='docblock'>Advances·the·iterator·and·returns·the·next·value.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#tymethod.next">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.size_hint"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#404-406">source</a><a·href="#method.size_hint"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.size_hint"·class="fn">size_hint</a>(&amp;self)·-&gt;·(<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,·<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.83.0/std/primitive.usize.[·...·truncated·by·diffoscope;·len:·1380,·SHA:·6a48ebecdb58ac9a9cf11fe32242c0093d196926b2892b4822876eca499ba291·...·]/std/primitive.usize.html">usize</a>&gt;(4 </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"><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#379">source</a></span><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#379">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#174">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:·&amp;Self)</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-Iterator-for-IntoIter"·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#392-411">source</a></span><a·href="#impl-Iterator-for-IntoIter"·class="anchor">§</a><h3·class="code-header">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="struct.IntoIter.html"·title="struct·proc_macro::token_stream::IntoIter">IntoIter</a></h3></section></summary><div·class="impl-items"><details·class="toggle"·open><summary><section·id="associatedtype.Item"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#393">source</a><a·href="#associatedtype.Item"·class="anchor">§</a><h4·class="code-header">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></h4></section></summary><div·class='docblock'>The·type·of·the·elements·being·iterated·over.</div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.next"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#395-402">source</a><a·href="#method.next"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#tymethod.next"·class="fn">next</a>(&amp;mut·self)·-&gt;·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a>&lt;<a·class="enum"·href="../enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>&gt;</h4></section></summary><div·class='docblock'>Advances·the·iterator·and·returns·the·next·value.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#tymethod.next">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.size_hint"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/proc_macro/lib.rs.html#404-406">source</a><a·href="#method.size_hint"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.size_hint"·class="fn">size_hint</a>(&amp;self)·-&gt;·(<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,·<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;)</h4></section></summary><div·clas[·...·truncated·by·diffoscope;·len:·1272,·SHA:·d70cabb5c3d884abca4d169f546706fb06e2c7cd34f7ea833697b78dd1972986·...·]/std/primitive.usize.html">usize</a>&gt;(
5 ····&amp;mut·self,5 ····&amp;mut·self,
6 )·-&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.83.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">where6 )·-&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">where
7 ····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#253-255">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">where7 ····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#253-255">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
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'>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#301">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.83.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.83.0/std/primitive.[·...·truncated·by·diffoscope;·len:·2307,·SHA:·4e6ff7909f92803d4b725999d9f78a8e07de8def51b303c2615d4b88b32f8164·...·]/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">where8 ····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#301">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:·a3a82e6428e880046fbb3439807ee180a2fe2b070b35d4c44895d87724e2f44d·...·]/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
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'>Creates·an·iterator·starting·at·the·same·point,·but·stepping·by9 ····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
10 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#476-479">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">where10 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#476-479">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
11 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,11 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
12 ····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#595-598">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">where12 ····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#595-598">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
13 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,13 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
14 ····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#638-641">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">where14 ····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#638-641">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
15 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,15 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
Offset 20, 117 lines modifiedOffset 20, 117 lines modified
20 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#757-760">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">where20 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#757-760">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
21 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,21 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
22 ····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·each22 ····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
23 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#803-806">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">where23 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#803-806">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
24 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,24 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
25 ····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#880-883">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">where25 ····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#880-883">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
26 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,26 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
27 ····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.83.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·element27 ····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·element
28 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#926-929">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">where28 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#926-929">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
29 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,29 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
30 ····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#974-976">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">where30 ····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#974-976">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
31 ····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·as31 ····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
32 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#1046-1048">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">where32 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#1046-1048">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
33 ····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>·methods33 ····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
34 to·look·at·the·next·element·of·the·iterator·without·consuming·it.·See34 to·look·at·the·next·element·of·the·iterator·without·consuming·it.·See
35 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#1112-1115">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">where35 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#1112-1115">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
36 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,36 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
37 ····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.83.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#1194-1197">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">where37 ····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#1194-1197">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
38 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,38 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
39 ····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.83.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#1283-1286">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">where39 ····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#1283-1286">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
40 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,40 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
41 ····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#1313-1315">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.83.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">where41 ····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#1313-1315">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">where
42 ····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#1367-1369">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.83.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">where42 ····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#1367-1369">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">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·yields·the·first·<code>n</code>·elements,·or·fewer43 ····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
44 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#1415-1418">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">where44 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#1415-1418">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
45 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,45 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
46 ····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.83.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,·but46 ····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,·but
47 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#1454-1458">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">where47 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#1454-1458">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
48 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,48 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
49 ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>,49 ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>,
50 ····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#1696-1699">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.83.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">where50 ····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#1696-1699">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">where
51 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,51 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
52 ····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.83.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>·over52 ····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>·over
53 <code>self</code>·and·returns·an·iterator·over·the·outputs·of·<code>f</code>.·Like·<a·href="https://doc.rust-lang.org/1.83.0/std/primitive.slice.html#method.windows"·title="method·slice::windows"><code>slice::windows()</code></a>,53 <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 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#1763-1765">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">where54 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#1763-1765">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
55 ····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#1848-1851">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">where55 ····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#1848-1851">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
56 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,56 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
57 ····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#1877-1879">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;·&amp;mut·Self<div·class="where">where57 ····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#1877-1879">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;·&amp;mut·Self<div·class="where">where
58 ····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#1997-1999">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">where58 ····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#1997-1999">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
59 ····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;,59 ····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 ····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#2149-2151">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.83.0/std/primitive.reference.html">&amp;mut·E</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&amp;mut·E</a><div·class="where">where60 ····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#2149-2151">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">where
61 ····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;,61 ····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 ····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#2182-2186">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.83.0/std/primitive.tuple.html">(B,·B)</a><div·class="where">where62 ····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#2182-2186">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">where
63 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,63 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
64 ····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;,64 ····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 ····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.83.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:·b1e25e5958c01ebc0fabb09f6bd500b6e3f1a1d99fbcdd68226933027113de12·...·]/std/primitive.bool.html">bool</a><div·class="where">where65 ····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:·3bd1bf510f746be2dc7851ce25cdcc5b198b59a291756439d85884118695b70f·...·]/std/primitive.bool.html">bool</a><div·class="where">where
66 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,66 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
67 ····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.83.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,67 ····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 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#2398-2402">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">where68 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#2398-2402">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
69 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,69 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
70 ····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,70 ····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 ····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·returns71 ····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
72 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#2457-2461">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">where72 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#2457-2461">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
73 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,73 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
74 ····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,74 ····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 ····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.83.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·the75 ····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·the
76 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#2577-2580">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">where76 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#2577-2580">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
77 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,77 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
78 ····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,78 ····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 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#2615-2618">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">where79 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#2615-2618">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
80 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,80 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
81 ····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·reducing81 ····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
82 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#2687-2693">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;R&gt;(82 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#2687-2693">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;R&gt;(
83 ····&amp;mut·self,83 ····&amp;mut·self,
84 ····f:·impl·<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,84 ····f:·impl·<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,
85 )·-&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">where85 )·-&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
86 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,86 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
87 ····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;,87 ····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;,
88 ····&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·the88 ····&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
89 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#2746-2749">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.83.0/std/primitive.bool.html">bool</a><div·class="where">where89 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#2746-2749">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">where
90 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,90 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
91 ····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.83.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:·f92c949c8cd188822cec1185462e0dba4019fbbd1f06e00097a16196827a6d10·...·]/std/primitive.bool.html">bool</a><div·class="where">where91 ····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:·6b6033dadc7d4e80d5a23f3a72d1e160794d82b58c6478052376acf9a46e9bc0·...·]/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="https://doc.rust-lang.org/1.83.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#2864-2867">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">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="../../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#2864-2867">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
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 ····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.83.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#2896-2899">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">where95 ····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#2896-2899">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
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 ····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·returns97 ····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
98 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#2955-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;R&gt;(98 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#2955-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;R&gt;(
99 ····&amp;mut·self,99 ····&amp;mut·self,
100 ····f:·impl·<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,100 ····f:·impl·<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,
101 )·-&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">where101 )·-&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
102 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,102 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
103 ····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.83.0/std/primitive.bool.html">bool</a>&gt;,103 ····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;,
104 ····&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·returns104 ····&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
105 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.83.0/std/primitive.usize.html">usize</a>&gt;<div·class="where">where105 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">where
106 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,106 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
107 ····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.83.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">where107 ····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">where
108 ····B:·<a·class="trait"·href="../../core/cmp/trait.Ord.html"·title="trait·core::cmp::Ord">Ord</a>,108 ····B:·<a·class="trait"·href="../../core/cmp/trait.Ord.html"·title="trait·core::cmp::Ord">Ord</a>,
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 ····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·the110 ····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
111 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">where111 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
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>,·&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·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>,·&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
114 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">where114 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
115 ····B:·<a·class="trait"·href="../../core/cmp/trait.Ord.html"·title="trait·core::cmp::Ord">Ord</a>,115 ····B:·<a·class="trait"·href="../../core/cmp/trait.Ord.html"·title="trait·core::cmp::Ord">Ord</a>,
116 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,116 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>,
117 ····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·the117 ····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
118 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">where118 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
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>,·&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·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>,·&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
121 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.83.0/std/primitive.tuple.html">(FromA,·FromB)</a><div·class="where">where121 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">where
122 ····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;,122 ····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;,
123 ····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;,123 ····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;,
124 ····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.83.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#3417-3420">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">where124 ····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#3417-3420">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
125 ····T:·'a·+·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>,125 ····T:·'a·+·<a·class="trait"·href="../../core/marker/trait.Copy.html"·title="trait·core::marker::Copy">Copy</a>,
126 ····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.83.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#3466-3469">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">where126 ····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#3466-3469">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
127 ····T:·'a·+·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,127 ····T:·'a·+·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,
128 ····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.83.0/std/primitive.reference.html">&amp;'a·T</a>&gt;,</div></h4></section></summary><div·class='docblock'>Creates·an·iterator·which·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·title="method·core::clone::Clone::clone"><code>clone</code></a>s·all·of·its·elements.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.cloned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.cycle"·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#3499-3501">source</a></span><a·href="#method.cycle"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.cycle"·class="fn">cycle</a>(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/cycle/struct.Cycle.html"·title="struct·core::iter::adapters::cycle::Cycle">Cycle</a>&lt;Self&gt;<div·class="where">where128 ····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·<a·href="../../core/clone/trait.Clone.html#tymethod.clone"·title="method·core::clone::Clone::clone"><code>clone</code></a>s·all·of·its·elements.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.cloned">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.cycle"·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#3499-3501">source</a></span><a·href="#method.cycle"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.cycle"·class="fn">cycle</a>(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/cycle/struct.Cycle.html"·title="struct·core::iter::adapters::cycle::Cycle">Cycle</a>&lt;Self&gt;<div·class="where">where
129 ····Self:·<a·class="trait"·href="../../core/marker/trait.Sized.html"·title="trait·core::marker::Sized">Sized</a>·+·<a·class="trait"·href="../../core/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h4></section></summary><div·class='docblock'>Repeats·an·iterator·endlessly.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.cycle">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.array_chunks"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#3543-3545">source</a><a·href="#method.array_chunks"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.array_chunks"·class="fn">array_chunks</a>&lt;const·N:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>&gt;(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/array_chunks/struct.ArrayChunks.html"·title="struct·core::iter::adapters::array_chunks::ArrayChunks">ArrayChunks</a>&lt;Self,·N&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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h4></section></summary><div·class='docblock'>Repeats·an·iterator·endlessly.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.cycle">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.array_chunks"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/iter/traits/iterator.rs.html#3543-3545">source</a><a·href="#method.array_chunks"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.array_chunks"·class="fn">array_chunks</a>&lt;const·N:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>&gt;(self)·-&gt;·<a·class="struct"·href="../../core/iter/adapters/array_chunks/struct.ArrayChunks.html"·title="struct·core::iter::adapters::array_chunks::ArrayChunks">ArrayChunks</a>&lt;Self,·N&gt;<div·class="where">where
130 ····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_array_chunks</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/100450">#100450</a>)</span></div></span><div·class='docblock'>Returns·an·iterator·over·<code>N</code>·elements·of·the·iterator·at·a·time.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.array_chunks">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.sum"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.11.0">1.11.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3575-3578">source</a></span><a·href="#method.sum"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.sum"·class="fn">sum</a>&lt;S&gt;(self)·-&gt;·S<div·class="where">where130 ····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_array_chunks</code>&nbsp;<a·href="https://github.com/rust-lang/rust/issues/100450">#100450</a>)</span></div></span><div·class='docblock'>Returns·an·iterator·over·<code>N</code>·elements·of·the·iterator·at·a·time.·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.array_chunks">Read·more</a></div></details><details·class="toggle·method-toggle"·open><summary><section·id="method.sum"·class="method·trait-impl"><span·class="rightside"><span·class="since"·title="Stable·since·Rust·version·1.11.0">1.11.0</span>···<a·class="src"·href="../../src/core/iter/traits/iterator.rs.html#3575-3578">source</a></span><a·href="#method.sum"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/iter/traits/iterator/trait.Iterator.html#method.sum"·class="fn">sum</a>&lt;S&gt;(self)·-&gt;·S<div·class="where">where
Max diff block lines reached; 58543/181110 bytes (32.32%) of diff not shown.
10.2 KB
./usr/share/doc/rust-doc/html/proc_macro/tracked_env/fn.var.html
    
Offset 1, 6 lines modifiedOffset 1, 6 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·proc_<wbr>macro::<wbr>tracked_<wbr>env</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">tracked_env</a></span><h1>Function·<span·class="fn">var</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/proc_macro/lib.rs.html#1569-1575">source</a>·</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.83.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:·8acba09464125ce07f31fc14da3af5776ef6ada12f0e9b73e91370d3b846b2eb·...·]/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.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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·proc_<wbr>macro::<wbr>tracked_<wbr>env</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">tracked_env</a></span><h1>Function·<span·class="fn">var</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/proc_macro/lib.rs.html#1569-1575">source</a>·</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 The·build·system·executing·the·compiler·will·know·that·the·variable·was·accessed·during2 The·build·system·executing·the·compiler·will·know·that·the·variable·was·accessed·during
3 compilation,·and·will·be·able·to·rerun·the·build·when·the·value·of·that·variable·changes.3 compilation,·and·will·be·able·to·rerun·the·build·when·the·value·of·that·variable·changes.
4 Besides·the·dependency·tracking·this·function·should·be·equivalent·to·<code>env::var</code>·from·the4 Besides·the·dependency·tracking·this·function·should·be·equivalent·to·<code>env::var</code>·from·the
5 standard·library,·except·that·the·argument·must·be·UTF-8.</p>5 standard·library,·except·that·the·argument·must·be·UTF-8.</p>
6 </div></details></section></div></main></body></html>6 </div></details></section></div></main></body></html>
7.95 KB
./usr/share/doc/rust-doc/html/proc_macro/tracked_path/fn.path.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="Track·a·file·explicitly."><title>path·in·proc_macro::tracked_path·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·proc_<wbr>macro::<wbr>tracked_<wbr>path</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">tracked_path</a></span><h1>Function·<span·class="fn">path</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/proc_macro/lib.rs.html#1586-1589">source</a>·</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.83.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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.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.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../proc_macro/index.html">proc_<wbr>macro</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·proc_<wbr>macro::<wbr>tracked_<wbr>path</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">proc_macro</a>::<wbr><a·href="index.html">tracked_path</a></span><h1>Function·<span·class="fn">path</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/proc_macro/lib.rs.html#1586-1589">source</a>·</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 <p>Commonly·used·for·tracking·asset·preprocessing.</p>2 <p>Commonly·used·for·tracking·asset·preprocessing.</p>
3 </div></details></section></div></main></body></html>3 </div></details></section></div></main></body></html>
5.59 KB
./usr/share/doc/rust-doc/html/test/bench/fn.benchmark.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="API·documentation·for·the·Rust·`benchmark`·fn·in·crate·`test`."><title>benchmark·in·test::bench·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»   2024-11-26)»(built»  from»      a»     source»       tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Function·<span·class="fn">benchmark</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#192-236">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·benchmark&lt;F&gt;(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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»   2024-11-26)»(built»  from»      a»     source»       tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Function·<span·class="fn">benchmark</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#192-236">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·benchmark&lt;F&gt;(
2 ····id:·<a·class="struct"·href="../test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>,2 ····id:·<a·class="struct"·href="../test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>,
3 ····desc:·<a·class="struct"·href="../test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,3 ····desc:·<a·class="struct"·href="../test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,
4 ····monitor_ch:·<a·class="struct"·href="https://doc.rust-lang.org/1.83.0/std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a>&lt;CompletedTest&gt;,4 ····monitor_ch:·<a·class="struct"·href="../../std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a>&lt;CompletedTest&gt;,
5 ····nocapture:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,5 ····nocapture:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
6 ····f:·F,6 ····f:·F,
7 )<div·class="where">where7 )<div·class="where">where
8 ····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.83.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>8 ····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>
7.32 KB
./usr/share/doc/rust-doc/html/test/bench/fn.iter.html
    
Offset 1, 2 lines modifiedOffset 1, 2 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Function·<span·class="fn">iter</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#123-190">source</a>·</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.83.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">where1 <!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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Function·<span·class="fn">iter</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#123-190">source</a>·</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">where
2 ····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>2 ····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>
8.68 KB
./usr/share/doc/rust-doc/html/test/bench/fn.run_once.html
    
Offset 1, 2 lines modifiedOffset 1, 2 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Function·<span·class="fn">run_once</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#238-244">source</a>·</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.83.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">where1 <!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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Function·<span·class="fn">run_once</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#238-244">source</a>·</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">where
2 ····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.83.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>2 ····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>
41.9 KB
./usr/share/doc/rust-doc/html/test/bench/struct.BenchSamples.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·`BenchSamples`·struct·in·crate·`test`."><title>BenchSamples·in·test::bench·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Bench<wbr>Samples</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.mb_s"·title="mb_s">mb_s</a></li><li><a·href="#structfield.ns_iter_summ"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-BenchSamples"·title="Debug">Debug</a></li><li><a·href="#impl-PartialEq-for-BenchSamples"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-BenchSamples"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-BenchSamples"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-BenchSamples"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-BenchSamples"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-BenchSamples"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-BenchSamples"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Struct·<span·class="struct">BenchSamples</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#60-63">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·BenchSamples·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Bench<wbr>Samples</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.mb_s"·title="mb_s">mb_s</a></li><li><a·href="#structfield.ns_iter_summ"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-BenchSamples"·title="Debug">Debug</a></li><li><a·href="#impl-PartialEq-for-BenchSamples"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-BenchSamples"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-BenchSamples"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-BenchSamples"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-BenchSamples"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-BenchSamples"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-BenchSamples"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Struct·<span·class="struct">BenchSamples</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#60-63">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·BenchSamples·{
2 ····pub·ns_iter_summ:·<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>,2 ····pub·ns_iter_summ:·<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>,
3 ····pub·mb_s:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,3 ····pub·mb_s:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,
4 }</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.83.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:·5158,·SHA:·ee9c9ba5dd092b4638a5218bd42d1be64bdb6028e168da451f7d87102961687e·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,4 }</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:·5050,·SHA:·36e46914abecac62e5998d3dd241a145e1e404bb8e551ab6649d41d906d49a1f·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
5 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#59">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#138">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 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#59">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
9 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.7 KB
./usr/share/doc/rust-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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Bencher</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bytes"·title="bytes">bytes</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.bench"·title="bench">bench</a></li><li><a·href="#method.iter"·title="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"·title="Clone">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Bencher"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Bencher"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Bencher"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Bencher"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Bencher"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Struct·<span·class="struct">Bencher</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#30-34">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·Bencher·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Bencher</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bytes"·title="bytes">bytes</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.bench"·title="bench">bench</a></li><li><a·href="#method.iter"·title="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"·title="Clone">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Bencher"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Bencher"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Bencher"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Bencher"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Bencher"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>bench</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">bench</a></span><h1>Struct·<span·class="struct">Bencher</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/bench.rs.html#30-34">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·Bencher·{
2 ····pub·bytes:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.u64.html">u64</a>,2 ····pub·bytes:·<a·class="primitive"·href="../../std/primitive.u64.html">u64</a>,
3 ····<span·class="comment">/*·private·fields·*/</span>3 ····<span·class="comment">/*·private·fields·*/</span>
4 }</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>4 }</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 <p>This·is·fed·into·functions·marked·with·<code>#[bench]</code>·to·allow·for5 <p>This·is·fed·into·functions·marked·with·<code>#[bench]</code>·to·allow·for
6 set-up·&amp;·tear-down·before·running·a·piece·of·code·repeatedly·via·a6 set-up·&amp;·tear-down·before·running·a·piece·of·code·repeatedly·via·a
7 call·to·<code>iter</code>.</p>7 call·to·<code>iter</code>.</p>
8 </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.83.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#36-57">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#38-48">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">where8 </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#36-57">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#38-48">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
9 ····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>9 ····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 </div></details><section·id="method.bench"·class="method"><a·class="src·rightside"·href="../../src/test/bench.rs.html#50-56">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">where10 </div></details><section·id="method.bench"·class="method"><a·class="src·rightside"·href="../../src/test/bench.rs.html#50-56">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
11 ····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.83.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"><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-Bencher"·class="impl"><a·class="src·rightside"·href="../../src/test/bench.rs.html#29">source</a><a·href="#impl-Clone-for-Bencher"·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.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.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/bench.rs.html#29">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.Bencher.html"·title="struct·test::bench::Bencher">Bencher</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#174">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:·&amp;Self)</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#138">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 ····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><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-Bencher"·class="impl"><a·class="src·rightside"·href="../../src/test/bench.rs.html#29">source</a><a·href="#impl-Clone-for-Bencher"·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.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.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/bench.rs.html#29">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.Bencher.html"·title="struct·test::bench::Bencher">Bencher</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#174">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:·&amp;Self)</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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.1 KB
./usr/share/doc/rust-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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Color<wbr>Config</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlwaysColor"·title="AlwaysColor">AlwaysColor</a></li><li><a·href="#variant.AutoColor"·title="AutoColor">AutoColor</a></li><li><a·href="#variant.NeverColor"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-ColorConfig"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-ColorConfig"·title="Debug">Debug</a></li><li><a·href="#impl-Default-for-ColorConfig"·title="Default">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ColorConfig"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ColorConfig"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-ColorConfig"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-ColorConfig"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ColorConfig"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">ColorConfig</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/options.rs.html#20-25">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·ColorConfig·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Color<wbr>Config</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlwaysColor"·title="AlwaysColor">AlwaysColor</a></li><li><a·href="#variant.AutoColor"·title="AutoColor">AutoColor</a></li><li><a·href="#variant.NeverColor"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-ColorConfig"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-ColorConfig"·title="Debug">Debug</a></li><li><a·href="#impl-Default-for-ColorConfig"·title="Default">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ColorConfig"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ColorConfig"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-ColorConfig"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-ColorConfig"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ColorConfig"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">ColorConfig</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/options.rs.html#20-25">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·ColorConfig·{
2 ····AutoColor,2 ····AutoColor,
3 ····AlwaysColor,3 ····AlwaysColor,
4 ····NeverColor,4 ····NeverColor,
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>Whether·should·console·output·be·colored·or·not</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>Whether·should·console·output·be·colored·or·not</p>
6 </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#174">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:·&amp;Self)</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#138">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 </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#174">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:·&amp;Self)</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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
10 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.0 KB
./usr/share/doc/rust-doc/html/test/enum.NamePadding.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·`NamePadding`·enum·in·crate·`test`."><title>NamePadding·in·test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Name<wbr>Padding</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.PadNone"·title="PadNone">PadNone</a></li><li><a·href="#variant.PadOnRight"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-NamePadding"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-NamePadding"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-NamePadding"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-NamePadding"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-NamePadding"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-NamePadding"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-NamePadding"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-NamePadding"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-NamePadding"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-NamePadding"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-NamePadding"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">NamePadding</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#31-34">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·NamePadding·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Name<wbr>Padding</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.PadNone"·title="PadNone">PadNone</a></li><li><a·href="#variant.PadOnRight"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-NamePadding"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-NamePadding"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-NamePadding"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-NamePadding"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-NamePadding"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-NamePadding"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-NamePadding"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-NamePadding"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-NamePadding"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-NamePadding"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-NamePadding"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">NamePadding</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#31-34">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·NamePadding·{
2 ····PadNone,2 ····PadNone,
3 ····PadOnRight,3 ····PadOnRight,
4 }</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#30">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#30">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#174">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:·&amp;Self)</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-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#30">source</a><a·href="#impl-Debug-for-NamePadding"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#30">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-Hash-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#30">source</a><a·href="#impl-Hash-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/hash/trait.Hash.html"·title="trait·core::hash::Hash">Hash</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.hash"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#30">source</a><a·href="#method.hash"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/hash/trait.Hash.html#tymethod.hash"·class="fn">hash</a>&lt;__H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>&gt;(&amp;self,·state:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&amp;mut·__H</a>)</h4></section></summary><div·class='docblock'>Feeds·this·value·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>[·...·truncated·by·diffoscope;·len:·622,·SHA:·6a6b241ea513eb03bb3415d3420e816d7876fa9a418ae9f0bd1af63819753f66·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where4 }</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#30">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#30">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#174">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:·&amp;Self)</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-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#30">source</a><a·href="#impl-Debug-for-NamePadding"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#30">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-Hash-for-NamePadding"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#30">source</a><a·href="#impl-Hash-for-NamePadding"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/hash/trait.Hash.html"·title="trait·core::hash::Hash">Hash</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.hash"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#30">source</a><a·href="#method.hash"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/hash/trait.Hash.html#tymethod.hash"·class="fn">hash</a>&lt;__H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>&gt;(&amp;self,·state:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·__H</a>)</h4></section></summary><div·class='docblock'>Feeds·this·value·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.[·...·truncated·by·diffoscope;·len:·562,·SHA:·14fc776829f9da0108dcb1039f5d17263964d8c5e8ed687f0810b9944d3a25e9·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
5 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,5 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
6 ····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#30">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#30">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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,6 ····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#30">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#30">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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
7 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#30">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#30">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#30">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#138">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 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#30">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#30">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#30">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where10 ····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#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
11 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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 </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">where12 </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
13 ····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 ····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 <p>That·is,·this·conversion·is·whatever·the·implementation·of14 <p>That·is,·this·conversion·is·whatever·the·implementation·of
15 <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 <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 </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#82-84">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">where16 </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#82-84">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
17 ····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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">where17 ····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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.3 KB
./usr/share/doc/rust-doc/html/test/enum.OutputFormat.html
    
Offset 4, 21 lines modifiedOffset 4, 21 lines modified
4 ····Json,4 ····Json,
5 ····Junit,5 ····Junit,
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>Format·of·the·test·results·output</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>Format·of·the·test·results·output</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.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>7 </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><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>8 </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.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>9 </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.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>10 </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></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#174">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:·&amp;Self)</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-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Debug-for-OutputFormat"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">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-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Default-for-OutputFormat"·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.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.default"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">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.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</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><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-PartialEq-for-OutputFormat"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">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.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,11 </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#174">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:·&amp;Self)</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-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Debug-for-OutputFormat"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">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-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-Default-for-OutputFormat"·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.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.default"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">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.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</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><details·class="toggle·implementors-toggle"·open><summary><section·id="impl-PartialEq-for-OutputFormat"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">source</a><a·href="#impl-PartialEq-for-OutputFormat"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#28">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.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
12 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#138">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 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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.0 KB
./usr/share/doc/rust-doc/html/test/enum.RunIgnored.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="Whether·ignored·test·should·be·run·or·not"><title>RunIgnored·in·test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">RunIgnored</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No"·title="No">No</a></li><li><a·href="#variant.Only"·title="Only">Only</a></li><li><a·href="#variant.Yes"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-RunIgnored"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-RunIgnored"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-RunIgnored"·title="Eq">Eq</a></li><li><a·href="#impl-PartialEq-for-RunIgnored"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-RunIgnored"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-RunIgnored"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-RunIgnored"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-RunIgnored"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-RunIgnored"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-RunIgnored"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">RunIgnored</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/options.rs.html#43-48">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·RunIgnored·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">RunIgnored</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No"·title="No">No</a></li><li><a·href="#variant.Only"·title="Only">Only</a></li><li><a·href="#variant.Yes"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-RunIgnored"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-RunIgnored"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-RunIgnored"·title="Eq">Eq</a></li><li><a·href="#impl-PartialEq-for-RunIgnored"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-RunIgnored"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-RunIgnored"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-RunIgnored"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-RunIgnored"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-RunIgnored"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-RunIgnored"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">RunIgnored</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/options.rs.html#43-48">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·RunIgnored·{
2 ····Yes,2 ····Yes,
3 ····No,3 ····No,
4 ····Only,4 ····Only,
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>Whether·ignored·test·should·be·run·or·not</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>Whether·ignored·test·should·be·run·or·not</p>
6 </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>6 </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></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#174">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:·&amp;Self)</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-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-Debug-for-RunIgnored"·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="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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">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-PartialEq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-PartialEq-for-RunIgnored"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">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.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,7 </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#174">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:·&amp;Self)</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-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-Debug-for-RunIgnored"·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="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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">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-PartialEq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">source</a><a·href="#impl-PartialEq-for-RunIgnored"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#42">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.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>)·-&gt;·<a·class="primitive"·href="../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
8 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#138">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">where8 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#138">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
9 ····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#139">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#209">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">where9 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where10 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
12 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
47.3 KB
./usr/share/doc/rust-doc/html/test/enum.ShouldPanic.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·test·is·expected·to·panic·or·not"><title>ShouldPanic·in·test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Should<wbr>Panic</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No"·title="No">No</a></li><li><a·href="#variant.Yes"·title="Yes">Yes</a></li><li><a·href="#variant.YesWithMessage"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-ShouldPanic"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-ShouldPanic"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-ShouldPanic"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-ShouldPanic"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-ShouldPanic"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-ShouldPanic"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ShouldPanic"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ShouldPanic"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-ShouldPanic"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-ShouldPanic"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ShouldPanic"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">ShouldPanic</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/options.rs.html#12-16">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·ShouldPanic·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Should<wbr>Panic</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No"·title="No">No</a></li><li><a·href="#variant.Yes"·title="Yes">Yes</a></li><li><a·href="#variant.YesWithMessage"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-ShouldPanic"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-ShouldPanic"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-ShouldPanic"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-ShouldPanic"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-ShouldPanic"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-ShouldPanic"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ShouldPanic"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ShouldPanic"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-ShouldPanic"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-ShouldPanic"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ShouldPanic"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">ShouldPanic</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/options.rs.html#12-16">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·ShouldPanic·{
2 ····No,2 ····No,
3 ····Yes,3 ····Yes,
4 ····YesWithMessage(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>),4 ····YesWithMessage(&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</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>Whether·test·is·expected·to·panic·or·not</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>Whether·test·is·expected·to·panic·or·not</p>
6 </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.83.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:·5110,·SHA:·c2dc158df2f41bbab2482d120c4fe4cc7f9b77d775d37ac7ee4c57d54239c089·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where6 </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:·5020,·SHA:·e2dbac5a412017191cf81b3286de20e2c422ecef2ca91ca0faf0c847e3babd84·...·]/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-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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,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-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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
9 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#138">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 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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.9 KB
./usr/share/doc/rust-doc/html/test/enum.TestFn.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·`TestFn`·enum·in·crate·`test`."><title>TestFn·in·test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">TestFn</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.DynBenchAsTestFn"·title="DynBenchAsTestFn">DynBenchAsTestFn</a></li><li><a·href="#variant.DynBenchFn"·title="DynBenchFn">DynBenchFn</a></li><li><a·href="#variant.DynTestFn"·title="DynTestFn">DynTestFn</a></li><li><a·href="#variant.StaticBenchAsTestFn"·title="StaticBenchAsTestFn">StaticBenchAsTestFn</a></li><li><a·href="#variant.StaticBenchFn"·title="StaticBenchFn">StaticBenchFn</a></li><li><a·href="#variant.StaticTestFn"·title="StaticTestFn">StaticTestFn</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padding"·title="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"·title="Debug">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"·title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestFn"·title="!Sync">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestFn"·title="!UnwindSafe">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestFn"·title="Freeze">Freeze</a></li><li><a·href="#impl-Send-for-TestFn"·title="Send">Send</a></li><li><a·href="#impl-Unpin-for-TestFn"·title="Unpin">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">TestFn</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#84-91">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·TestFn·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">TestFn</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.DynBenchAsTestFn"·title="DynBenchAsTestFn">DynBenchAsTestFn</a></li><li><a·href="#variant.DynBenchFn"·title="DynBenchFn">DynBenchFn</a></li><li><a·href="#variant.DynTestFn"·title="DynTestFn">DynTestFn</a></li><li><a·href="#variant.StaticBenchAsTestFn"·title="StaticBenchAsTestFn">StaticBenchAsTestFn</a></li><li><a·href="#variant.StaticBenchFn"·title="StaticBenchFn">StaticBenchFn</a></li><li><a·href="#variant.StaticTestFn"·title="StaticTestFn">StaticTestFn</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padding"·title="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"·title="Debug">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"·title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestFn"·title="!Sync">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestFn"·title="!UnwindSafe">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestFn"·title="Freeze">Freeze</a></li><li><a·href="#impl-Send-for-TestFn"·title="Send">Send</a></li><li><a·href="#impl-Unpin-for-TestFn"·title="Unpin">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">TestFn</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#84-91">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·TestFn·{
2 ····StaticTestFn(<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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.83.0/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),2 ····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 ····StaticBenchFn(<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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:·b348fdc9567b9d13bedec26327f4213975da0de1d933b28c5c3b23540c76dff8·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),3 ····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 ····StaticBenchAsTestFn(<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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:·b348fdc9567b9d13bedec26327f4213975da0de1d933b28c5c3b23540c76dff8·...·]/std/primitive.unit.html">()</a>,·<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>&gt;),4 ····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 ····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.83.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;),5 ····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 ····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.83.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;),6 ····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 ····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.83.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 ····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 }</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.83.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.83.0/std/primitive.unit.htm[·...·truncated·by·diffoscope;·len:·4634,·SHA:·cccd92a5f525daf66657a6b1a564806501ad9f3c14f05fc7814ae5bd7c747853·...·]/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#93-115">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#94-103">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#117-128">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#118-127">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#138">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">where8 }</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#93-115">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#94-103">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#117-128">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#118-127">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#138">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
9 ····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#139">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#209">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">where9 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where10 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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 ····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#218">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 </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">where12 </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
13 ····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 ····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 <p>That·is,·this·conversion·is·whatever·the·implementation·of14 <p>That·is,·this·conversion·is·whatever·the·implementation·of
15 <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 <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 </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 </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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
56.4 KB
./usr/share/doc/rust-doc/html/test/enum.TestName.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="API·documentation·for·the·Rust·`TestName`·enum·in·crate·`test`."><title>TestName·in·test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Name</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlignedTestName"·title="AlignedTestName">AlignedTestName</a></li><li><a·href="#variant.DynTestName"·title="DynTestName">DynTestName</a></li><li><a·href="#variant.StaticTestName"·title="StaticTestName">StaticTestName</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_slice"·title="as_slice">as_slice</a></li><li><a·href="#method.padding"·title="padding">padding</a></li><li><a·href="#method.with_padding"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestName"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-TestName"·title="Display">Display</a></li><li><a·href="#impl-Eq-for-TestName"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-TestName"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-TestName"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestName"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestName"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestName"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestName"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestName"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestName"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">TestName</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#41-45">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·TestName·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Name</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlignedTestName"·title="AlignedTestName">AlignedTestName</a></li><li><a·href="#variant.DynTestName"·title="DynTestName">DynTestName</a></li><li><a·href="#variant.StaticTestName"·title="StaticTestName">StaticTestName</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_slice"·title="as_slice">as_slice</a></li><li><a·href="#method.padding"·title="padding">padding</a></li><li><a·href="#method.with_padding"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestName"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-TestName"·title="Display">Display</a></li><li><a·href="#impl-Eq-for-TestName"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-TestName"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-TestName"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestName"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestName"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestName"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestName"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestName"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestName"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">TestName</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#41-45">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·TestName·{
2 ····StaticTestName(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>),2 ····StaticTestName(&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>),
3 ····DynTestName(<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),3 ····DynTestName(<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),
4 ····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.83.0/std/primitive.str.html">str</a>&gt;,·<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>),4 ····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 }</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.83.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:·9507,·SHA:·8adbaade11d1f8dc9ad78eecf9d48596dd142f0b5d8078ec0ed0b310ad3e9a26·...·]/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.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:·9357,·SHA:·f096ace158eaaecfb42600887476e4f17d64874491f2226f7af948ee7b81d561·...·]/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-TestName"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#40">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#40">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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,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-TestName"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#40">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#40">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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
8 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#40">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#40">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#138">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">where8 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#40">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#40">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#138">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
9 ····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#139">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#209">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">where9 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where10 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
12 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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#2672">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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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#2672">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
19 ····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#2678">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">where19 ····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#2678">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
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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.0 KB
./usr/share/doc/rust-doc/html/test/enum.TestType.html
    
Offset 6, 23 lines modifiedOffset 6, 23 lines modified
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>Type·of·the·test·according·to·the·<a·href="https://doc.rust-lang.org/cargo/guide/tests.html">Rust·book</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>Type·of·the·test·according·to·the·<a·href="https://doc.rust-lang.org/cargo/guide/tests.html">Rust·book</a>
7 conventions.</p>7 conventions.</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.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>8 </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><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>9 </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.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>10 </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.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·convention11 </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
12 (e.g.·tests·in·raw·<code>main.rs</code>·compiled·by·calling·<code>rustc·--test</code>·directly).</p>12 (e.g.·tests·in·raw·<code>main.rs</code>·compiled·by·calling·<code>rustc·--test</code>·directly).</p>
13 </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#17">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#17">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#174">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:·&amp;Self)</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-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#17">source</a><a·href="#impl-Debug-for-TestType"·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="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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#17">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-Hash-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#17">source</a><a·href="#impl-Hash-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/hash/trait.Hash.html"·title="trait·core::hash::Hash">Hash</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.hash"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#17">source</a><a·href="#method.hash"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/hash/trait.Hash.html#tymethod.hash"·class="fn">hash</a>&lt;__H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>&gt;(&amp;self,·state:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&amp;mut·__H</a>)</h4></section></summary><div·class='docblock'>Feeds·this·value·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>[·...·truncated·by·diffoscope;·len:·622,·SHA:·6a6b241ea513eb03bb3415d3420e816d7876fa9a418ae9f0bd1af63819753f66·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where13 </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#17">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#17">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#174">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:·&amp;Self)</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-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#17">source</a><a·href="#impl-Debug-for-TestType"·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="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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#17">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-Hash-for-TestType"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#17">source</a><a·href="#impl-Hash-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../core/hash/trait.Hash.html"·title="trait·core::hash::Hash">Hash</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.hash"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/types.rs.html#17">source</a><a·href="#method.hash"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../core/hash/trait.Hash.html#tymethod.hash"·class="fn">hash</a>&lt;__H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>&gt;(&amp;self,·state:·<a·class="primitive"·href="../std/primitive.reference.html">&amp;mut·__H</a>)</h4></section></summary><div·class='docblock'>Feeds·this·value·into·the·given·<a·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../core/hash/trait.[·...·truncated·by·diffoscope;·len:·562,·SHA:·14fc776829f9da0108dcb1039f5d17263964d8c5e8ed687f0810b9944d3a25e9·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
14 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,14 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
15 ····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#17">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#17">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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,15 ····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#17">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#17">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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
16 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#17">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#17">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#17">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#138">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">where16 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#17">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#17">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#17">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#138">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
17 ····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#139">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#209">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">where17 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where18 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
8.29 KB
./usr/share/doc/rust-doc/html/test/fn.assert_test_result.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="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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Function·<span·class="fn">assert_test_result</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/lib.rs.html#223-233">source</a>·</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.83.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:·cdd25b0ce083bd053991915b351e3a7d4fc5592874813c2fb2a871d7483d1419·...·]/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·is1 <!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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Function·<span·class="fn">assert_test_result</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/lib.rs.html#223-233">source</a>·</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·is
2 considered·a·failure.·By·default,·invokes·<code>report()</code>·and·checks·for·a·<code>0</code>2 considered·a·failure.·By·default,·invokes·<code>report()</code>·and·checks·for·a·<code>0</code>
3 result.</p>3 result.</p>
4 </div></details></section></div></main></body></html>4 </div></details></section></div></main></body></html>
5.21 KB
./usr/share/doc/rust-doc/html/test/fn.run_test.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="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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Function·<span·class="fn">run_test</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/lib.rs.html#529-616">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·run_test(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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Function·<span·class="fn">run_test</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/lib.rs.html#529-616">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·run_test(
2 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,2 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,
3 ····force_ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,3 ····force_ignore:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
4 ····id:·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>,4 ····id:·<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>,
5 ····test:·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>,5 ····test:·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>,
6 ····strategy:·<a·class="enum"·href="test/enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a>,6 ····strategy:·<a·class="enum"·href="test/enum.RunStrategy.html"·title="enum·test::test::RunStrategy">RunStrategy</a>,
7 ····monitor_ch:·<a·class="struct"·href="https://doc.rust-lang.org/1.83.0/std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a>&lt;CompletedTest&gt;,7 ····monitor_ch:·<a·class="struct"·href="../std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a>&lt;CompletedTest&gt;,
8 )·-&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.83.0/std/thread/struct.JoinHandle.html"·title="struct·std::thread::JoinHandle">JoinHandle</a>&lt;<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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>8 )·-&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>
5.11 KB
./usr/share/doc/rust-doc/html/test/fn.run_tests.html
    
Offset 1, 6 lines modifiedOffset 1, 6 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Function·<span·class="fn">run_tests</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/lib.rs.html#257-471">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·run_tests&lt;F&gt;(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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Function·<span·class="fn">run_tests</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/lib.rs.html#257-471">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·run_tests&lt;F&gt;(
2 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,2 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,
3 ····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;,3 ····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 ····notify_about_test_event:·F,4 ····notify_about_test_event:·F,
5 )·-&gt;·<a·class="type"·href="https://doc.rust-lang.org/1.83.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.83.0/std/primitive.unit.html">()</a>&gt;<div·class="where">where5 )·-&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">where
6 ····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.83.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.83.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>6 ····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>
4.78 KB
./usr/share/doc/rust-doc/html/test/fn.run_tests_console.html
    
Offset 1, 6 lines modifiedOffset 1, 6 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Function·<span·class="fn">run_tests_console</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/console.rs.html#286-328">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·run_tests_console(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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Function·<span·class="fn">run_tests_console</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/console.rs.html#286-328">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·run_tests_console(
2 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,2 ····opts:·&amp;<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>,
3 ····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;,3 ····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 )·-&gt;·<a·class="type"·href="https://doc.rust-lang.org/1.83.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.83.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.4 )·-&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 Runs·provided·tests·reporting·process·and·results·to·the·stdout.</p>5 Runs·provided·tests·reporting·process·and·results·to·the·stdout.</p>
6 </div></details></section></div></main></body></html>6 </div></details></section></div></main></body></html>
8.69 KB
./usr/share/doc/rust-doc/html/test/stats/fn.winsorize.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="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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>stats</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a></span><h1>Function·<span·class="fn">winsorize</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/stats.rs.html#289-302">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·fn·winsorize(samples:·&amp;mut·[<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>],·pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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>·percentile1 <!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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>stats</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a></span><h1>Function·<span·class="fn">winsorize</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/stats.rs.html#289-302">source</a>·</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>·percentile
2 and·below·the·<code>pct</code>·percentile·with·those·percentiles·themselves.·This·is·a2 and·below·the·<code>pct</code>·percentile·with·those·percentiles·themselves.·This·is·a
3 way·of·minimizing·the·effect·of·outliers,·at·the·cost·of·biasing·the·sample.3 way·of·minimizing·the·effect·of·outliers,·at·the·cost·of·biasing·the·sample.
4 It·differs·from·trimming·in·that·it·does·not·change·the·number·of·samples,4 It·differs·from·trimming·in·that·it·does·not·change·the·number·of·samples,
5 just·changes·the·values·of·those·that·are·outliers.</p>5 just·changes·the·values·of·those·that·are·outliers.</p>
6 <p>See:·<a·href="https://en.wikipedia.org/wiki/Winsorising">https://en.wikipedia.org/wiki/Winsorising</a></p>6 <p>See:·<a·href="https://en.wikipedia.org/wiki/Winsorising">https://en.wikipedia.org/wiki/Winsorising</a></p>
7 </div></details></section></div></main></body></html>7 </div></details></section></div></main></body></html>
55.5 KB
./usr/share/doc/rust-doc/html/test/stats/struct.Summary.html
    
Offset 1, 29 lines modifiedOffset 1, 29 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Summary</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.iqr"·title="iqr">iqr</a></li><li><a·href="#structfield.max"·title="max">max</a></li><li><a·href="#structfield.mean"·title="mean">mean</a></li><li><a·href="#structfield.median"·title="median">median</a></li><li><a·href="#structfield.median_abs_dev"·title="median_abs_dev">median_abs_dev</a></li><li><a·href="#structfield.median_abs_dev_pct"·title="median_abs_dev_pct">median_abs_dev_pct</a></li><li><a·href="#structfield.min"·title="min">min</a></li><li><a·href="#structfield.quartiles"·title="quartiles">quartiles</a></li><li><a·href="#structfield.std_dev"·title="std_dev">std_dev</a></li><li><a·href="#structfield.std_dev_pct"·title="std_dev_pct">std_dev_pct</a></li><li><a·href="#structfield.sum"·title="sum">sum</a></li><li><a·href="#structfield.var"·title="var">var</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-Summary"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-Summary"·title="Debug">Debug</a></li><li><a·href="#impl-PartialEq-for-Summary"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-Summary"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Summary"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Summary"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Summary"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Summary"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Summary"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>stats</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a></span><h1>Struct·<span·class="struct">Summary</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/stats.rs.html#103-116">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·Summary·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Summary</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.iqr"·title="iqr">iqr</a></li><li><a·href="#structfield.max"·title="max">max</a></li><li><a·href="#structfield.mean"·title="mean">mean</a></li><li><a·href="#structfield.median"·title="median">median</a></li><li><a·href="#structfield.median_abs_dev"·title="median_abs_dev">median_abs_dev</a></li><li><a·href="#structfield.median_abs_dev_pct"·title="median_abs_dev_pct">median_abs_dev_pct</a></li><li><a·href="#structfield.min"·title="min">min</a></li><li><a·href="#structfield.quartiles"·title="quartiles">quartiles</a></li><li><a·href="#structfield.std_dev"·title="std_dev">std_dev</a></li><li><a·href="#structfield.std_dev_pct"·title="std_dev_pct">std_dev_pct</a></li><li><a·href="#structfield.sum"·title="sum">sum</a></li><li><a·href="#structfield.var"·title="var">var</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-Summary"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-Summary"·title="Debug">Debug</a></li><li><a·href="#impl-PartialEq-for-Summary"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-Summary"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Summary"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Summary"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Summary"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Summary"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Summary"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>stats</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a></span><h1>Struct·<span·class="struct">Summary</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/stats.rs.html#103-116">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·Summary·{
2 ····pub·sum:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,2 ····pub·sum:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
3 ····pub·min:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,3 ····pub·min:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
4 ····pub·max:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,4 ····pub·max:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
5 ····pub·mean:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,5 ····pub·mean:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
6 ····pub·median:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,6 ····pub·median:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
7 ····pub·var:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,7 ····pub·var:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
8 ····pub·std_dev:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,8 ····pub·std_dev:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
9 ····pub·std_dev_pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,9 ····pub·std_dev_pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
10 ····pub·median_abs_dev:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,10 ····pub·median_abs_dev:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
11 ····pub·median_abs_dev_pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,11 ····pub·median_abs_dev_pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
12 ····pub·quartiles:·(<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>),12 ····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·iqr:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,13 ····pub·iqr:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>,
14 }</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>14 }</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 </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.83.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:·ad8caae85608f3f238c73bfad7c2f5b744e74813ba315e5004228cfb45d12bd2·...·]/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>Constructs·a·new·summary·of·a·sample·set.</p>15 </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>Constructs·a·new·summary·of·a·sample·set.</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-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#174">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:·&amp;Self)</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-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-Debug-for-Summary"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">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-PartialEq-for-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-PartialEq-for-Summary"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">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.Summary.html"·title="struct·test::stats::Summary">Summary</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,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-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#174">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:·&amp;Self)</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-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-Debug-for-Summary"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">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-PartialEq-for-Summary"·class="impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">source</a><a·href="#impl-PartialEq-for-Summary"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/stats.rs.html#101">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.Summary.html"·title="struct·test::stats::Summary">Summary</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
17 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#138">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 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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.0 KB
./usr/share/doc/rust-doc/html/test/stats/trait.Stats.html
    
Offset 1, 62 lines modifiedOffset 1, 62 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Stats</a></h2><h3><a·href="#required-methods">Required·Methods</a></h3><ul·class="block"><li><a·href="#tymethod.iqr"·title="iqr">iqr</a></li><li><a·href="#tymethod.max"·title="max">max</a></li><li><a·href="#tymethod.mean"·title="mean">mean</a></li><li><a·href="#tymethod.median"·title="median">median</a></li><li><a·href="#tymethod.median_abs_dev"·title="median_abs_dev">median_abs_dev</a></li><li><a·href="#tymethod.median_abs_dev_pct"·title="median_abs_dev_pct">median_abs_dev_pct</a></li><li><a·href="#tymethod.min"·title="min">min</a></li><li><a·href="#tymethod.percentile"·title="percentile">percentile</a></li><li><a·href="#tymethod.quartiles"·title="quartiles">quartiles</a></li><li><a·href="#tymethod.std_dev"·title="std_dev">std_dev</a></li><li><a·href="#tymethod.std_dev_pct"·title="std_dev_pct">std_dev_pct</a></li><li><a·href="#tymethod.sum"·title="sum">sum</a></li><li><a·href="#tymethod.var"·title="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"·title="[f64]">[f64]</a></li></ul><h3><a·href="#implementors">Implementors</a></h3></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>stats</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a></span><h1>Trait·<span·class="trait">Stats</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/stats.rs.html#13-98">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·trait·Stats·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Stats</a></h2><h3><a·href="#required-methods">Required·Methods</a></h3><ul·class="block"><li><a·href="#tymethod.iqr"·title="iqr">iqr</a></li><li><a·href="#tymethod.max"·title="max">max</a></li><li><a·href="#tymethod.mean"·title="mean">mean</a></li><li><a·href="#tymethod.median"·title="median">median</a></li><li><a·href="#tymethod.median_abs_dev"·title="median_abs_dev">median_abs_dev</a></li><li><a·href="#tymethod.median_abs_dev_pct"·title="median_abs_dev_pct">median_abs_dev_pct</a></li><li><a·href="#tymethod.min"·title="min">min</a></li><li><a·href="#tymethod.percentile"·title="percentile">percentile</a></li><li><a·href="#tymethod.quartiles"·title="quartiles">quartiles</a></li><li><a·href="#tymethod.std_dev"·title="std_dev">std_dev</a></li><li><a·href="#tymethod.std_dev_pct"·title="std_dev_pct">std_dev_pct</a></li><li><a·href="#tymethod.sum"·title="sum">sum</a></li><li><a·href="#tymethod.var"·title="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"·title="[f64]">[f64]</a></li></ul><h3><a·href="#implementors">Implementors</a></h3></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>stats</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">stats</a></span><h1>Trait·<span·class="trait">Stats</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/stats.rs.html#13-98">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·trait·Stats·{
2 <details·class="toggle·type-contents-toggle"><summary·class="hideme"><span>Show·13·methods</span></summary>····//·Required·methods2 <details·class="toggle·type-contents-toggle"><summary·class="hideme"><span>Show·13·methods</span></summary>····//·Required·methods
3 ····fn·<a·href="#tymethod.sum"·class="fn">sum</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;3 ····fn·<a·href="#tymethod.sum"·class="fn">sum</a>(&amp;self)·-&gt;·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>;
4 <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.83.0/std/primitive.f64.html">f64</a>;4 <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.max"·class="fn">max</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;5 <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.mean"·class="fn">mean</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;6 <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.median"·class="fn">median</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;7 <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.var"·class="fn">var</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;8 <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.std_dev"·class="fn">std_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;9 <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_pct"·class="fn">std_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;10 <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.median_abs_dev"·class="fn">median_abs_dev</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;11 <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_pct"·class="fn">median_abs_dev_pct</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;12 <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.percentile"·class="fn">percentile</a>(&amp;self,·pct:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;13 <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.quartiles"·class="fn">quartiles</a>(&amp;self)·-&gt;·(<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>);14 <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.iqr"·class="fn">iqr</a>(&amp;self)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>;15 <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 </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>16 </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 </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.83.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>17 </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 <p>Note:·this·method·sacrifices·performance·at·the·altar·of·accuracy18 <p>Note:·this·method·sacrifices·performance·at·the·altar·of·accuracy
19 Depends·on·IEEE·754·arithmetic·guarantees.·See·proof·of·correctness·at:19 Depends·on·IEEE·754·arithmetic·guarantees.·See·proof·of·correctness·at:
20 <a·href="https://www.cs.cmu.edu/~quake-papers/robust-arithmetic.ps">“Adaptive·Precision·Floating-Point·Arithmetic·and·Fast·Robust·Geometric20 <a·href="https://www.cs.cmu.edu/~quake-papers/robust-arithmetic.ps">“Adaptive·Precision·Floating-Point·Arithmetic·and·Fast·Robust·Geometric
21 Predicates”</a></p>21 Predicates”</a></p>
22 </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.83.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>22 </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.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.83.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>23 </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.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.83.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>24 </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 <p>See:·<a·href="https://en.wikipedia.org/wiki/Arithmetic_mean">https://en.wikipedia.org/wiki/Arithmetic_mean</a></p>25 <p>See:·<a·href="https://en.wikipedia.org/wiki/Arithmetic_mean">https://en.wikipedia.org/wiki/Arithmetic_mean</a></p>
26 </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.83.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.26 </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 Equal·to·<code>self.percentile(50.0)</code>.</p>27 Equal·to·<code>self.percentile(50.0)</code>.</p>
28 <p>See:·<a·href="https://en.wikipedia.org/wiki/Median">https://en.wikipedia.org/wiki/Median</a></p>28 <p>See:·<a·href="https://en.wikipedia.org/wiki/Median">https://en.wikipedia.org/wiki/Median</a></p>
29 </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.83.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·each29 </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·each
30 sample·from·the·sample·mean.·Note·that·this·calculates·the·<em>sample·variance</em>·rather·than·the30 sample·from·the·sample·mean.·Note·that·this·calculates·the·<em>sample·variance</em>·rather·than·the
31 population·variance,·which·is·assumed·to·be·unknown.·It·therefore·corrects·the·<code>(n-1)/n</code>31 population·variance,·which·is·assumed·to·be·unknown.·It·therefore·corrects·the·<code>(n-1)/n</code>
32 bias·that·would·appear·if·we·calculated·a·population·variance,·by·dividing·by·<code>(n-1)</code>·rather32 bias·that·would·appear·if·we·calculated·a·population·variance,·by·dividing·by·<code>(n-1)</code>·rather
33 than·<code>n</code>.</p>33 than·<code>n</code>.</p>
34 <p>See:·<a·href="https://en.wikipedia.org/wiki/Variance">https://en.wikipedia.org/wiki/Variance</a></p>34 <p>See:·<a·href="https://en.wikipedia.org/wiki/Variance">https://en.wikipedia.org/wiki/Variance</a></p>
35 </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.83.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>35 </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 <p>Note:·this·is·not·a·robust·statistic·for·non-normal·distributions.·Prefer·the36 <p>Note:·this·is·not·a·robust·statistic·for·non-normal·distributions.·Prefer·the
37 <code>median_abs_dev</code>·for·unknown·distributions.</p>37 <code>median_abs_dev</code>·for·unknown·distributions.</p>
38 <p>See:·<a·href="https://en.wikipedia.org/wiki/Standard_deviation">https://en.wikipedia.org/wiki/Standard_deviation</a></p>38 <p>See:·<a·href="https://en.wikipedia.org/wiki/Standard_deviation">https://en.wikipedia.org/wiki/Standard_deviation</a></p>
39 </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.83.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>39 </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 <p>Note:·this·is·not·a·robust·statistic·for·non-normal·distributions.·Prefer·the40 <p>Note:·this·is·not·a·robust·statistic·for·non-normal·distributions.·Prefer·the
41 <code>median_abs_dev_pct</code>·for·unknown·distributions.</p>41 <code>median_abs_dev_pct</code>·for·unknown·distributions.</p>
42 </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.83.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·a42 </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·a
43 robust·(distribution-agnostic)·estimator·of·sample·variability.·Use·this·in·preference·to43 robust·(distribution-agnostic)·estimator·of·sample·variability.·Use·this·in·preference·to
44 <code>std_dev</code>·if·you·cannot·assume·your·sample·is·normally·distributed.·Note·that·this·is·scaled44 <code>std_dev</code>·if·you·cannot·assume·your·sample·is·normally·distributed.·Note·that·this·is·scaled
45 by·the·constant·<code>1.4826</code>·to·allow·its·use·as·a·consistent·estimator·for·the·standard45 by·the·constant·<code>1.4826</code>·to·allow·its·use·as·a·consistent·estimator·for·the·standard
46 deviation.</p>46 deviation.</p>
47 <p>See:·<a·href="https://en.wikipedia.org/wiki/Median_absolute_deviation">https://en.wikipedia.org/wiki/Median_absolute_deviation</a></p>47 <p>See:·<a·href="https://en.wikipedia.org/wiki/Median_absolute_deviation">https://en.wikipedia.org/wiki/Median_absolute_deviation</a></p>
48 </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.83.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>48 </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.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.83.0/std/primitive.f64.html">f64</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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,49 </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 percentile(95.0)·will·return·the·value·<code>v</code>·such·that·95%·of·the·samples·<code>s</code>·in·<code>self</code>50 percentile(95.0)·will·return·the·value·<code>v</code>·such·that·95%·of·the·samples·<code>s</code>·in·<code>self</code>
51 satisfy·<code>s·&lt;=·v</code>.</p>51 satisfy·<code>s·&lt;=·v</code>.</p>
52 <p>Calculated·by·linear·interpolation·between·closest·ranks.</p>52 <p>Calculated·by·linear·interpolation·between·closest·ranks.</p>
53 <p>See:·<a·href="https://en.wikipedia.org/wiki/Percentile">https://en.wikipedia.org/wiki/Percentile</a></p>53 <p>See:·<a·href="https://en.wikipedia.org/wiki/Percentile">https://en.wikipedia.org/wiki/Percentile</a></p>
54 </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.83.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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,·each54 </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,·each
55 with·1/4·of·the·data.·The·middle·value·is·the·median.·See·<code>median</code>·and·<code>percentile</code>.·This55 with·1/4·of·the·data.·The·middle·value·is·the·median.·See·<code>median</code>·and·<code>percentile</code>.·This
56 function·may·calculate·the·3·quartiles·more·efficiently·than·3·calls·to·<code>percentile</code>,·but56 function·may·calculate·the·3·quartiles·more·efficiently·than·3·calls·to·<code>percentile</code>,·but
57 is·otherwise·equivalent.</p>57 is·otherwise·equivalent.</p>
58 <p>See·also:·<a·href="https://en.wikipedia.org/wiki/Quartile">https://en.wikipedia.org/wiki/Quartile</a></p>58 <p>See·also:·<a·href="https://en.wikipedia.org/wiki/Quartile">https://en.wikipedia.org/wiki/Quartile</a></p>
59 </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.83.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·75th59 </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·75th
60 percentile·(3rd·quartile).·See·<code>quartiles</code>.</p>60 percentile·(3rd·quartile).·See·<code>quartiles</code>.</p>
61 <p>See·also:·<a·href="https://en.wikipedia.org/wiki/Interquartile_range">https://en.wikipedia.org/wiki/Interquartile_range</a></p>61 <p>See·also:·<a·href="https://en.wikipedia.org/wiki/Interquartile_range">https://en.wikipedia.org/wiki/Interquartile_range</a></p>
62 </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.83.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:·1c748b3aa8316bcbdbf15f19497f71fd595ab4ae10e604c7f65af9b492eca9da·...·]/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>62 </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>
45.1 KB
./usr/share/doc/rust-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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Options</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.display_output"·title="display_output">display_output</a></li><li><a·href="#structfield.panic_abort"·title="panic_abort">panic_abort</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.display_output"·title="display_output">display_output</a></li><li><a·href="#method.new"·title="new">new</a></li><li><a·href="#method.panic_abort"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-Options"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-Options"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Options"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Options"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Options"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Options"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Options"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">Options</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/options.rs.html#65-68">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·Options·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Options</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.display_output"·title="display_output">display_output</a></li><li><a·href="#structfield.panic_abort"·title="panic_abort">panic_abort</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.display_output"·title="display_output">display_output</a></li><li><a·href="#method.new"·title="new">new</a></li><li><a·href="#method.panic_abort"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-Options"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-Options"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Options"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Options"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Options"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Options"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Options"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">Options</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/options.rs.html#65-68">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·Options·{
2 ····pub·display_output:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,2 ····pub·display_output:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
3 ····pub·panic_abort:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,3 ····pub·panic_abort:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
4 }</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).4 }</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 In·case·we·want·to·add·other·options·as·well,·just·add·them·in·this·struct.</p>5 In·case·we·want·to·add·other·options·as·well,·just·add·them·in·this·struct.</p>
6 </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.83.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:·2331,·SHA:·a8470df53c5b9602d19578a295881486138313ac38c57a0c9ac2921234909cc1·...·]/std/primitive.bool.html">bool</a>)·-&gt;·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</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-Options"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">source</a><a·href="#impl-Clone-for-Options"·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.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.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">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.Options.html"·title="struct·test::test::Options">Options</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#174">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:·&amp;Self)</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#138">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 </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:·2211,·SHA:·af3b1efb9dc90f8e643ada2069c19dd1e8d285d01d700e2ec749165913802202·...·]/std/primitive.bool.html">bool</a>)·-&gt;·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</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-Options"·class="impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">source</a><a·href="#impl-Clone-for-Options"·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.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.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../src/test/options.rs.html#64">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.Options.html"·title="struct·test::test::Options">Options</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#174">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:·&amp;Self)</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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
10 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.6 KB
./usr/share/doc/rust-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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Desc</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.compile_fail"·title="compile_fail">compile_fail</a></li><li><a·href="#structfield.end_col"·title="end_col">end_col</a></li><li><a·href="#structfield.end_line"·title="end_line">end_line</a></li><li><a·href="#structfield.ignore"·title="ignore">ignore</a></li><li><a·href="#structfield.ignore_message"·title="ignore_message">ignore_message</a></li><li><a·href="#structfield.name"·title="name">name</a></li><li><a·href="#structfield.no_run"·title="no_run">no_run</a></li><li><a·href="#structfield.should_panic"·title="should_panic">should_panic</a></li><li><a·href="#structfield.source_file"·title="source_file">source_file</a></li><li><a·href="#structfield.start_col"·title="start_col">start_col</a></li><li><a·href="#structfield.start_line"·title="start_line">start_line</a></li><li><a·href="#structfield.test_type"·title="test_type">test_type</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padded_name"·title="padded_name">padded_name</a></li><li><a·href="#method.test_mode"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestDesc"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestDesc"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestDesc"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestDesc"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestDesc"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestDesc"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestDesc</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#197-210">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestDesc·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Desc</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.compile_fail"·title="compile_fail">compile_fail</a></li><li><a·href="#structfield.end_col"·title="end_col">end_col</a></li><li><a·href="#structfield.end_line"·title="end_line">end_line</a></li><li><a·href="#structfield.ignore"·title="ignore">ignore</a></li><li><a·href="#structfield.ignore_message"·title="ignore_message">ignore_message</a></li><li><a·href="#structfield.name"·title="name">name</a></li><li><a·href="#structfield.no_run"·title="no_run">no_run</a></li><li><a·href="#structfield.should_panic"·title="should_panic">should_panic</a></li><li><a·href="#structfield.source_file"·title="source_file">source_file</a></li><li><a·href="#structfield.start_col"·title="start_col">start_col</a></li><li><a·href="#structfield.start_line"·title="start_line">start_line</a></li><li><a·href="#structfield.test_type"·title="test_type">test_type</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padded_name"·title="padded_name">padded_name</a></li><li><a·href="#method.test_mode"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestDesc"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestDesc"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestDesc"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestDesc"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestDesc"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestDesc"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestDesc</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#197-210">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestDesc·{
2 ····pub·name:·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a>,2 ····pub·name:·<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a>,
3 ····pub·ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,3 ····pub·ignore:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
4 ····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.83.0/std/primitive.str.html">str</a>&gt;,4 ····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·source_file:·&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>,5 ····pub·source_file:·&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>,
6 ····pub·start_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,6 ····pub·start_line:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,
7 ····pub·start_col:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,7 ····pub·start_col:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,
8 ····pub·end_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,8 ····pub·end_line:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,
9 ····pub·end_col:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,9 ····pub·end_col:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,
10 ····pub·should_panic:·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>,10 ····pub·should_panic:·<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>,
11 ····pub·compile_fail:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,11 ····pub·compile_fail:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
12 ····pub·no_run:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,12 ····pub·no_run:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
13 ····pub·test_type:·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a>,13 ····pub·test_type:·<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a>,
14 }</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.83.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:·4cca053a20696723942fd7f806043a22b15cd0f4021fc9be570da6c01a4946d6·...·]/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.14 }</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:·1f0758203b4896a9ea1e28d781f42b2a914176e98a51f104e4a621b7d26dac98·...·]/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 Descriptions·include·“should·panic”,·“compile·fail”·and·“compile”.</p>15 Descriptions·include·“should·panic”,·“compile·fail”·and·“compile”.</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-TestDesc"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#196">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#196">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#174">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:·&amp;Self)</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#196">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#196">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#138">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">where16 </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#196">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#196">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#174">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:·&amp;Self)</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#196">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#196">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#138">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
17 ····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#139">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#209">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">where17 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#211">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.83.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#217">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">where18 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.5 KB
./usr/share/doc/rust-doc/html/test/struct.TestDescAndFn.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·`TestDescAndFn`·struct·in·crate·`test`."><title>TestDescAndFn·in·test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Desc<wbr>AndFn</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.desc"·title="desc">desc</a></li><li><a·href="#structfield.testfn"·title="testfn">testfn</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new_doctest"·title="new_doctest">new_doctest</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestDescAndFn"·title="Debug">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"·title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestDescAndFn"·title="!Sync">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestDescAndFn"·title="!UnwindSafe">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestDescAndFn"·title="Freeze">Freeze</a></li><li><a·href="#impl-Send-for-TestDescAndFn"·title="Send">Send</a></li><li><a·href="#impl-Unpin-for-TestDescAndFn"·title="Unpin">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestDescAndFn</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#249-252">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestDescAndFn·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»       2024-11-26)»    (built»      from»  a» source»   tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Desc<wbr>AndFn</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.desc"·title="desc">desc</a></li><li><a·href="#structfield.testfn"·title="testfn">testfn</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new_doctest"·title="new_doctest">new_doctest</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestDescAndFn"·title="Debug">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"·title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestDescAndFn"·title="!Sync">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestDescAndFn"·title="!UnwindSafe">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestDescAndFn"·title="Freeze">Freeze</a></li><li><a·href="#impl-Send-for-TestDescAndFn"·title="Send">Send</a></li><li><a·href="#impl-Unpin-for-TestDescAndFn"·title="Unpin">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestDescAndFn</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#249-252">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestDescAndFn·{
2 ····pub·desc:·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,2 ····pub·desc:·<a·class="struct"·href="test/struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,
3 ····pub·testfn:·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,3 ····pub·testfn:·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,
4 }</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="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-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#254-286">source</a><a·href="#impl-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></summary><div·class="impl-items"><section·id="method.new_doctest"·class="method"><a·class="src·rightside"·href="../src/test/types.rs.html#255-285">source</a><h4·class="code-header">pub·const·fn·<a·href="#method.new_doctest"·class="fn">new_doctest</a>(4 }</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="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-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#254-286">source</a><a·href="#impl-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></summary><div·class="impl-items"><section·id="method.new_doctest"·class="method"><a·class="src·rightside"·href="../src/test/types.rs.html#255-285">source</a><h4·class="code-header">pub·const·fn·<a·href="#method.new_doctest"·class="fn">new_doctest</a>(
5 ····test_name:·&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>,5 ····test_name:·&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>,
6 ····ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,6 ····ignore:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
7 ····source_file:·&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>,7 ····source_file:·&amp;'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>,
8 ····start_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,8 ····start_line:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>,
9 ····no_run:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,9 ····no_run:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
10 ····should_panic:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,10 ····should_panic:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
11 ····testfn:·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,11 ····testfn:·<a·class="enum"·href="enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,
12 )·-&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></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-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#248">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#248">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#138">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 )·-&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></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-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../src/test/types.rs.html#248">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#248">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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 ····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#218">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 </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-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 </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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.6 KB
./usr/share/doc/rust-doc/html/test/struct.TestId.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="API·documentation·for·the·Rust·`TestId`·struct·in·crate·`test`."><title>TestId·in·test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">TestId</a></h2><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-TestId"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-TestId"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-TestId"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-TestId"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-TestId"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestId"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestId"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestId"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestId"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestId"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestId"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestId</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#192">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestId(pub·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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:·5530,·SHA:·5e5192178f206eb705d82b888ca97b8803710e5194b86784de2d49656ac25fa7·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where1 <!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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">TestId</a></h2><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-TestId"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-TestId"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-TestId"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-TestId"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-TestId"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestId"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestId"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestId"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestId"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestId"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestId"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestId</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/types.rs.html#192">source</a>·</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:·5410,·SHA:·8aa49668525f2c20bb534c13db7a261d7456ca6e7e8cb7454957105ae33333c6·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
2 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,2 ····H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
3 ····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#191">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#191">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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·569,·SHA:·70362623b4f9fc457ab7f5288c1c855d9b2cf890c2de39f6c2b66253e86e7a26·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,3 ····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#191">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#191">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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary><se[·...·truncated·by·diffoscope;·len:·479,·SHA:·bdb8b69ccf60dcbea065396e82f7f5261396b8dd8e1b5299716511fe3b27720d·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
4 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#191">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#191">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#191">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#138">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 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#191">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#191">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#191">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
8 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">where
15 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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">where15 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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
16 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>16 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.0 KB
./usr/share/doc/rust-doc/html/test/struct.TestOpts.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="API·documentation·for·the·Rust·`TestOpts`·struct·in·crate·`test`."><title>TestOpts·in·test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Opts</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bench_benchmarks"·title="bench_benchmarks">bench_benchmarks</a></li><li><a·href="#structfield.color"·title="color">color</a></li><li><a·href="#structfield.exclude_should_panic"·title="exclude_should_panic">exclude_should_panic</a></li><li><a·href="#structfield.fail_fast"·title="fail_fast">fail_fast</a></li><li><a·href="#structfield.filter_exact"·title="filter_exact">filter_exact</a></li><li><a·href="#structfield.filters"·title="filters">filters</a></li><li><a·href="#structfield.force_run_in_process"·title="force_run_in_process">force_run_in_process</a></li><li><a·href="#structfield.format"·title="format">format</a></li><li><a·href="#structfield.list"·title="list">list</a></li><li><a·href="#structfield.logfile"·title="logfile">logfile</a></li><li><a·href="#structfield.nocapture"·title="nocapture">nocapture</a></li><li><a·href="#structfield.options"·title="options">options</a></li><li><a·href="#structfield.run_ignored"·title="run_ignored">run_ignored</a></li><li><a·href="#structfield.run_tests"·title="run_tests">run_tests</a></li><li><a·href="#structfield.shuffle"·title="shuffle">shuffle</a></li><li><a·href="#structfield.shuffle_seed"·title="shuffle_seed">shuffle_seed</a></li><li><a·href="#structfield.skip"·title="skip">skip</a></li><li><a·href="#structfield.test_threads"·title="test_threads">test_threads</a></li><li><a·href="#structfield.time_options"·title="time_options">time_options</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.use_color"·title="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"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestOpts"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestOpts"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestOpts"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestOpts"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestOpts"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestOpts</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/cli.rs.html#11-34">source</a>·</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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../"·data-static-root-path="../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623» 2024-11-26)»      (built»from»    a»   source»     tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Opts</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bench_benchmarks"·title="bench_benchmarks">bench_benchmarks</a></li><li><a·href="#structfield.color"·title="color">color</a></li><li><a·href="#structfield.exclude_should_panic"·title="exclude_should_panic">exclude_should_panic</a></li><li><a·href="#structfield.fail_fast"·title="fail_fast">fail_fast</a></li><li><a·href="#structfield.filter_exact"·title="filter_exact">filter_exact</a></li><li><a·href="#structfield.filters"·title="filters">filters</a></li><li><a·href="#structfield.force_run_in_process"·title="force_run_in_process">force_run_in_process</a></li><li><a·href="#structfield.format"·title="format">format</a></li><li><a·href="#structfield.list"·title="list">list</a></li><li><a·href="#structfield.logfile"·title="logfile">logfile</a></li><li><a·href="#structfield.nocapture"·title="nocapture">nocapture</a></li><li><a·href="#structfield.options"·title="options">options</a></li><li><a·href="#structfield.run_ignored"·title="run_ignored">run_ignored</a></li><li><a·href="#structfield.run_tests"·title="run_tests">run_tests</a></li><li><a·href="#structfield.shuffle"·title="shuffle">shuffle</a></li><li><a·href="#structfield.shuffle_seed"·title="shuffle_seed">shuffle_seed</a></li><li><a·href="#structfield.skip"·title="skip">skip</a></li><li><a·href="#structfield.test_threads"·title="test_threads">test_threads</a></li><li><a·href="#structfield.time_options"·title="time_options">time_options</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.use_color"·title="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"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestOpts"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestOpts"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestOpts"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestOpts"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestOpts"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2·class="in-crate"><a·href="index.html">In·crate·test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestOpts</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../src/test/cli.rs.html#11-34">source</a>·</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 ····pub·list:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,2 ····pub·list:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
3 ····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;,3 ····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·filter_exact:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,4 ····pub·filter_exact:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
5 ····pub·force_run_in_process:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,5 ····pub·force_run_in_process:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
6 ····pub·exclude_should_panic:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,6 ····pub·exclude_should_panic:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
7 ····pub·run_ignored:·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>,7 ····pub·run_ignored:·<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>,
8 ····pub·run_tests:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,8 ····pub·run_tests:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
9 ····pub·bench_benchmarks:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,9 ····pub·bench_benchmarks:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
10 ····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.83.0/std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a>&gt;,10 ····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·nocapture:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,11 ····pub·nocapture:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
12 ····pub·color:·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a>,12 ····pub·color:·<a·class="enum"·href="enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a>,
13 ····pub·format:·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>,13 ····pub·format:·<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>,
14 ····pub·shuffle:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,14 ····pub·shuffle:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
15 ····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.83.0/std/primitive.u64.html">u64</a>&gt;,15 ····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·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.83.0/std/primitive.usize.html">usize</a>&gt;,16 ····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·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;,17 ····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·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;,18 ····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·fail_fast:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,19 ····pub·fail_fast:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>,
20 ····pub·options:·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a>,20 ····pub·options:·<a·class="struct"·href="test/struct.Options.html"·title="struct·test::test::Options">Options</a>,
21 </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.83.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:·366705790c1e8aadca7ebee6d2bfb07570a1d243a81517fa2e51ed18aaf07a47·...·]/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.21 </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 May·run·a·few·more·tests·due·to·threading,·but·will22 May·run·a·few·more·tests·due·to·threading,·but·will
23 abort·as·soon·as·possible.</p>23 abort·as·soon·as·possible.</p>
24 </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.83.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#138">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">where24 </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#138">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
25 ····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#139">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#209">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">where25 ····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#139">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#209">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
26 ····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#211">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.83.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#217">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">where26 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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.83.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>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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../src/core/borrow.rs.html#218">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 </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">where28 </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
29 ····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>29 ····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 <p>That·is,·this·conversion·is·whatever·the·implementation·of30 <p>That·is,·this·conversion·is·whatever·the·implementation·of
31 <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>31 <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 </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 </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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.5 KB
./usr/share/doc/rust-doc/html/test/test/enum.RunIgnored.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="Whether·ignored·test·should·be·run·or·not"><title>RunIgnored·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">RunIgnored</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No"·title="No">No</a></li><li><a·href="#variant.Only"·title="Only">Only</a></li><li><a·href="#variant.Yes"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-RunIgnored"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-RunIgnored"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-RunIgnored"·title="Eq">Eq</a></li><li><a·href="#impl-PartialEq-for-RunIgnored"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-RunIgnored"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-RunIgnored"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-RunIgnored"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-RunIgnored"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-RunIgnored"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-RunIgnored"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">RunIgnored</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/options.rs.html#43-48">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·RunIgnored·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">RunIgnored</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No"·title="No">No</a></li><li><a·href="#variant.Only"·title="Only">Only</a></li><li><a·href="#variant.Yes"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-RunIgnored"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-RunIgnored"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-RunIgnored"·title="Eq">Eq</a></li><li><a·href="#impl-PartialEq-for-RunIgnored"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-RunIgnored"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-RunIgnored"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-RunIgnored"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-RunIgnored"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-RunIgnored"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-RunIgnored"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">RunIgnored</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/options.rs.html#43-48">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·RunIgnored·{
2 ····Yes,2 ····Yes,
3 ····No,3 ····No,
4 ····Only,4 ····Only,
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>Whether·ignored·test·should·be·run·or·not</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>Whether·ignored·test·should·be·run·or·not</p>
6 </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>6 </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></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#174">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:·&amp;Self)</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-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-Debug-for-RunIgnored"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">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-PartialEq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-PartialEq-for-RunIgnored"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">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.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,7 </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#174">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:·&amp;Self)</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-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-Debug-for-RunIgnored"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">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-PartialEq-for-RunIgnored"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">source</a><a·href="#impl-PartialEq-for-RunIgnored"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#42">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.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
8 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#138">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">where8 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#138">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
9 ····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#139">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#209">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">where9 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#211">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.83.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#217">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">where10 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
12 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.7 KB
./usr/share/doc/rust-doc/html/test/test/enum.RunStrategy.html
    
Offset 4, 18 lines modifiedOffset 4, 18 lines modified
4 }</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·the4 }</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
5 supplied·channel.</p>5 supplied·channel.</p>
6 </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·the6 </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
7 supplied·channel.·Requires·<code>argv[0]</code>·to·exist·and·point·to·the·binary7 supplied·channel.·Requires·<code>argv[0]</code>·to·exist·and·point·to·the·binary
8 that’s·currently·running.</p>8 that’s·currently·running.</p>
9 </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#174">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:·&amp;Self)</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#138">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 </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#174">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:·&amp;Self)</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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
47.8 KB
./usr/share/doc/rust-doc/html/test/test/enum.ShouldPanic.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·test·is·expected·to·panic·or·not"><title>ShouldPanic·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Should<wbr>Panic</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No"·title="No">No</a></li><li><a·href="#variant.Yes"·title="Yes">Yes</a></li><li><a·href="#variant.YesWithMessage"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-ShouldPanic"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-ShouldPanic"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-ShouldPanic"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-ShouldPanic"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-ShouldPanic"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-ShouldPanic"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ShouldPanic"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ShouldPanic"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-ShouldPanic"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-ShouldPanic"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ShouldPanic"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">ShouldPanic</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/options.rs.html#12-16">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·ShouldPanic·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Should<wbr>Panic</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.No"·title="No">No</a></li><li><a·href="#variant.Yes"·title="Yes">Yes</a></li><li><a·href="#variant.YesWithMessage"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-ShouldPanic"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-ShouldPanic"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-ShouldPanic"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-ShouldPanic"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-ShouldPanic"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-ShouldPanic"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-ShouldPanic"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-ShouldPanic"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-ShouldPanic"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-ShouldPanic"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-ShouldPanic"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">ShouldPanic</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/options.rs.html#12-16">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·ShouldPanic·{
2 ····No,2 ····No,
3 ····Yes,3 ····Yes,
4 ····YesWithMessage(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>),4 ····YesWithMessage(&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</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>Whether·test·is·expected·to·panic·or·not</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>Whether·test·is·expected·to·panic·or·not</p>
6 </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.83.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:·5162,·SHA:·8217890c80f473be5a658396ecc0f5fed373e80b649c20348837283eda029ffb·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where6 </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:·5081,·SHA:·4a05ad3fc1589aaf957269f5dd95faa71a773a9bc8858dde5c817fa07827ab91·...·]/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-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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,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-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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
9 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#138">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 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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
57.1 KB
./usr/share/doc/rust-doc/html/test/test/enum.TestName.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="API·documentation·for·the·Rust·`TestName`·enum·in·crate·`test`."><title>TestName·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Name</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlignedTestName"·title="AlignedTestName">AlignedTestName</a></li><li><a·href="#variant.DynTestName"·title="DynTestName">DynTestName</a></li><li><a·href="#variant.StaticTestName"·title="StaticTestName">StaticTestName</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_slice"·title="as_slice">as_slice</a></li><li><a·href="#method.padding"·title="padding">padding</a></li><li><a·href="#method.with_padding"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestName"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-TestName"·title="Display">Display</a></li><li><a·href="#impl-Eq-for-TestName"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-TestName"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-TestName"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestName"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestName"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestName"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestName"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestName"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestName"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">TestName</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/types.rs.html#41-45">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·TestName·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Name</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.AlignedTestName"·title="AlignedTestName">AlignedTestName</a></li><li><a·href="#variant.DynTestName"·title="DynTestName">DynTestName</a></li><li><a·href="#variant.StaticTestName"·title="StaticTestName">StaticTestName</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.as_slice"·title="as_slice">as_slice</a></li><li><a·href="#method.padding"·title="padding">padding</a></li><li><a·href="#method.with_padding"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestName"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-TestName"·title="Display">Display</a></li><li><a·href="#impl-Eq-for-TestName"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-TestName"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-TestName"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestName"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestName"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestName"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestName"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestName"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestName"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">TestName</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/types.rs.html#41-45">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·TestName·{
2 ····StaticTestName(&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>),2 ····StaticTestName(&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>),
3 ····DynTestName(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),3 ····DynTestName(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),
4 ····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.83.0/std/primitive.str.html">str</a>&gt;,·<a·class="enum"·href="../enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>),4 ····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 }</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.83.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:·9592,·SHA:·5286bf032f4e4cdf19b6d2ee9f92bf938f4bbd8298f8bfeb2d0c587acf375494·...·]/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.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:·9457,·SHA:·d3678cde3ccf78b1950923506561a78dcd11c6634431974b190dc13d1080e011·...·]/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-TestName"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#40">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#40">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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,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-TestName"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#40">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#40">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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
8 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#40">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#40">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#138">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">where8 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#40">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#40">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#138">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
9 ····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#139">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#209">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">where9 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#211">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.83.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#217">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">where10 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
12 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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#2672">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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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#2672">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
19 ····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#2678">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">where19 ····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#2678">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
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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.4 KB
./usr/share/doc/rust-doc/html/test/test/enum.TestResult.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="API·documentation·for·the·Rust·`TestResult`·enum·in·crate·`test`."><title>TestResult·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»      2024-11-26)»   (built»     from» a»source»  tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Result</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.TrBench"·title="TrBench">TrBench</a></li><li><a·href="#variant.TrFailed"·title="TrFailed">TrFailed</a></li><li><a·href="#variant.TrFailedMsg"·title="TrFailedMsg">TrFailedMsg</a></li><li><a·href="#variant.TrIgnored"·title="TrIgnored">TrIgnored</a></li><li><a·href="#variant.TrOk"·title="TrOk">TrOk</a></li><li><a·href="#variant.TrTimedFail"·title="TrTimedFail">TrTimedFail</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestResult"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestResult"·title="Debug">Debug</a></li><li><a·href="#impl-PartialEq-for-TestResult"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestResult"·title="StructuralPartialEq">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-TestResult"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestResult"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestResult"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestResult"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestResult"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestResult"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">TestResult</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/test_result.rs.html#31-38">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·TestResult·{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·`TestResult`·enum·in·crate·`test`."><title>TestResult·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»      2024-11-26)»   (built»     from» a»source»  tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Result</a></h2><h3><a·href="#variants">Variants</a></h3><ul·class="block·variant"><li><a·href="#variant.TrBench"·title="TrBench">TrBench</a></li><li><a·href="#variant.TrFailed"·title="TrFailed">TrFailed</a></li><li><a·href="#variant.TrFailedMsg"·title="TrFailedMsg">TrFailedMsg</a></li><li><a·href="#variant.TrIgnored"·title="TrIgnored">TrIgnored</a></li><li><a·href="#variant.TrOk"·title="TrOk">TrOk</a></li><li><a·href="#variant.TrTimedFail"·title="TrTimedFail">TrTimedFail</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Clone-for-TestResult"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestResult"·title="Debug">Debug</a></li><li><a·href="#impl-PartialEq-for-TestResult"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestResult"·title="StructuralPartialEq">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-TestResult"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestResult"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestResult"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestResult"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestResult"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestResult"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Enum·<span·class="enum">TestResult</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/test_result.rs.html#31-38">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·enum·TestResult·{
2 ····TrOk,2 ····TrOk,
3 ····TrFailed,3 ····TrFailed,
4 ····TrFailedMsg(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),4 ····TrFailedMsg(<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>),
5 ····TrIgnored,5 ····TrIgnored,
6 ····TrBench(<a·class="struct"·href="../bench/struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a>),6 ····TrBench(<a·class="struct"·href="../bench/struct.BenchSamples.html"·title="struct·test::bench::BenchSamples">BenchSamples</a>),
7 ····TrTimedFail,7 ····TrTimedFail,
8 }</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#30">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#30">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#174">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:·&amp;Self)</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-TestResult"·class="impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#30">source</a><a·href="#impl-Debug-for-TestResult"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#30">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-PartialEq-for-TestResult"·class="impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#30">source</a><a·href="#impl-PartialEq-for-TestResult"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#30">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.TestResult.html"·title="enum·test::test::TestResult">TestResult</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,8 }</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#30">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#30">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#174">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:·&amp;Self)</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-TestResult"·class="impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#30">source</a><a·href="#impl-Debug-for-TestResult"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#30">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-PartialEq-for-TestResult"·class="impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#30">source</a><a·href="#impl-PartialEq-for-TestResult"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/test_result.rs.html#30">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.TestResult.html"·title="enum·test::test::TestResult">TestResult</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
9 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#30">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#138">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 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#30">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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-doc/html/test/test/enum.TestType.html
    
Offset 6, 23 lines modifiedOffset 6, 23 lines modified
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>Type·of·the·test·according·to·the·<a·href="https://doc.rust-lang.org/cargo/guide/tests.html">Rust·book</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>Type·of·the·test·according·to·the·<a·href="https://doc.rust-lang.org/cargo/guide/tests.html">Rust·book</a>
7 conventions.</p>7 conventions.</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.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>8 </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><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>9 </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.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>10 </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.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·convention11 </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
12 (e.g.·tests·in·raw·<code>main.rs</code>·compiled·by·calling·<code>rustc·--test</code>·directly).</p>12 (e.g.·tests·in·raw·<code>main.rs</code>·compiled·by·calling·<code>rustc·--test</code>·directly).</p>
13 </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#17">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#17">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#174">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:·&amp;Self)</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-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#17">source</a><a·href="#impl-Debug-for-TestType"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#17">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-Hash-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#17">source</a><a·href="#impl-Hash-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/hash/trait.Hash.html"·title="trait·core::hash::Hash">Hash</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.hash"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#17">source</a><a·href="#method.hash"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/hash/trait.Hash.html#tymethod.hash"·class="fn">hash</a>&lt;__H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>&gt;(&amp;self,·state:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&amp;mut·__H</a>)</h4></section></summary><div·class='docblock'>Feeds·this·value·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code><[·...·truncated·by·diffoscope;·len:·634,·SHA:·09d6643d5e89d650361527e6d0bc1918326acb63a532cf673741563003316b5f·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where13 </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#17">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#17">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#174">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:·&amp;Self)</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-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#17">source</a><a·href="#impl-Debug-for-TestType"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#17">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-Hash-for-TestType"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#17">source</a><a·href="#impl-Hash-for-TestType"·class="anchor">§</a><h3·class="code-header">impl·<a·class="trait"·href="../../core/hash/trait.Hash.html"·title="trait·core::hash::Hash">Hash</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.hash"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#17">source</a><a·href="#method.hash"·class="anchor">§</a><h4·class="code-header">fn·<a·href="../../core/hash/trait.Hash.html#tymethod.hash"·class="fn">hash</a>&lt;__H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>&gt;(&amp;self,·state:·<a·class="primitive"·href="../../std/primitive.reference.html">&amp;mut·__H</a>)</h4></section></summary><div·class='docblock'>Feeds·this·value·into·the·given·<a·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher"><code>Hasher</code></a>.·<a·href="../../core/ha[·...·truncated·by·diffoscope;·len:·580,·SHA:·40dcaa259fd2977f3bc8cef90539a399d9d9380ddeca4b5803d292b1fd2778b4·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
14 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,14 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
15 ····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#17">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#17">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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,15 ····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#17">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#17">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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
16 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#17">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#17">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#17">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#138">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">where16 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#17">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#17">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#17">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#138">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
17 ····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#139">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#209">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">where17 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#211">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.83.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#217">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">where18 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
47.5 KB
./usr/share/doc/rust-doc/html/test/test/struct.Metric.html
    
Offset 1, 14 lines modifiedOffset 1, 14 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Metric</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-Metric"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-Metric"·title="Debug">Debug</a></li><li><a·href="#impl-PartialEq-for-Metric"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-Metric"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Metric"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Metric"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Metric"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Metric"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Metric"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">Metric</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/helpers/metrics.rs.html#6-9">source</a>·</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#11-15">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#12-14">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.83.0/std/primitive.f64.html">f64</a>,·noise:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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:·5296,·SHA:·7fa67d7c023a1437632885461f0951b36419fbb8fec1481e367b8d37fbc8dd91·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Metric</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-Metric"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-Metric"·title="Debug">Debug</a></li><li><a·href="#impl-PartialEq-for-Metric"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-Metric"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Metric"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Metric"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Metric"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Metric"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Metric"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">Metric</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/helpers/metrics.rs.html#6-9">source</a>·</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#11-15">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#12-14">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:·5161,·SHA:·b0564c897a156c4f0ab6f01f6dd44b9d6bc6c372214261eecda9294f5b816038·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
2 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#5">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#5">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#138">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">where2 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#5">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#5">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#138">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
3 ····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#139">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#209">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">where3 ····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#139">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#209">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
4 ····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#211">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.83.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#217">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">where4 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
6 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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-ToOwned-for-T"·class="impl"><a·class="src·rightside"·href="../../src/alloc/borrow.rs.html#82-84">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">where11 </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#82-84">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
12 ····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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">where12 ····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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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
14 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>14 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.0 KB
./usr/share/doc/rust-doc/html/test/test/struct.MetricMap.html
    
Offset 1, 25 lines modifiedOffset 1, 25 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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Metric<wbr>Map</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.fmt_metrics"·title="fmt_metrics">fmt_metrics</a></li><li><a·href="#method.insert_metric"·title="insert_metric">insert_metric</a></li><li><a·href="#method.new"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-PartialEq-for-MetricMap"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-MetricMap"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-MetricMap"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-MetricMap"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-MetricMap"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-MetricMap"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-MetricMap"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">MetricMap</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/helpers/metrics.rs.html#18">source</a>·</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#20-51">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#21-23">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#38-41">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.83.0/std/primitive.str.html">str</a>,·value:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.f64.html">f64</a>,·noise:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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·value1 <!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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Metric<wbr>Map</a></h2><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.fmt_metrics"·title="fmt_metrics">fmt_metrics</a></li><li><a·href="#method.insert_metric"·title="insert_metric">insert_metric</a></li><li><a·href="#method.new"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-PartialEq-for-MetricMap"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-MetricMap"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-MetricMap"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-MetricMap"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-MetricMap"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-MetricMap"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-MetricMap"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">MetricMap</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/helpers/metrics.rs.html#18">source</a>·</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#20-51">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#21-23">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#38-41">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·value
2 must·be·non-negative.·The·<code>noise</code>·indicates·the·uncertainty·of·the2 must·be·non-negative.·The·<code>noise</code>·indicates·the·uncertainty·of·the
3 metric,·which·doubles·as·the·“noise·range”·of·acceptable3 metric,·which·doubles·as·the·“noise·range”·of·acceptable
4 pairwise-regressions·on·this·named·value,·when·comparing·from·one4 pairwise-regressions·on·this·named·value,·when·comparing·from·one
5 metric·to·the·next·using·<code>compare_to_old</code>.</p>5 metric·to·the·next·using·<code>compare_to_old</code>.</p>
6 <p>If·<code>noise</code>·is·positive,·then·it·means·this·metric·is·of·a·value6 <p>If·<code>noise</code>·is·positive,·then·it·means·this·metric·is·of·a·value
7 you·want·to·see·grow·smaller,·so·a·change·larger·than·<code>noise</code>·in·the7 you·want·to·see·grow·smaller,·so·a·change·larger·than·<code>noise</code>·in·the
8 positive·direction·represents·a·regression.</p>8 positive·direction·represents·a·regression.</p>
9 <p>If·<code>noise</code>·is·negative,·then·it·means·this·metric·is·of·a·value9 <p>If·<code>noise</code>·is·negative,·then·it·means·this·metric·is·of·a·value
10 you·want·to·see·grow·larger,·so·a·change·larger·than·<code>noise</code>·in·the10 you·want·to·see·grow·larger,·so·a·change·larger·than·<code>noise</code>·in·the
11 negative·direction·represents·a·regression.</p>11 negative·direction·represents·a·regression.</p>
12 </div></details><section·id="method.fmt_metrics"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#43-50">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#17">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#17">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#174">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:·&amp;Self)</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-PartialEq-for-MetricMap"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#17">source</a><a·href="#impl-PartialEq-for-MetricMap"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#17">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.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,12 </div></details><section·id="method.fmt_metrics"·class="method"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#43-50">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#17">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#17">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#174">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:·&amp;Self)</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-PartialEq-for-MetricMap"·class="impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#17">source</a><a·href="#impl-PartialEq-for-MetricMap"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/helpers/metrics.rs.html#17">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.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
13 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#17">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#138">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 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#17">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
17 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.6 KB
./usr/share/doc/rust-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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Options</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.display_output"·title="display_output">display_output</a></li><li><a·href="#structfield.panic_abort"·title="panic_abort">panic_abort</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.display_output"·title="display_output">display_output</a></li><li><a·href="#method.new"·title="new">new</a></li><li><a·href="#method.panic_abort"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-Options"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-Options"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Options"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Options"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Options"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Options"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Options"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">Options</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/options.rs.html#65-68">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·Options·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»     2024-11-26)»  (built»    from»a»       source» tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Options</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.display_output"·title="display_output">display_output</a></li><li><a·href="#structfield.panic_abort"·title="panic_abort">panic_abort</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.display_output"·title="display_output">display_output</a></li><li><a·href="#method.new"·title="new">new</a></li><li><a·href="#method.panic_abort"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-Options"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-Options"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-Options"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-Options"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-Options"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-Options"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-Options"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">Options</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/options.rs.html#65-68">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·Options·{
2 ····pub·display_output:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,2 ····pub·display_output:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
3 ····pub·panic_abort:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,3 ····pub·panic_abort:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
4 }</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).4 }</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 In·case·we·want·to·add·other·options·as·well,·just·add·them·in·this·struct.</p>5 In·case·we·want·to·add·other·options·as·well,·just·add·them·in·this·struct.</p>
6 </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.83.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:·2328,·SHA:·32a77738874706141fafc3ea3ab6f8458a45f973b4a29dadaad59be9d42c70f5·...·]/std/primitive.bool.html">bool</a>)·-&gt;·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</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-Options"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">source</a><a·href="#impl-Clone-for-Options"·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.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.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">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.Options.html"·title="struct·test::test::Options">Options</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#174">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:·&amp;Self)</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#138">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 </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:·2220,·SHA:·45f918c0d1b7a1b9560e1896c4ef28033cf14b54f1828bb450d079a12b02a48b·...·]/std/primitive.bool.html">bool</a>)·-&gt;·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</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-Options"·class="impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">source</a><a·href="#impl-Clone-for-Options"·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.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.clone"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/options.rs.html#64">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.Options.html"·title="struct·test::test::Options">Options</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#174">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:·&amp;Self)</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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
10 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>
49.1 KB
./usr/share/doc/rust-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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»      2024-11-26)»   (built»     from» a»source»  tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Desc</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.compile_fail"·title="compile_fail">compile_fail</a></li><li><a·href="#structfield.end_col"·title="end_col">end_col</a></li><li><a·href="#structfield.end_line"·title="end_line">end_line</a></li><li><a·href="#structfield.ignore"·title="ignore">ignore</a></li><li><a·href="#structfield.ignore_message"·title="ignore_message">ignore_message</a></li><li><a·href="#structfield.name"·title="name">name</a></li><li><a·href="#structfield.no_run"·title="no_run">no_run</a></li><li><a·href="#structfield.should_panic"·title="should_panic">should_panic</a></li><li><a·href="#structfield.source_file"·title="source_file">source_file</a></li><li><a·href="#structfield.start_col"·title="start_col">start_col</a></li><li><a·href="#structfield.start_line"·title="start_line">start_line</a></li><li><a·href="#structfield.test_type"·title="test_type">test_type</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padded_name"·title="padded_name">padded_name</a></li><li><a·href="#method.test_mode"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestDesc"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestDesc"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestDesc"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestDesc"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestDesc"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestDesc"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestDesc</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/types.rs.html#197-210">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestDesc·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»      2024-11-26)»   (built»     from» a»source»  tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Desc</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.compile_fail"·title="compile_fail">compile_fail</a></li><li><a·href="#structfield.end_col"·title="end_col">end_col</a></li><li><a·href="#structfield.end_line"·title="end_line">end_line</a></li><li><a·href="#structfield.ignore"·title="ignore">ignore</a></li><li><a·href="#structfield.ignore_message"·title="ignore_message">ignore_message</a></li><li><a·href="#structfield.name"·title="name">name</a></li><li><a·href="#structfield.no_run"·title="no_run">no_run</a></li><li><a·href="#structfield.should_panic"·title="should_panic">should_panic</a></li><li><a·href="#structfield.source_file"·title="source_file">source_file</a></li><li><a·href="#structfield.start_col"·title="start_col">start_col</a></li><li><a·href="#structfield.start_line"·title="start_line">start_line</a></li><li><a·href="#structfield.test_type"·title="test_type">test_type</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.padded_name"·title="padded_name">padded_name</a></li><li><a·href="#method.test_mode"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestDesc"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestDesc"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestDesc"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestDesc"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestDesc"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestDesc"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestDesc</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/types.rs.html#197-210">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestDesc·{
2 ····pub·name:·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a>,2 ····pub·name:·<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a>,
3 ····pub·ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,3 ····pub·ignore:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
4 ····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.83.0/std/primitive.str.html">str</a>&gt;,4 ····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·source_file:·&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>,5 ····pub·source_file:·&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>,
6 ····pub·start_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,6 ····pub·start_line:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,
7 ····pub·start_col:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,7 ····pub·start_col:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,
8 ····pub·end_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,8 ····pub·end_line:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,
9 ····pub·end_col:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,9 ····pub·end_col:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,
10 ····pub·should_panic:·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>,10 ····pub·should_panic:·<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>,
11 ····pub·compile_fail:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,11 ····pub·compile_fail:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
12 ····pub·no_run:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,12 ····pub·no_run:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
13 ····pub·test_type:·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a>,13 ····pub·test_type:·<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a>,
14 }</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.83.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:·93490ede252eb43ec8d4225fc60229be5e09f5d9a32bb3b76810c21f403dc990·...·]/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.14 }</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:·ee4e347adabdd1f76ac7dc49bc2811c73ab497fff4514796223b343fc1840b23·...·]/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 Descriptions·include·“should·panic”,·“compile·fail”·and·“compile”.</p>15 Descriptions·include·“should·panic”,·“compile·fail”·and·“compile”.</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-TestDesc"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#196">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#196">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#174">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:·&amp;Self)</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#196">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#196">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#138">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">where16 </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#196">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#196">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#174">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:·&amp;Self)</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#196">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#196">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#138">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
17 ····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#139">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#209">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">where17 ····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#139">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#209">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
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"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#211">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.83.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#217">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">where18 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.8 KB
./usr/share/doc/rust-doc/html/test/test/struct.TestDescAndFn.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·`TestDescAndFn`·struct·in·crate·`test`."><title>TestDescAndFn·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Desc<wbr>AndFn</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.desc"·title="desc">desc</a></li><li><a·href="#structfield.testfn"·title="testfn">testfn</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new_doctest"·title="new_doctest">new_doctest</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestDescAndFn"·title="Debug">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"·title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestDescAndFn"·title="!Sync">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestDescAndFn"·title="!UnwindSafe">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestDescAndFn"·title="Freeze">Freeze</a></li><li><a·href="#impl-Send-for-TestDescAndFn"·title="Send">Send</a></li><li><a·href="#impl-Unpin-for-TestDescAndFn"·title="Unpin">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestDescAndFn</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/types.rs.html#249-252">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestDescAndFn·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»    2024-11-26)» (built»   from»       a»      source»tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Desc<wbr>AndFn</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.desc"·title="desc">desc</a></li><li><a·href="#structfield.testfn"·title="testfn">testfn</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.new_doctest"·title="new_doctest">new_doctest</a></li></ul><h3><a·href="#trait-implementations">Trait·Implementations</a></h3><ul·class="block·trait-implementation"><li><a·href="#impl-Debug-for-TestDescAndFn"·title="Debug">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"·title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a·href="#impl-Sync-for-TestDescAndFn"·title="!Sync">!Sync</a></li><li><a·href="#impl-UnwindSafe-for-TestDescAndFn"·title="!UnwindSafe">!UnwindSafe</a></li><li><a·href="#impl-Freeze-for-TestDescAndFn"·title="Freeze">Freeze</a></li><li><a·href="#impl-Send-for-TestDescAndFn"·title="Send">Send</a></li><li><a·href="#impl-Unpin-for-TestDescAndFn"·title="Unpin">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestDescAndFn</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/types.rs.html#249-252">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestDescAndFn·{
2 ····pub·desc:·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,2 ····pub·desc:·<a·class="struct"·href="struct.TestDesc.html"·title="struct·test::test::TestDesc">TestDesc</a>,
3 ····pub·testfn:·<a·class="enum"·href="../enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,3 ····pub·testfn:·<a·class="enum"·href="../enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,
4 }</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="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-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#254-286">source</a><a·href="#impl-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></summary><div·class="impl-items"><section·id="method.new_doctest"·class="method"><a·class="src·rightside"·href="../../src/test/types.rs.html#255-285">source</a><h4·class="code-header">pub·const·fn·<a·href="#method.new_doctest"·class="fn">new_doctest</a>(4 }</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="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-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#254-286">source</a><a·href="#impl-TestDescAndFn"·class="anchor">§</a><h3·class="code-header">impl·<a·class="struct"·href="struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a></h3></section></summary><div·class="impl-items"><section·id="method.new_doctest"·class="method"><a·class="src·rightside"·href="../../src/test/types.rs.html#255-285">source</a><h4·class="code-header">pub·const·fn·<a·href="#method.new_doctest"·class="fn">new_doctest</a>(
5 ····test_name:·&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>,5 ····test_name:·&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>,
6 ····ignore:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,6 ····ignore:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
7 ····source_file:·&amp;'static·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>,7 ····source_file:·&amp;'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>,
8 ····start_line:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,8 ····start_line:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>,
9 ····no_run:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,9 ····no_run:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
10 ····should_panic:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,10 ····should_panic:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
11 ····testfn:·<a·class="enum"·href="../enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,11 ····testfn:·<a·class="enum"·href="../enum.TestFn.html"·title="enum·test::TestFn">TestFn</a>,
12 )·-&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></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-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#248">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#248">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#138">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 )·-&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></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-TestDescAndFn"·class="impl"><a·class="src·rightside"·href="../../src/test/types.rs.html#248">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#248">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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 ····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#218">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 </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-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 </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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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-doc/html/test/test/struct.TestExecTime.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="The·measured·execution·time·of·a·unit·test."><title>TestExecTime·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»      2024-11-26)»   (built»     from» a»source»  tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Exec<wbr>Time</a></h2><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestExecTime"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-TestExecTime"·title="Display">Display</a></li><li><a·href="#impl-PartialEq-for-TestExecTime"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestExecTime"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestExecTime"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestExecTime"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestExecTime"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestExecTime"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestExecTime"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestExecTime</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/time.rs.html#66">source</a>·</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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»      2024-11-26)»   (built»     from» a»source»  tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Exec<wbr>Time</a></h2><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Debug-for-TestExecTime"·title="Debug">Debug</a></li><li><a·href="#impl-Display-for-TestExecTime"·title="Display">Display</a></li><li><a·href="#impl-PartialEq-for-TestExecTime"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestExecTime"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestExecTime"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestExecTime"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestExecTime"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestExecTime"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestExecTime"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-ToString-for-T"·title="ToString">ToString</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestExecTime</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/time.rs.html#66">source</a>·</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 </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#174">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:·&amp;Self)</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-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#impl-Debug-for-TestExecTime"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">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-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#68-72">source</a><a·href="#impl-Display-for-TestExecTime"·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.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.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#69-71">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-PartialEq-for-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#impl-PartialEq-for-TestExecTime"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">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.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a>)·-&gt;·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,2 </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#174">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:·&amp;Self)</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-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#impl-Debug-for-TestExecTime"·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.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.fmt"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">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-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#68-72">source</a><a·href="#impl-Display-for-TestExecTime"·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.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.fmt-1"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#69-71">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-PartialEq-for-TestExecTime"·class="impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">source</a><a·href="#impl-PartialEq-for-TestExecTime"·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.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.eq"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/test/time.rs.html#65">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.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a>)·-&gt;·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
3 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#138">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 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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
7 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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#2672">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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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#2672">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
14 ····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#2678">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">where14 ····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#2678">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
15 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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">where15 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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
16 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>16 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.3 KB
./usr/share/doc/rust-doc/html/test/test/struct.TestId.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="API·documentation·for·the·Rust·`TestId`·struct·in·crate·`test`."><title>TestId·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">TestId</a></h2><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-TestId"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-TestId"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-TestId"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-TestId"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-TestId"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestId"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestId"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestId"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestId"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestId"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestId"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestId</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/types.rs.html#192">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestId(pub·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.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:·5582,·SHA:·bdec1ebf4f5039eaf37a13c365744ed7044f7ab6c9a666c4d17446fd8e3e8b14·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where1 <!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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»  2024-11-26)»       (built» from»     a»    source»      tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">TestId</a></h2><h3><a·href="#fields">Tuple·Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.0"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-TestId"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-TestId"·title="Debug">Debug</a></li><li><a·href="#impl-Eq-for-TestId"·title="Eq">Eq</a></li><li><a·href="#impl-Hash-for-TestId"·title="Hash">Hash</a></li><li><a·href="#impl-PartialEq-for-TestId"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestId"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestId"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestId"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestId"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestId"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestId"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestId</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/types.rs.html#192">source</a>·</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:·5474,·SHA:·913ea2119ff5b25f0c000497a030b36396670064c7779f6edd75c5bc395e4ca3·...·]/std/primitive.reference.html">&amp;mut·H</a>)<div·class="where">where
2 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,2 ····H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>,
3 ····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#191">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#191">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.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·me[·...·truncated·by·diffoscope;·len:·575,·SHA:·59103e5b4abc0090de557c7d546cb7031cedc0ddc979cba84f284181a5e95701·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,3 ····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#191">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#191">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'>Tests·for·<code>self</code>·and·<code>other</code>·values·to·be·equal,·and·is·used·by·<code>==</code>.</div></details><details·class="toggle·method-toggle"·open><summary>[·...·truncated·by·diffoscope;·len:·494,·SHA:·938f775aa47675121101d29c60f87b888878462e329d8ec8f8de5f9ee606dafc·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
4 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#191">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#191">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#191">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#138">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 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#191">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#191">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#191">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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·for·T<div·class="where">where
8 ····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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">where
15 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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">where15 ····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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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
16 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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>16 ····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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.5 KB
./usr/share/doc/rust-doc/html/test/test/struct.TestOpts.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="API·documentation·for·the·Rust·`TestOpts`·struct·in·crate·`test`."><title>TestOpts·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»      2024-11-26)»   (built»     from» a»source»  tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Opts</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bench_benchmarks"·title="bench_benchmarks">bench_benchmarks</a></li><li><a·href="#structfield.color"·title="color">color</a></li><li><a·href="#structfield.exclude_should_panic"·title="exclude_should_panic">exclude_should_panic</a></li><li><a·href="#structfield.fail_fast"·title="fail_fast">fail_fast</a></li><li><a·href="#structfield.filter_exact"·title="filter_exact">filter_exact</a></li><li><a·href="#structfield.filters"·title="filters">filters</a></li><li><a·href="#structfield.force_run_in_process"·title="force_run_in_process">force_run_in_process</a></li><li><a·href="#structfield.format"·title="format">format</a></li><li><a·href="#structfield.list"·title="list">list</a></li><li><a·href="#structfield.logfile"·title="logfile">logfile</a></li><li><a·href="#structfield.nocapture"·title="nocapture">nocapture</a></li><li><a·href="#structfield.options"·title="options">options</a></li><li><a·href="#structfield.run_ignored"·title="run_ignored">run_ignored</a></li><li><a·href="#structfield.run_tests"·title="run_tests">run_tests</a></li><li><a·href="#structfield.shuffle"·title="shuffle">shuffle</a></li><li><a·href="#structfield.shuffle_seed"·title="shuffle_seed">shuffle_seed</a></li><li><a·href="#structfield.skip"·title="skip">skip</a></li><li><a·href="#structfield.test_threads"·title="test_threads">test_threads</a></li><li><a·href="#structfield.time_options"·title="time_options">time_options</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.use_color"·title="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"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestOpts"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestOpts"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestOpts"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestOpts"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestOpts"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestOpts</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/cli.rs.html#11-34">source</a>·</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>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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»      2024-11-26)»   (built»     from» a»source»  tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Opts</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.bench_benchmarks"·title="bench_benchmarks">bench_benchmarks</a></li><li><a·href="#structfield.color"·title="color">color</a></li><li><a·href="#structfield.exclude_should_panic"·title="exclude_should_panic">exclude_should_panic</a></li><li><a·href="#structfield.fail_fast"·title="fail_fast">fail_fast</a></li><li><a·href="#structfield.filter_exact"·title="filter_exact">filter_exact</a></li><li><a·href="#structfield.filters"·title="filters">filters</a></li><li><a·href="#structfield.force_run_in_process"·title="force_run_in_process">force_run_in_process</a></li><li><a·href="#structfield.format"·title="format">format</a></li><li><a·href="#structfield.list"·title="list">list</a></li><li><a·href="#structfield.logfile"·title="logfile">logfile</a></li><li><a·href="#structfield.nocapture"·title="nocapture">nocapture</a></li><li><a·href="#structfield.options"·title="options">options</a></li><li><a·href="#structfield.run_ignored"·title="run_ignored">run_ignored</a></li><li><a·href="#structfield.run_tests"·title="run_tests">run_tests</a></li><li><a·href="#structfield.shuffle"·title="shuffle">shuffle</a></li><li><a·href="#structfield.shuffle_seed"·title="shuffle_seed">shuffle_seed</a></li><li><a·href="#structfield.skip"·title="skip">skip</a></li><li><a·href="#structfield.test_threads"·title="test_threads">test_threads</a></li><li><a·href="#structfield.time_options"·title="time_options">time_options</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.use_color"·title="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"·title="Debug">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestOpts"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestOpts"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestOpts"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestOpts"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestOpts"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestOpts</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/cli.rs.html#11-34">source</a>·</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 ····pub·list:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,2 ····pub·list:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
3 ····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;,3 ····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·filter_exact:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,4 ····pub·filter_exact:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
5 ····pub·force_run_in_process:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,5 ····pub·force_run_in_process:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
6 ····pub·exclude_should_panic:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,6 ····pub·exclude_should_panic:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
7 ····pub·run_ignored:·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>,7 ····pub·run_ignored:·<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>,
8 ····pub·run_tests:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,8 ····pub·run_tests:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
9 ····pub·bench_benchmarks:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,9 ····pub·bench_benchmarks:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
10 ····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.83.0/std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a>&gt;,10 ····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·nocapture:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,11 ····pub·nocapture:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
12 ····pub·color:·<a·class="enum"·href="../enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a>,12 ····pub·color:·<a·class="enum"·href="../enum.ColorConfig.html"·title="enum·test::ColorConfig">ColorConfig</a>,
13 ····pub·format:·<a·class="enum"·href="../enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>,13 ····pub·format:·<a·class="enum"·href="../enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>,
14 ····pub·shuffle:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,14 ····pub·shuffle:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
15 ····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.83.0/std/primitive.u64.html">u64</a>&gt;,15 ····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·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.83.0/std/primitive.usize.html">usize</a>&gt;,16 ····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·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;,17 ····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·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;,18 ····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·fail_fast:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,19 ····pub·fail_fast:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
20 ····pub·options:·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a>,20 ····pub·options:·<a·class="struct"·href="struct.Options.html"·title="struct·test::test::Options">Options</a>,
21 </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.83.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:·b6ce051baeecc17f6c4c915e99a89bb066822629301d7e753e52afb3ab87b77f·...·]/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.21 </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 May·run·a·few·more·tests·due·to·threading,·but·will22 May·run·a·few·more·tests·due·to·threading,·but·will
23 abort·as·soon·as·possible.</p>23 abort·as·soon·as·possible.</p>
24 </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.83.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#138">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">where24 </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#138">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
25 ····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#139">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#209">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">where25 ····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#139">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#209">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
26 ····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#211">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.83.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#217">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">where26 ····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#211">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#217">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
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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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.83.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>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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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 </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">where28 </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
29 ····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>29 ····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 <p>That·is,·this·conversion·is·whatever·the·implementation·of30 <p>That·is,·this·conversion·is·whatever·the·implementation·of
31 <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>31 <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 </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 </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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.7 KB
./usr/share/doc/rust-doc/html/test/test/struct.TestTimeOptions.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="Structure·with·parameters·for·calculating·test·execution·time."><title>TestTimeOptions·in·test::test·-·Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Time<wbr>Options</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.doctest_threshold"·title="doctest_threshold">doctest_threshold</a></li><li><a·href="#structfield.error_on_excess"·title="error_on_excess">error_on_excess</a></li><li><a·href="#structfield.integration_threshold"·title="integration_threshold">integration_threshold</a></li><li><a·href="#structfield.unit_threshold"·title="unit_threshold">unit_threshold</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.is_critical"·title="is_critical">is_critical</a></li><li><a·href="#method.is_warn"·title="is_warn">is_warn</a></li><li><a·href="#method.new_from_env"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-TestTimeOptions"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-TestTimeOptions"·title="Debug">Debug</a></li><li><a·href="#impl-Default-for-TestTimeOptions"·title="Default">Default</a></li><li><a·href="#impl-Eq-for-TestTimeOptions"·title="Eq">Eq</a></li><li><a·href="#impl-PartialEq-for-TestTimeOptions"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestTimeOptions"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestTimeOptions"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestTimeOptions"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestTimeOptions"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestTimeOptions"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestTimeOptions"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestTimeOptions</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/time.rs.html#134-141">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestTimeOptions·{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.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link·rel="preload"·as="font"·type="font/woff2"·crossorigin·href="../../static.files/${f}">`).join(""))</script><link·rel="stylesheet"·href="../../static.files/normalize-76eba96aa4d2e634.css"><link·rel="stylesheet"·href="../../static.files/rustdoc-545097bd80942bc8.css"><meta·name="rustdoc-vars"·data-root-path="../../"·data-static-root-path="../../static.files/"·data-current-crate="test"·data-themes=""·data-resource-suffix="1.83.0"·data-rustdoc-version="1.83.0·(90b35a623·2024-11-26)·(built·from·a·source·tarball)"·data-channel="1.83.0"·data-search-js="search-f0d225181b97f9a4.js"·data-settings-js="settings-805db61a62df4bd2.js"·><script·src="../../static.files/storage-1d39b6787ed640ff.js"></script><script·defer·src="sidebar-items1.83.0.js"></script><script·defer·src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link·rel="stylesheet"·href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link·rel="alternate·icon"·type="image/png"·href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link·rel="icon"·type="image/svg+xml"·href="../../static.files/favicon-2c020d218678b618.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-151179464ae7ed46.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-151179464ae7ed46.svg"·alt="logo"></a><h2><a·href="../../test/index.html">test</a><span·class="version">1.83.0</span></h2></div><div·class="version">(90b35a623»2024-11-26)»     (built»       from»   a»  source»    tarball)</div><div·class="sidebar-elems"><section·id="rustdoc-toc"><h2·class="location"><a·href="#">Test<wbr>Time<wbr>Options</a></h2><h3><a·href="#fields">Fields</a></h3><ul·class="block·structfield"><li><a·href="#structfield.doctest_threshold"·title="doctest_threshold">doctest_threshold</a></li><li><a·href="#structfield.error_on_excess"·title="error_on_excess">error_on_excess</a></li><li><a·href="#structfield.integration_threshold"·title="integration_threshold">integration_threshold</a></li><li><a·href="#structfield.unit_threshold"·title="unit_threshold">unit_threshold</a></li></ul><h3><a·href="#implementations">Methods</a></h3><ul·class="block·method"><li><a·href="#method.is_critical"·title="is_critical">is_critical</a></li><li><a·href="#method.is_warn"·title="is_warn">is_warn</a></li><li><a·href="#method.new_from_env"·title="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"·title="Clone">Clone</a></li><li><a·href="#impl-Copy-for-TestTimeOptions"·title="Copy">Copy</a></li><li><a·href="#impl-Debug-for-TestTimeOptions"·title="Debug">Debug</a></li><li><a·href="#impl-Default-for-TestTimeOptions"·title="Default">Default</a></li><li><a·href="#impl-Eq-for-TestTimeOptions"·title="Eq">Eq</a></li><li><a·href="#impl-PartialEq-for-TestTimeOptions"·title="PartialEq">PartialEq</a></li><li><a·href="#impl-StructuralPartialEq-for-TestTimeOptions"·title="StructuralPartialEq">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"·title="Freeze">Freeze</a></li><li><a·href="#impl-RefUnwindSafe-for-TestTimeOptions"·title="RefUnwindSafe">RefUnwindSafe</a></li><li><a·href="#impl-Send-for-TestTimeOptions"·title="Send">Send</a></li><li><a·href="#impl-Sync-for-TestTimeOptions"·title="Sync">Sync</a></li><li><a·href="#impl-Unpin-for-TestTimeOptions"·title="Unpin">Unpin</a></li><li><a·href="#impl-UnwindSafe-for-TestTimeOptions"·title="UnwindSafe">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"·title="Any">Any</a></li><li><a·href="#impl-Borrow%3CT%3E-for-T"·title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a·href="#impl-CloneToUninit-for-T"·title="CloneToUninit">CloneToUninit</a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a·href="#impl-ToOwned-for-T"·title="ToOwned">ToOwned</a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div·id="rustdoc-modnav"><h2><a·href="index.html">In·test::<wbr>test</a></h2></div></div></nav><div·class="sidebar-resizer"></div><main><div·class="width-limiter"><rustdoc-search></rustdoc-search><section·id="main-content"·class="content"><div·class="main-heading"><span·class="rustdoc-breadcrumbs"><a·href="../index.html">test</a>::<wbr><a·href="index.html">test</a></span><h1>Struct·<span·class="struct">TestTimeOptions</span><button·id="copy-path"·title="Copy·item·path·to·clipboard">Copy·item·path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span·class="sub-heading"><a·class="src"·href="../../src/test/time.rs.html#134-141">source</a>·</span></div><pre·class="rust·item-decl"><code>pub·struct·TestTimeOptions·{
2 ····pub·error_on_excess:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a>,2 ····pub·error_on_excess:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>,
3 ····pub·unit_threshold:·TimeThreshold,3 ····pub·unit_threshold:·TimeThreshold,
4 ····pub·integration_threshold:·TimeThreshold,4 ····pub·integration_threshold:·TimeThreshold,
5 ····pub·doctest_threshold:·TimeThreshold,5 ····pub·doctest_threshold:·TimeThreshold,
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>Structure·with·parameters·for·calculating·test·execution·time.</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>Structure·with·parameters·for·calculating·test·execution·time.</p>
7 </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.83.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·considered7 </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·considered
8 a·test·failure.</p>8 a·test·failure.</p>
9 </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.83.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:·7933,·SHA:·4f9b1177ddd8e13540dff2829b17cd323757bff3e1af7da574b38c07c7681bac·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,9 </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:·7771,·SHA:·7dd15e1cdec3aa79598b472a5430516faa0742bde44592f68fe2ae786e52ca88·...·]/std/primitive.bool.html">bool</a></h4></section></summary><div·class='docblock'>Tests·for·<code>!=</code>.·The·default·implementation·is·almost·always·sufficient,
10 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#138">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 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#138">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#139">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#209">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#139">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#209">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#211">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.83.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#217">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#211">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#217">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#218">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.83.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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</a>·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_mut"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/borrow.rs.html#218">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-CloneToUninit-for-T"·class="impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#273">source</a><a·href="#impl-CloneToUninit-for-T"·class="anchor">§</a><h3·class="code-header">impl&lt;T&gt;·<a·class="trait"·href="../../core/clone/trait.CloneToUninit.html"·title="trait·core::clone::CloneToUninit">CloneToUninit</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·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="https://doc.rust-lang.org/1.83.0/std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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/clone/trait.Clone.html"·title="trait·core::clone::Clone">Clone</a>,</div></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.clone_to_uninit"·class="method·trait-impl"><a·class="src·rightside"·href="../../src/core/clone.rs.html#275">source</a><a·href="#method.clone_to_uninit"·class="anchor">§</a><h4·class="code-header">unsafe·fn·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit"·class="fn">clone_to_uninit</a>(&amp;self,·dst:·<a·class="primitive"·href="../../std/primitive.pointer.html">*mut·T</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>clone_to_uninit</code>)</span></div></span><div·class='docblock'>Performs·copy-assignment·from·<code>self</code>·to·<code>dst</code>.·<a·href="../../core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">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#82-84">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#82-84">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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.83.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">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·class="src·rightside"·href="../../src/alloc/borrow.rs.html#86">source</a><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#87">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#91">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">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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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-1"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#809">source</a><a·href="#associatedtype.Error-1"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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"·class="associatedtype·trait-impl"><a·class="src·rightside"·href="../../src/core/convert/mod.rs.html#794">source</a><a·href="#associatedtype.Error"·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.44 KB
./usr/share/doc/rust-doc/html/trait.impl/core/cmp/trait.PartialEq.js
4.31 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.83.0/core/marker/trait.Sized.html\"·title=\"trait·core::marker::Sized\">Sized</a>·+·<a·class=\"trait\"·href=\"https://doc.rust-lang.org/1.83.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.83.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.83.0/core/marker/trait.Sized.html\"·title=\"trait·core::marker::Sized\">Sized</a>·+·<a·class=\"trait\"·href=\"https://doc.rust-lang.org/1.83.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.83.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=\"https://doc.rust-lang.org/1.83.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>"],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>"],
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.83.0/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=\"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>"],
Offset 169, 8 lines modifiedOffset 169, 8 lines modified
169 ····]);169 ····]);
170 ····if·(window.register_implementors)·{170 ····if·(window.register_implementors)·{
171 ········window.register_implementors(implementors);171 ········window.register_implementors(implementors);
172 ····}·else·{172 ····}·else·{
173 ········window.pending_implementors·=·implementors;173 ········window.pending_implementors·=·implementors;
174 ····}174 ····}
175 })()175 })()
176 //{"start":57,"fragment_lengths":[27043,12,1373,31461,3288]}176 //{"start":57,"fragment_lengths":[27043,12,1307,31461,3288]}