Offset 1, 20 lines modified | Offset 1, 20 lines modified | ||
1 | ·e3e19dda7ee13fda83b61d3d6e9d366f·72076280·debug·optional·cargo-dbgsym_1.83.0+dfsg1-1_amd64.deb | 1 | ·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.deb | 2 | ·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.deb | 3 | ·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.deb | 4 | ·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.deb | 5 | ·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.deb | 6 | ·60c3bffc21e009e8961d0d7858804ed0·121154512·libdevel·optional·libstd-rust-dev-wasm32_1.83.0+dfsg1-1_all.deb |
7 | · | 7 | ·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.deb | 8 | ·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.deb | 9 | ·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.deb | 10 | ·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.deb | 11 | ·bd4b8edd31e5a40ac9e6232fde0348cb·3297652·devel·optional·rust-clippy_1.83.0+dfsg1-1_amd64.deb |
12 | ·54 | 12 | ·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.deb | 13 | ·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.deb | 14 | ·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.deb | 15 | ·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.deb | 16 | ·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.deb | 17 | ·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.deb | 18 | ·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.deb | 19 | ·cdf945e841533e2e6ae168fa75f92626·24140560·debug·optional·rustfmt-dbgsym_1.83.0+dfsg1-1_amd64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-12-04·17:07:54.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-12-04·17:07:54.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····228 | 2 | -rw-r--r--···0········0········0·····2284·2024-12-04·17:07:54.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0·4365 | 3 | -rw-r--r--···0········0········0·43651924·2024-12-04·17:07:54.000000·data.tar.xz |
Offset 2232, 20 lines modified | Offset 2232, 20 lines modified | ||
2232 | __imp__ZN3std3sys3pal7windows1c20SetThreadDescription3PTR17h3c407cb57d146126E·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o | 2232 | __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.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.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.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.o |
2235 | _ZN3std4pipe10PipeWriter9try_clone17hf4fdd907e1fc9fcfE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o | 2235 | _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.o | 2236 | _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.o | 2237 | _ZN3std3sys3pal7windows7to_u16s17h7b8573b3c2eecf8aE·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o |
2238 | _ZN3std3sys3pal7windows7to_u16s17hf78265f869f81316E·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o | 2238 | _ZN3std3sys3pal7windows7to_u16s17hf78265f869f81316E·in·std-cb1eebab57b6e9e7.std.833d15708c0231d-cgu.15.rcgu.o |
2239 | ___tmp_rustc | 2239 | ___tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib_iname·in·bcryptprimitives.dllt.o |
2240 | _head__tmp_rustc | 2240 | _head__tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib·in·bcryptprimitives.dllh.o |
2241 | ProcessPrng·in·bcryptprimitives.dlls00000.o | 2241 | ProcessPrng·in·bcryptprimitives.dlls00000.o |
2242 | __imp_ProcessPrng·in·bcryptprimitives.dlls00000.o | 2242 | __imp_ProcessPrng·in·bcryptprimitives.dlls00000.o |
2243 | ___tmp_rustc | 2243 | ___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_rustc | 2244 | _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.o | 2245 | 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.o | 2246 | __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.o | 2247 | 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.o | 2248 | __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.o | 2249 | 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.o | 2250 | __imp_WaitOnAddress·in·api-ms-win-core-synch-l1-2-0.dlls00000.o |
Offset 6933, 89 lines modified | Offset 6933, 89 lines modified | ||
6933 | bcryptprimitives.dllt.o: | 6933 | bcryptprimitives.dllt.o: |
6934 | 0000000000000000·b·.bss | 6934 | 0000000000000000·b·.bss |
6935 | 0000000000000000·d·.data | 6935 | 0000000000000000·d·.data |
6936 | 0000000000000000·i·.idata$4 | 6936 | 0000000000000000·i·.idata$4 |
6937 | 0000000000000000·i·.idata$5 | 6937 | 0000000000000000·i·.idata$5 |
6938 | 0000000000000000·i·.idata$7 | 6938 | 0000000000000000·i·.idata$7 |
6939 | 0000000000000000·t·.text | 6939 | 0000000000000000·t·.text |
6940 | 0000000000000000·I·___tmp_rustc | 6940 | 0000000000000000·I·___tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib_iname |
6941 | bcryptprimitives.dllh.o: | 6941 | bcryptprimitives.dllh.o: |
6942 | 0000000000000000·b·.bss | 6942 | 0000000000000000·b·.bss |
6943 | 0000000000000000·d·.data | 6943 | 0000000000000000·d·.data |
6944 | 0000000000000000·i·.idata$2 | 6944 | 0000000000000000·i·.idata$2 |
6945 | 0000000000000000·i·.idata$4 | 6945 | 0000000000000000·i·.idata$4 |
6946 | 0000000000000000·i·.idata$5 | 6946 | 0000000000000000·i·.idata$5 |
6947 | 0000000000000000·t·.text | 6947 | 0000000000000000·t·.text |
6948 | ·················U·___tmp_rustc | 6948 | ·················U·___tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib_iname |
6949 | 0000000000000000·I·_head__tmp_rustc | 6949 | 0000000000000000·I·_head__tmp_rustcXdCzZz_bcryptprimitives_dll_imports_lib |
6950 | 0000000000000000·i·fthunk | 6950 | 0000000000000000·i·fthunk |
6951 | 0000000000000000·i·hname | 6951 | 0000000000000000·i·hname |
6952 | bcryptprimitives.dlls00000.o: | 6952 | bcryptprimitives.dlls00000.o: |
6953 | 0000000000000000·b·.bss | 6953 | 0000000000000000·b·.bss |
6954 | 0000000000000000·d·.data | 6954 | 0000000000000000·d·.data |
6955 | 0000000000000000·i·.idata$4 | 6955 | 0000000000000000·i·.idata$4 |
6956 | 0000000000000000·i·.idata$5 | 6956 | 0000000000000000·i·.idata$5 |
6957 | 0000000000000000·i·.idata$6 | 6957 | 0000000000000000·i·.idata$6 |
6958 | 0000000000000000·i·.idata$7 | 6958 | 0000000000000000·i·.idata$7 |
6959 | 0000000000000000·t·.text | 6959 | 0000000000000000·t·.text |
6960 | 0000000000000000·T·ProcessPrng | 6960 | 0000000000000000·T·ProcessPrng |
6961 | 0000000000000000·I·__imp_ProcessPrng | 6961 | 0000000000000000·I·__imp_ProcessPrng |
6962 | ·················U·_head__tmp_rustc | 6962 | ·················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·.bss | 6964 | 0000000000000000·b·.bss |
6965 | 0000000000000000·d·.data | 6965 | 0000000000000000·d·.data |
6966 | 0000000000000000·i·.idata$4 | 6966 | 0000000000000000·i·.idata$4 |
6967 | 0000000000000000·i·.idata$5 | 6967 | 0000000000000000·i·.idata$5 |
6968 | 0000000000000000·i·.idata$7 | 6968 | 0000000000000000·i·.idata$7 |
6969 | 0000000000000000·t·.text | 6969 | 0000000000000000·t·.text |
6970 | 0000000000000000·I·___tmp_rustc | 6970 | 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·.bss | 6972 | 0000000000000000·b·.bss |
6973 | 0000000000000000·d·.data | 6973 | 0000000000000000·d·.data |
6974 | 0000000000000000·i·.idata$2 | 6974 | 0000000000000000·i·.idata$2 |
6975 | 0000000000000000·i·.idata$4 | 6975 | 0000000000000000·i·.idata$4 |
6976 | 0000000000000000·i·.idata$5 | 6976 | 0000000000000000·i·.idata$5 |
6977 | 0000000000000000·t·.text | 6977 | 0000000000000000·t·.text |
6978 | ·················U·___tmp_rustc | 6978 | ·················U·___tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib_iname |
6979 | 0000000000000000·I·_head__tmp_rustc | 6979 | 0000000000000000·I·_head__tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib |
6980 | 0000000000000000·i·fthunk | 6980 | 0000000000000000·i·fthunk |
6981 | 0000000000000000·i·hname | 6981 | 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·.bss | 6983 | 0000000000000000·b·.bss |
6984 | 0000000000000000·d·.data | 6984 | 0000000000000000·d·.data |
6985 | 0000000000000000·i·.idata$4 | 6985 | 0000000000000000·i·.idata$4 |
6986 | 0000000000000000·i·.idata$5 | 6986 | 0000000000000000·i·.idata$5 |
6987 | 0000000000000000·i·.idata$6 | 6987 | 0000000000000000·i·.idata$6 |
6988 | 0000000000000000·i·.idata$7 | 6988 | 0000000000000000·i·.idata$7 |
6989 | 0000000000000000·t·.text | 6989 | 0000000000000000·t·.text |
6990 | 0000000000000000·T·WakeByAddressSingle | 6990 | 0000000000000000·T·WakeByAddressSingle |
6991 | 0000000000000000·I·__imp_WakeByAddressSingle | 6991 | 0000000000000000·I·__imp_WakeByAddressSingle |
6992 | ·················U·_head__tmp_rustc | 6992 | ·················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·.bss | 6994 | 0000000000000000·b·.bss |
6995 | 0000000000000000·d·.data | 6995 | 0000000000000000·d·.data |
6996 | 0000000000000000·i·.idata$4 | 6996 | 0000000000000000·i·.idata$4 |
6997 | 0000000000000000·i·.idata$5 | 6997 | 0000000000000000·i·.idata$5 |
6998 | 0000000000000000·i·.idata$6 | 6998 | 0000000000000000·i·.idata$6 |
6999 | 0000000000000000·i·.idata$7 | 6999 | 0000000000000000·i·.idata$7 |
7000 | 0000000000000000·t·.text | 7000 | 0000000000000000·t·.text |
7001 | 0000000000000000·T·WakeByAddressAll | 7001 | 0000000000000000·T·WakeByAddressAll |
7002 | 0000000000000000·I·__imp_WakeByAddressAll | 7002 | 0000000000000000·I·__imp_WakeByAddressAll |
7003 | ·················U·_head__tmp_rustc | 7003 | ·················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·.bss | 7005 | 0000000000000000·b·.bss |
7006 | 0000000000000000·d·.data | 7006 | 0000000000000000·d·.data |
7007 | 0000000000000000·i·.idata$4 | 7007 | 0000000000000000·i·.idata$4 |
7008 | 0000000000000000·i·.idata$5 | 7008 | 0000000000000000·i·.idata$5 |
7009 | 0000000000000000·i·.idata$6 | 7009 | 0000000000000000·i·.idata$6 |
7010 | 0000000000000000·i·.idata$7 | 7010 | 0000000000000000·i·.idata$7 |
7011 | 0000000000000000·t·.text | 7011 | 0000000000000000·t·.text |
7012 | 0000000000000000·T·WaitOnAddress | 7012 | 0000000000000000·T·WaitOnAddress |
7013 | 0000000000000000·I·__imp_WaitOnAddress | 7013 | 0000000000000000·I·__imp_WaitOnAddress |
7014 | ·················U·_head__tmp_rustc | 7014 | ·················U·_head__tmp_rustcXdCzZz_api_ms_win_core_synch_l1_2_0_dll_imports_lib |
Offset 30, 11 lines modified | Offset 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· | 00000240:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz | ||
00000250:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive | 00000250:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive | ||
00000260:·735f·646c·6c5f·696d·706f·7274·735f·6c69··s_dll_imports_li | 00000260:·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. |
Offset 32, 14 lines modified | Offset 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··...............i | 00000200:·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· | 00000260:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz | ||
00000270:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive | 00000270:·5f62·6372·7970·7470·7269·6d69·7469·7665··_bcryptprimitive | ||
00000280:·735f·646c·6c5f·696d·706f·7274·735f·6c69··s_dll_imports_li | 00000280:·735f·646c·6c5f·696d·706f·7274·735f·6c69··s_dll_imports_li | ||
00000290:·6200·5f5f·5f74·6d70·5f72·7573·7463· | 00000290:·6200·5f5f·5f74·6d70·5f72·7573·7463·5864··b.___tmp_rustcXd | ||
000002a0:·4 | 000002a0:·437a·5a7a·5f62·6372·7970·7470·7269·6d69··CzZz_bcryptprimi | ||
000002b0:·7469·7665·735f·646c·6c5f·696d·706f·7274··tives_dll_import | 000002b0:·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. |
Offset 32, 10 lines modified | Offset 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...ProcessP | 00000230:·0000·0200·5a00·0000·5072·6f63·6573·7350··....Z...ProcessP | ||
00000240:·726e·6700·5f5f·696d·705f·5072·6f63·6573··rng.__imp_Proces | 00000240:·726e·6700·5f5f·696d·705f·5072·6f63·6573··rng.__imp_Proces | ||
00000250:·7350·726e·6700·5f68·6561·645f·5f74·6d70··sPrng._head__tmp | 00000250:·7350·726e·6700·5f68·6561·645f·5f74·6d70··sPrng._head__tmp | ||
00000260:·5f72·7573·7463· | 00000260:·5f72·7573·7463·5864·437a·5a7a·5f62·6372··_rustcXdCzZz_bcr | ||
00000270:·7970·7470·7269·6d69·7469·7665·735f·646c··yptprimitives_dl | 00000270:·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. |
Offset 31, 11 lines modified | Offset 31, 11 lines modified | ||
000001e0:·0000·0000·0000·0000·0000·0000·2e69·6461··.............ida | 000001e0:·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...___tmp | 00000240:·0600·0000·0200·4a00·0000·5f5f·5f74·6d70··......J...___tmp | ||
00000250:·5f72·7573·7463· | 00000250:·5f72·7573·7463·5864·437a·5a7a·5f61·7069··_rustcXdCzZz_api | ||
00000260:·5f6d·735f·7769·6e5f·636f·7265·5f73·796e··_ms_win_core_syn | 00000260:·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_im | 00000270:·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. |
Offset 32, 16 lines modified | Offset 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··...............i | 00000200:·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· | 00000260:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz | ||
00000270:·5f61·7069·5f6d·735f·7769·6e5f·636f·7265··_api_ms_win_core | 00000270:·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_dl | 00000280:·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· | 000002a0:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz | ||
000002b0:·5f61·7069·5f6d·735f·7769·6e5f·636f·7265··_api_ms_win_core | 000002b0:·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_dl | 000002c0:·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_in | 000002d0:·6c5f·696d·706f·7274·735f·6c69·625f·696e··l_imports_lib_in | ||
000002e0:·616d·6500································ame. | 000002e0:·616d·6500································ame. |
Offset 33, 12 lines modified | Offset 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··WakeByAddressSin | 00000240:·5761·6b65·4279·4164·6472·6573·7353·696e··WakeByAddressSin | ||
00000250:·676c·6500·5f5f·696d·705f·5761·6b65·4279··gle.__imp_WakeBy | 00000250:·676c·6500·5f5f·696d·705f·5761·6b65·4279··gle.__imp_WakeBy | ||
00000260:·4164·6472·6573·7353·696e·676c·6500·5f68··AddressSingle._h | 00000260:·4164·6472·6573·7353·696e·676c·6500·5f68··AddressSingle._h | ||
00000270:·6561·645f·5f74·6d70·5f72·7573·7463· | 00000270:·6561·645f·5f74·6d70·5f72·7573·7463·5864··ead__tmp_rustcXd | ||
00000280:·4 | 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_li | 000002a0:·305f·646c·6c5f·696d·706f·7274·735f·6c69··0_dll_imports_li | ||
000002b0:·6200·····································b. | 000002b0:·6200·····································b. |
Offset 33, 11 lines modified | Offset 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...Wake | 00000230:·0000·0000·0000·0200·7000·0000·5761·6b65··........p...Wake | ||
00000240:·4279·4164·6472·6573·7341·6c6c·005f·5f69··ByAddressAll.__i | 00000240:·4279·4164·6472·6573·7341·6c6c·005f·5f69··ByAddressAll.__i | ||
00000250:·6d70·5f57·616b·6542·7941·6464·7265·7373··mp_WakeByAddress | 00000250:·6d70·5f57·616b·6542·7941·6464·7265·7373··mp_WakeByAddress | ||
00000260:·416c·6c00·5f68·6561·645f·5f74·6d70·5f72··All._head__tmp_r | 00000260:·416c·6c00·5f68·6561·645f·5f74·6d70·5f72··All._head__tmp_r | ||
00000270:·7573·7463· | 00000270:·7573·7463·5864·437a·5a7a·5f61·7069·5f6d··ustcXdCzZz_api_m | ||
00000280:·735f·7769·6e5f·636f·7265·5f73·796e·6368··s_win_core_synch | 00000280:·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_impo | 00000290:·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. |
Offset 32, 11 lines modified | Offset 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...WaitOnAd | 00000230:·0000·0200·6a00·0000·5761·6974·4f6e·4164··....j...WaitOnAd | ||
00000240:·6472·6573·7300·5f5f·696d·705f·5761·6974··dress.__imp_Wait | 00000240:·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· | 00000260:·5f74·6d70·5f72·7573·7463·5864·437a·5a7a··_tmp_rustcXdCzZz | ||
00000270:·5f61·7069·5f6d·735f·7769·6e5f·636f·7265··_api_ms_win_core | 00000270:·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_dl | 00000280:·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. |
Offset 26, 15 lines modified | Offset 26, 15 lines modified | ||
26 | MajorImageVersion» 0 | 26 | MajorImageVersion» 0 |
27 | MinorImageVersion» 0 | 27 | MinorImageVersion» 0 |
28 | MajorSubsystemVersion» 5 | 28 | MajorSubsystemVersion» 5 |
29 | MinorSubsystemVersion» 2 | 29 | MinorSubsystemVersion» 2 |
30 | Win32Version» » 00000000 | 30 | Win32Version» » 00000000 |
31 | SizeOfImage» » 018b3000 | 31 | SizeOfImage» » 018b3000 |
32 | SizeOfHeaders» » 00000600 | 32 | SizeOfHeaders» » 00000600 |
33 | CheckSum» » 0194 | 33 | CheckSum» » 01940c08 |
34 | Subsystem» » 00000003» (Windows·CUI) | 34 | Subsystem» » 00000003» (Windows·CUI) |
35 | DllCharacteristics» 00000160 | 35 | DllCharacteristics» 00000160 |
36 | » » » » » HIGH_ENTROPY_VA | 36 | » » » » » HIGH_ENTROPY_VA |
37 | » » » » » DYNAMIC_BASE | 37 | » » » » » DYNAMIC_BASE |
38 | » » » » » NX_COMPAT | 38 | » » » » » NX_COMPAT |
39 | SizeOfStackReserve» 0000000000200000 | 39 | SizeOfStackReserve» 0000000000200000 |
40 | SizeOfStackCommit» 0000000000001000 | 40 | SizeOfStackCommit» 0000000000001000 |
Offset 49344, 649 lines modified | Offset 49344, 649 lines modified | ||
49344 | [13471](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000928·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.50.llvm.14459945346111354057 | 49344 | [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.9272606483346028836 | 49345 | [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.11864127546875446897 | 49346 | [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.2441129585290359174 | 49347 | [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.4366124857366763847 | 49348 | [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.10428332856253787979 | 49349 | [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_Sleep | 49350 | [13477](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000950·__imp_Sleep |
49351 | [13478](sec·· | 49351 | [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·· | 49352 | [13479](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000072a8·anon.d2903dfbc62ebc3c11024d72a87d87a6.102.llvm.1782781480043305190 |
49353 | [13480](sec·· | 49353 | [13480](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000728·__imp_EnterCriticalSection |
49354 | [13481](sec·· | 49354 | [13481](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000158·__imp_anon.800c2194431feba75d1b432947d0a960.36.llvm.8333869819445519995 |
49355 | [13482](sec·· | 49355 | [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)·0x0000000000000 | 49356 | [13483](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000530·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.3.llvm.10428332856253787979 |
49357 | [13484](sec·· | 49357 | [13484](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000920·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.49.llvm.14459945346111354057 |
49358 | [13485](sec·· | 49358 | [13485](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a00·__imp__unlock |
49359 | [13486](sec·· | 49359 | [13486](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000017106·anon.fd4f6d4d5403e7430f30de5b44ba9afa.5.llvm.11182500100222161459 |
49360 | [13487](sec·· | 49360 | [13487](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1438·listen |
49361 | [13488](sec·· | 49361 | [13488](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026fe0·.refptr.__RUNTIME_PSEUDO_RELOC_LIST__ |
49362 | [13489](sec·· | 49362 | [13489](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001acc·__lib64_libws2_32_a_iname |
49363 | [13490](sec·· | 49363 | [13490](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c10·__imp_anon.76555d795145f7865b952292cc5a6631.21.llvm.4366124857366763847 |
49364 | [13491](sec·· | 49364 | [13491](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a28·__imp_memcmp |
49365 | [13492](sec·· | 49365 | [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)·0x0000000000000 | 49366 | [13493](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000be0·__imp__ZN4core7unicode12unicode_data9uppercase17BITSET_CHUNKS_MAP17h8c5f8c7cce7c5717E |
49367 | [13494](sec·· | 49367 | [13494](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000590·__imp_anon.ca18258cd5980f5014ffef47b5e509fa.58.llvm.10428332856253787979 |
49368 | [13495](sec·· | 49368 | [13495](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000005218·anon.88fa5f823c2ddbef19e2b3a9147fe14c.6.llvm.1863580169923285058 |
49369 | [13496](sec·· | 49369 | [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)·0x000000000002 | 49370 | [13497](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000022dbd·anon.e6bd1a73c89ba8e90c2ce6069483e068.1.llvm.9272606483346028836 |
49371 | [13498](sec·· | 49371 | [13498](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026680·anon.be9df2dadfc85417ac21ee70e9e792f5.4.llvm.17599920620223549232 |
49372 | [13499](sec·· | 49372 | [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)·0x000000000000 | 49373 | [13500](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x000000000000244d·anon.31a4b43ba12dd5138b262840c861d4c8.13.llvm.5065428967589108254 |
49374 | [13501](sec·· | 49374 | [13501](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001438·anon.498bc021f218a19ea0bd0d77fca912c5.0.llvm.2441129585290359174 |
49375 | [13502](sec·· | 49375 | [13502](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000818·__imp_GetProcessId |
49376 | [13503](sec·· | 49376 | [13503](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1540·_Unwind_GetDataRelBase |
49377 | [13504](sec·· | 49377 | [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)·0x0000000000000 | 49378 | [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)·0x0000000000000 | 49379 | [13506](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000b08·__imp_anon.1e922219479ecfd786a35ad2343cd442.14.llvm.14265638721166365920 |
49380 | [13507](sec·· | 49380 | [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··· | 49381 | [13508](sec··1)(fl·0x00)(ty···20)(scl···2)·(nx·0)·0x00000000000c24c8·abort |
49382 | [13509](sec·· | 49382 | [13509](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068850·CloseHandle |
49383 | [13510](sec·· | 49383 | [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)·0x0000000000000 | 49384 | [13511](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000280·__imp_anon.31a4b43ba12dd5138b262840c861d4c8.14.llvm.5065428967589108254 |
49385 | [13512](sec·· | 49385 | [13512](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000650·__imp_anon.d2903dfbc62ebc3c11024d72a87d87a6.89.llvm.1782781480043305190 |
49386 | [13513](sec·· | 49386 | [13513](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068768·GetCurrentProcess |
49387 | [13514](sec·· | 49387 | [13514](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000073d0·anon.d2903dfbc62ebc3c11024d72a87d87a6.117.llvm.1782781480043305190 |
49388 | [13515](sec·· | 49388 | [13515](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ac0·__imp__ZN4core7unicode12unicode_data9lowercase17BITSET_CHUNKS_MAP17hdcb47f8ca91f4c20E |
49389 | [13516](sec·· | 49389 | [13516](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068760·GetCurrentProcessId |
49390 | [13517](sec·· | 49390 | [13517](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000007888·anon.f8725ed9a907991b8955aa6d295c32cf.26.llvm.6078799561565059173 |
49391 | [13518](sec·· | 49391 | [13518](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000a50·__imp_strlen |
49392 | [13519](sec·· | 49392 | [13519](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000687a8·FindFirstFileW |
49393 | [13520](sec·· | 49393 | [13520](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ba8·__imp__Unwind_GetTextRelBase |
49394 | [13521](sec··1)(fl·0x00)(ty··· | 49394 | [13521](sec··1)(fl·0x00)(ty···20)(scl···2)·(nx·0)·0x00000000000c1710·realloc |
49395 | [13522](sec·· | 49395 | [13522](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000c1470·connect |
49396 | [13523](sec·· | 49396 | [13523](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000bc0·__imp__Unwind_SetGR |
49397 | [13524](sec· | 49397 | [13524](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000060b1·anon.ca18258cd5980f5014ffef47b5e509fa.1.llvm.10428332856253787979 |
49398 | [13525](sec· | 49398 | [13525](sec·10)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000028·___crt_xi_end__ |
49399 | [13526](sec·· | 49399 | [13526](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000c78·__imp_anon.be9df2dadfc85417ac21ee70e9e792f5.1.llvm.17599920620223549232 |
49400 | [13527](sec·· | 49400 | [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)·0x0000000000000 | 49401 | [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·· | 49402 | [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)·0x0000000000001 | 49403 | [13530](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001820·anon.800c2194431feba75d1b432947d0a960.25.llvm.8333869819445519995 |
49404 | [13531](sec·· | 49404 | [13531](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000001560·anon.800c2194431feba75d1b432947d0a960.1.llvm.8333869819445519995 |
49405 | [13532](sec·· | 49405 | [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)·0x0000000000000 | 49406 | [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)·0x00000000000004 | 49407 | [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)·0x0000000000000 | 49408 | [13535](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000004d0·__imp_anon.88fa5f823c2ddbef19e2b3a9147fe14c.27.llvm.1863580169923285058 |
49409 | [13536](sec·· | 49409 | [13536](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ba0·__imp_anon.cc468c6b4b14323b7a6607ca77aa32be.51.llvm.15106816085685375291 |
49410 | [13537](sec·· | 49410 | [13537](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000009a8·__imp_VirtualQuery |
49411 | [13538](sec·· | 49411 | [13538](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000020·__imp_anon.670a8b28acf8ec7662a065e17b249818.4.llvm.4953084015894208595 |
49412 | [13539](sec·· | 49412 | [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)·0x0000000000000 | 49413 | [13540](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000130·__imp_anon.800c2194431feba75d1b432947d0a960.23.llvm.8333869819445519995 |
49414 | [13541](sec·· | 49414 | [13541](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000740·__imp_anon.f8725ed9a907991b8955aa6d295c32cf.36.llvm.6078799561565059173 |
49415 | [13542](sec·· | 49415 | [13542](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000171d0·_ZN4core3fmt3num14DEC_DIGITS_LUT17he6eeb3e98e5ff841E |
49416 | [13543](sec·· | 49416 | [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)·0x000000000000 | 49417 | [13544](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000016dc·anon.800c2194431feba75d1b432947d0a960.14.llvm.8333869819445519995 |
49418 | [13545](sec·· | 49418 | [13545](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000004dc8·anon.ed033f86ee3168d767996dbdf3faee19.7.llvm.9995282518195380891 |
49419 | [13546](sec·· | 49419 | [13546](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000858·__imp_HeapFree |
49420 | [13547](sec·· | 49420 | [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)·0x00000000000 | 49421 | [13548](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000022d22·anon.76555d795145f7865b952292cc5a6631.25.llvm.4366124857366763847 |
49422 | [13549](sec·· | 49422 | [13549](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000003918·anon.e87097ae5a60e4af24ba901dd491749d.36.llvm.4429439299360868796 |
49423 | [13550](sec·· | 49423 | [13550](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006c0·__imp_CreateHardLinkW |
49424 | [13551](sec·· | 49424 | [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)·0x00000000000 | 49425 | [13552](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000272f0·__rt_psrelocs_start |
49426 | [13553](sec·· | 49426 | [13553](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000066b8·anon.ca18258cd5980f5014ffef47b5e509fa.57.llvm.10428332856253787979 |
49427 | [13554](sec·· | 49427 | [13554](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000003c0·__imp_anon.e87097ae5a60e4af24ba901dd491749d.42.llvm.4429439299360868796 |
49428 | [13555](sec·· | 49428 | [13555](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068540·WriteConsoleW |
49429 | [13556](sec·· | 49429 | [13556](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000920·__imp_SetFilePointerEx |
49430 | [13557](sec·· | 49430 | [13557](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000038c0·anon.e87097ae5a60e4af24ba901dd491749d.35.llvm.4429439299360868796 |
49431 | [13558](sec·· | 49431 | [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)·0x0000000000000 | 49432 | [13559](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006e0·__imp_anon.f8725ed9a907991b8955aa6d295c32cf.7.llvm.6078799561565059173 |
49433 | [13560](sec·· | 49433 | [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)·0x00000000000 | 49434 | [13561](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000003f68·anon.e87097ae5a60e4af24ba901dd491749d.85.llvm.4429439299360868796 |
49435 | [13562](sec·· | 49435 | [13562](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000021756·anon.cc468c6b4b14323b7a6607ca77aa32be.41.llvm.15106816085685375291 |
49436 | [13563](sec·· | 49436 | [13563](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000980·__imp__ZN3std3sys3pal7windows1c20SetThreadDescription3PTR17h3c407cb57d146126E |
49437 | [13564](sec·· | 49437 | [13564](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000068860·AddVectoredExceptionHandler |
49438 | [13565](sec·· | 49438 | [13565](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000448·__imp_anon.e87097ae5a60e4af24ba901dd491749d.99.llvm.4429439299360868796 |
49439 | [13566](sec·· | 49439 | [13566](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000b60·__imp_setsockopt |
49440 | [13567](sec·· | 49440 | [13567](sec··1)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000685d0·SetFileTime |
49441 | [13568](sec·· | 49441 | [13568](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000ae0·__imp_anon.1e922219479ecfd786a35ad2343cd442.0.llvm.14265638721166365920 |
49442 | [13569](sec·· | 49442 | [13569](sec··7)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000088·_ZN3std2io5stdio6STDOUT17h3e11da81ab24164aE.llvm.5065428967589108254 |
49443 | [13570](sec·· | 49443 | [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)·0x0000000000000 | 49444 | [13571](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000006c8·__imp_CreateNamedPipeW |
49445 | [13572](sec·· | 49445 | [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)·0x0000000000000 | 49446 | [13573](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000398·__imp_anon.e87097ae5a60e4af24ba901dd491749d.37.llvm.4429439299360868796 |
49447 | [13574](sec·· | 49447 | [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·· | 49448 | [13575](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000006d10·anon.d2903dfbc62ebc3c11024d72a87d87a6.23.llvm.1782781480043305190 |
49449 | [13576](sec·· | 49449 | [13576](sec··2)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x00000000000008b8·__imp_anon.e138ab63aec4c8239a92b0832c21e9e7.22.llvm.14459945346111354057 |
49450 | [13577](sec·· | 49450 | [13577](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000017102·anon.fd4f6d4d5403e7430f30de5b44ba9afa.3.llvm.11182500100222161459 |
49451 | [13578](sec·· | 49451 | [13578](sec··9)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000000840·__imp_GetTempPathW |
49452 | [13579](sec·· | 49452 | [13579](sec··3)(fl·0x00)(ty····0)(scl···2)·(nx·0)·0x0000000000026fa8·.refptr._ZN3std9panicking11panic_count18GLOBAL_PANIC_COUNT17haf02b48b479ae48aE |
49453 | [13580](sec·· | 49453 | [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. |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-12-04·17:07:54.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-12-04·17:07:54.000000·debian-binary |
2 | -rw-r--r--···0········0········0···9389 | 2 | -rw-r--r--···0········0········0···938976·2024-12-04·17:07:54.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0·211 | 3 | -rw-r--r--···0········0········0·21158368·2024-12-04·17:07:54.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·rust-doc | 1 | Package:·rust-doc |
2 | Source:·rustc | 2 | Source:·rustc |
3 | Version:·1.83.0+dfsg1-1 | 3 | Version:·1.83.0+dfsg1-1 |
4 | Architecture:·all | 4 | 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:·6213 | 6 | Installed-Size:·621318 |
7 | Depends:·libjs-jquery,·libjs-highlight.js,·libjs-mathjax,·fonts-open-sans,·fonts-font-awesome | 7 | Depends:·libjs-jquery,·libjs-highlight.js,·libjs-mathjax,·fonts-open-sans,·fonts-font-awesome |
8 | Recommends:·cargo-doc | 8 | Recommends:·cargo-doc |
9 | Section:·doc | 9 | Section:·doc |
10 | Priority:·optional | 10 | Priority:·optional |
11 | Homepage:·http://www.rust-lang.org/ | 11 | Homepage:·http://www.rust-lang.org/ |
12 | Description:·Rust·systems·programming·language·-·Documentation | 12 | Description:·Rust·systems·programming·language·-·Documentation |
13 | ·Rust·is·a·curly-brace,·block-structured·expression·language.··It | 13 | ·Rust·is·a·curly-brace,·block-structured·expression·language.··It |
Offset 39695, 48 lines modified | Offset 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.html | 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.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.html | 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.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.html | 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.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.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.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.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.html |
39702 | -rw-r--r--···0·root·········(0)·root·········(0)····3 | 39702 | -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)····28 | 39703 | -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)····31 | 39704 | -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)····47 | 39705 | -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)·····4 | 39706 | -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.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.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.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.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.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.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!.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!.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.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.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.html | 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.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.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.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.js | 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.js |
39716 | -rw-r--r--···0·root·········(0)·root·········(0)····45 | 39716 | -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)····26 | 39717 | -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)····36 | 39718 | -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)····34 | 39719 | -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)····26 | 39720 | -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)····7 | 39721 | -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)····39 | 39722 | -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)····30 | 39723 | -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)····46 | 39724 | -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)····5 | 39725 | -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.html | 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.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.js | 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.js |
39729 | -rw-r--r--···0·root·········(0)·root·········(0)···13 | 39729 | -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)·····5 | 39731 | -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.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.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.js | 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.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)·····40 | 39735 | -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.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.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.js | 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.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.html | 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.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/.nojekyll | 39740 | -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.html | 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.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.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.html |
Offset 44186, 42 lines modified | Offset 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.gz | 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.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.html | 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.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.css | 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.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.html | 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.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.html | 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.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)·····4 | 44193 | -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.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.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.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.html |
44196 | -rw-r--r--···0·root·········(0)·root·········(0)·····38 | 44196 | -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)·····4 | 44197 | -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.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.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.js | 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.js |
44200 | -rw-r--r--···0·root·········(0)·root·········(0)····29 | 44200 | -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)····27 | 44201 | -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.html | 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.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.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.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.html | 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.html |
44207 | -rw-r--r--···0·root·········(0)·root·········(0)····28 | 44207 | -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)····3 | 44208 | -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)····31 | 44209 | -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)···· | 44210 | -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)····3 | 44211 | -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)····29 | 44212 | -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)····3 | 44213 | -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)····33 | 44214 | -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)·····42 | 44215 | -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.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.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.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.html |
44218 | -rw-r--r--···0·root·········(0)·root·········(0)·····4 | 44218 | -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)·····4 | 44219 | -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)·····4 | 44220 | -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.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.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.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.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.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.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.html | 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.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.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.html |
Offset 44231, 43 lines modified | Offset 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.html | 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.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.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.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.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.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.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.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.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.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.js | 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.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)·····4 | 44238 | -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.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.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.js | 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.js |
44241 | -rw-r--r--···0·root·········(0)·root·········(0)····3 | 44241 | -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)····2 | 44242 | -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)····29 | 44243 | -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)····3 | 44244 | -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)····22 | 44245 | -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)····31 | 44246 | -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)····33 | 44247 | -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)····30 | 44249 | -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)····25 | 44250 | -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)····33 | 44251 | -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)····38 | 44252 | -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)····3 | 44253 | -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)····33 | 44254 | -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.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.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.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.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.js | 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.js |
44258 | -rw-r--r--···0·root·········(0)·root·········(0)····29 | 44258 | -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)····30 | 44259 | -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)····29 | 44260 | -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)····3 | 44261 | -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)····22 | 44262 | -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)····3 | 44263 | -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)····3 | 44264 | -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)····3 | 44265 | -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. |
Offset 16, 21 lines modified | Offset 16, 21 lines modified | ||
16 | <p>Note:·rustc·currently·can·ignore·the·grouping·of·tokens·delimited·by·<code>None</code>·in·the·output | 16 | <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·input | 17 | 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·preserve | 19 | 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·used | 20 | 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,·see | 21 | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="enum.Delimiter.html"·title="enum·proc_macro::Delimiter">Delimiter</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
30 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 31 | <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><T>·for·U</code>·chooses·to·do.</p> | 32 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
35 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 35 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
36 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 6, 18 lines modified | Offset 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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 18 | <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><T>·for·U</code>·chooses·to·do.</p> | 19 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 22 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
23 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 15, 21 lines modified | Offset 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·parsed | 18 | <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·the | 19 | 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>.·In | 20 | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="enum.Spacing.html"·title="enum·proc_macro::Spacing">Spacing</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
29 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 30 | <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><T>·for·U</code>·chooses·to·do.</p> | 31 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
34 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 34 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
35 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 21, 23 lines modified | Offset 21, 23 lines modified | ||
21 | <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might | 21 | <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·should | 22 | 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·(as | 23 | <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·matching | 24 | 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·the | 25 | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>>(&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>(&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> <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>(&mut·self,·additional:·<a·class="primitive"·href=" | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>>(&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>(&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> <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>(&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> <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><<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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><<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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><<a·class="struct"·href="struct.Literal.html"·title="struct·proc_macro::Literal">Literal</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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><<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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><<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>·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>)·->·<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><<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>·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>)·->·<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><<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>·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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>>(trees:·I)·->·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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>>(trees:·I)·->·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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
36 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 37 | <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><T>·for·U</code>·chooses·to·do.</p> | 38 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
42 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 42 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
43 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 8 lines modified | Offset 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()·->·<a·class="primitive"·href=" | 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()·->·<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·of | 3 | <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·from | 4 | 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·or | 5 | 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·both | 7 | <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·a | 8 | macro·and·non-macro·use·cases,·<code>proc_macro::is_available()</code>·provides·a |
Offset 19, 26 lines modified | Offset 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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <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><S,·T>(self,·spans:·S,·message:·T)·->·<a·class="struct"·href="struct.Diagnostic.html"·title="struct·proc_macro::Diagnostic">Diagnostic</a><div·class="where">where | 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><S,·T>(self,·spans:·S,·message:·T)·->·<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><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>,</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> <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><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>,</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> <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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <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>(&self)·->·<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> <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>(&self)·->·<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> <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>(&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> <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>(&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> <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>(&self)·->·&<a·class="primitive"·href=" | 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>(&self)·->·&<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> <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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(&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> <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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(&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> <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>(&self)·->·&[<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> <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>(&self)·->·&[<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> <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><S:·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>>(&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> <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><S:·<a·class="trait"·href="trait.MultiSpan.html"·title="trait·proc_macro::MultiSpan">MultiSpan</a>>(&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> <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>(&self)·->·Children<'_></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> <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>(&self)·->·Children<'_></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> <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> <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> <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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
38 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 39 | <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><T>·for·U</code>·chooses·to·do.</p> | 40 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
43 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 43 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
44 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 12 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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> <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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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> <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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><&(dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·+·'static)></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>(&self)·->·&<a·class="primitive"·href=" | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><&(dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·+·'static)></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>(&self)·->·&<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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><&dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>></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><'a>(&'a·self,·request:·&mut·<a·class="struct"·href="../core/error/struct.Request.html"·title="struct·core::error::Request">Request</a><'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>error_generic_member_access</code> <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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
7 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 8 | <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><T>·for·U</code>·chooses·to·do.</p> | 9 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
12 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 12 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
Offset 21, 19 lines modified | Offset 21, 19 lines modified | ||
21 | by·this·group,·but·rather·it·will·only·set·the·span·of·the·delimiter | 21 | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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 | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>s | 24 | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="struct"·href="struct.Group.html"·title="struct·proc_macro::Group">Group</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
32 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 33 | <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><T>·for·U</code>·chooses·to·do.</p> | 34 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
38 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 38 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
39 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 39 lines modified | Offset 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<Ident>">From<Ident></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<Ident>">From<Ident></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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:·&<a·class="primitive"·href=" | 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:·&<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>)·->·<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·the | 4 | 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·information | 6 | <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”·hygiene | 8 | <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·written | 9 | 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·be | 10 | 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”·hygiene | 12 | <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·the | 13 | 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·other | 15 | <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:·&<a·class="primitive"·href=" | 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:·&<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>)·->·<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·language | 18 | 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·segments | 19 | (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>(&self)·->·<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 | 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>(&self)·->·<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>(&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>(&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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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 | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="struct"·href="struct.Ident.html"·title="struct·proc_macro::Ident">Ident</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
32 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 33 | <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><T>·for·U</code>·chooses·to·do.</p> | 34 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
38 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 38 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
39 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 12 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><&(dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·+·'static)></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>(&self)·->·&<a·class="primitive"·href=" | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><&(dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>·+·'static)></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>(&self)·->·&<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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><&dyn·<a·class="trait"·href="../core/error/trait.Error.html"·title="trait·core::error::Error">Error</a>></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><'a>(&'a·self,·request:·&mut·<a·class="struct"·href="../core/error/struct.Request.html"·title="struct·core::error::Request">Request</a><'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>error_generic_member_access</code> <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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
7 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 8 | <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><T>·for·U</code>·chooses·to·do.</p> | 9 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/string/trait.ToString.html"·title="trait·alloc::string::ToString">ToString</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
12 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 12 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
Offset 1, 315 lines modified | Offset 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·(`"hello"`),·byte·string·(`b"hello"`),·C·string·(`c"hello"`),·character·(`'a'`),·byte·character·(`b'a'`),·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<Literal>">From<Literal></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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·(`"hello"`),·byte·string·(`b"hello"`),·C·string·(`c"hello"`),·character·(`'a'`),·byte·character·(`b'a'`),·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<Literal>">From<Literal></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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·number | 2 | 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=" | 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>)·->·<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·integer | 6 | <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·is | 7 | 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·through | 9 | 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>·method | 12 | 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=" | 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>)·->·<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·integer | 15 | <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·is | 16 | 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·through | 18 | 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>·method | 21 | 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=" | 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>)·->·<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·integer | 24 | <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·is | 25 | 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·through | 27 | 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>·method | 30 | 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=" | 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>)·->·<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·integer | 33 | <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·is | 34 | 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·through | 36 | 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>·method | 39 | 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=" | 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>)·->·<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·integer | 42 | <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·is | 43 | 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·through | 45 | 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>·method | 48 | 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=" | 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>)·->·<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·integer | 51 | <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·is | 52 | 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·through | 54 | 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>·method | 57 | 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=" | 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>)·->·<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·integer | 60 | <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·is | 61 | 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·through | 63 | 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>·method | 66 | 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=" | 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>)·->·<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·integer | 69 | <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·is | 70 | 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·through | 72 | 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>·method | 75 | 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=" | 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>)·->·<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·integer | 78 | <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·is | 79 | 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·through | 81 | 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>·method | 84 | 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=" | 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>)·->·<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·integer | 87 | <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·is | 88 | 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·through | 90 | 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>·method | 93 | 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=" | 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>)·->·<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·integer | 96 | <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·is | 97 | 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·through | 99 | 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>·method | 102 | 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=" | 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>)·->·<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·integer | 105 | <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·is | 106 | 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·through | 108 | 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>·method | 111 | 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=" | 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>)·->·<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·integer | 114 | <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·is | 115 | value·specified·is·the·first·part·of·the·token.·No·suffix·is |
116 | specified·on·this·token,·meaning·that·invocations·like | 116 | specified·on·this·token,·meaning·that·invocations·like |
117 | <code>Literal::i8_unsuffixed(1)</code>·are·equivalent·to | 117 | <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·through | 119 | 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>·method | 122 | 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=" | 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>)·->·<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·integer | 125 | <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·is | 126 | value·specified·is·the·first·part·of·the·token.·No·suffix·is |
127 | specified·on·this·token,·meaning·that·invocations·like | 127 | specified·on·this·token,·meaning·that·invocations·like |
Max diff block lines reached; 76096/113051 bytes (67.31%) of diff not shown. |
Offset 1, 32 lines modified | Offset 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<Punct>">From<Punct></a></li><li><a·href="#impl-PartialEq%3CPunct%3E-for-char"·title="PartialEq<Punct>">PartialEq<Punct></a></li><li><a·href="#impl-PartialEq%3Cchar%3E-for-Punct"·title="PartialEq<char>">PartialEq<char></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<Punct>">From<Punct></a></li><li><a·href="#impl-PartialEq%3CPunct%3E-for-char"·title="PartialEq<Punct>">PartialEq<Punct></a></li><li><a·href="#impl-PartialEq%3Cchar%3E-for-Punct"·title="PartialEq<char>">PartialEq<char></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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·different | 2 | <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=" | 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>)·->·<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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self)·->·<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 | 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>(&self)·->·<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·the | 11 | 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>(&self)·->·<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>(&self)·->·<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>(&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>(&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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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 | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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><<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>>·for·<a·class="primitive"·href=" | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>>·for·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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>)·->·<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><<a·class="struct"·href="struct.Punct.html"·title="struct·proc_macro::Punct">Punct</a>>·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><<a·class="primitive"·href=" | 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><<a·class="primitive"·href="../std/primitive.char.html">char</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.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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
25 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 26 | <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><T>·for·U</code>·chooses·to·do.</p> | 27 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
31 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 31 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
32 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 23 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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> <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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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> <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>(&self)·->·<a·class="struct"·href=" | 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>(&self)·->·<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> <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,·this | 4 | <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·on | 6 | <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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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> <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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&Self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&Self)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 18 | <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><T>·for·U</code>·chooses·to·do.</p> | 19 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 22 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
23 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 10, 28 lines modified | Offset 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>(&self)·->·<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> <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>(&self)·->·<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> <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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<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> <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 | 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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<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> <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>(&self)·->·<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> <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 | 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>(&self)·->·<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> <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·return | 15 | 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>(&self)·->·<a·class="struct"·href="../core/ops/range/struct.Range.html"·title="struct·core::ops::range::Range">Range</a><<a·class="primitive"·href=" | 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>(&self)·->·<a·class="struct"·href="../core/ops/range/struct.Range.html"·title="struct·core::ops::range::Range">Range</a><<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> <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>(&self)·->·<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> <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>(&self)·->·<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> <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>(&self)·->·<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> <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>(&self)·->·<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> <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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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> <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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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> <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>(&self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<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> <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>(&self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<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> <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>(&self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·->·<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 | 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>(&self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·->·<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>(&self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·->·<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 | 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>(&self,·other:·<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·->·<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>(&self,·other:·&<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</a>)·->·<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> <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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>></h4></section></summary><div·class="docblock"><p>Returns·the·source·text·behind·a·span.·This·preserves·the·original·source | 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>(&self)·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>></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·span | 32 | 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·and | 34 | <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·to | 35 | 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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <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 | 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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <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 modified | Offset 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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span | 41 | </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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <a·href="https://github.com/rust-lang/rust/issues/54140">#54140</a>)</span></div></span></summary><div·class="docblock"><p>Creates·a·new·<code>Diagnostic</code>·with·the·given·<code>message</code>·at·the·span | 43 | </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><T:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>>(self,·message:·T)·->·<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> <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>(&self)·->·<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>(&mut·self,·source:·&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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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)·->·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</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>proc_macro_diagnostic</code> <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<Span></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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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)·->·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="struct.Span.html"·title="struct·proc_macro::Span">Span</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>proc_macro_diagnostic</code> <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<Span></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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
52 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 53 | <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><T>·for·U</code>·chooses·to·do.</p> | 54 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
57 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 57 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
58 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 15 lines modified | Offset 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<TokenStream>">Extend<TokenStream></a></li><li><a·href="#impl-Extend%3CTokenTree%3E-for-TokenStream"·title="Extend<TokenTree>">Extend<TokenTree></a></li><li><a·href="#impl-From%3CTokenTree%3E-for-TokenStream"·title="From<TokenTree>">From<TokenTree></a></li><li><a·href="#impl-FromIterator%3CTokenStream%3E-for-TokenStream"·title="FromIterator<TokenStream>">FromIterator<TokenStream></a></li><li><a·href="#impl-FromIterator%3CTokenTree%3E-for-TokenStream"·title="FromIterator<TokenTree>">FromIterator<TokenTree></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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 | 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<TokenStream>">Extend<TokenStream></a></li><li><a·href="#impl-Extend%3CTokenTree%3E-for-TokenStream"·title="Extend<TokenTree>">Extend<TokenTree></a></li><li><a·href="#impl-From%3CTokenTree%3E-for-TokenStream"·title="From<TokenTree>">From<TokenTree></a></li><li><a·href="#impl-FromIterator%3CTokenStream%3E-for-TokenStream"·title="FromIterator<TokenStream>">FromIterator<TokenStream></a></li><li><a·href="#impl-FromIterator%3CTokenTree%3E-for-TokenStream"·title="FromIterator<TokenTree>">FromIterator<TokenTree></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>()·->·<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>()·->·<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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>></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> <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 | 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>(&self)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>></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> <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,·although | 11 | <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>.·The | 14 | report·an·error,·failing·compilation,·and/or·return·an·<code>Err(..)</code>.·The |
15 | specific·behavior·for·any·error·condition,·and·what·conditions·are | 15 | specific·behavior·for·any·error·condition,·and·what·conditions·are |
Offset 21, 31 lines modified | Offset 21, 31 lines modified | ||
21 | <p>Note:·the·exact·form·of·the·output·is·subject·to·change,·e.g.·there·might | 21 | <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·should | 22 | 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·(as | 23 | <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·matching | 24 | 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·the | 25 | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>>>(&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>(&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> <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>(&mut·self,·additional:·<a·class="primitive"·href=" | 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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>>·for·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a></h3></section></summary><div·class="impl-items"><details·class="toggle·method-toggle"·open><summary><section·id="method.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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>>>(&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>(&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> <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>(&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> <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> <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><<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>·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>)·->·<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><<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>>·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 | 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>)·->·<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><<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>>·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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>>>(streams:·I)·->·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><<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>·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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="struct"·href="struct.TokenStream.html"·title="struct·proc_macro::TokenStream">TokenStream</a>>>(streams:·I)·->·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><<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>·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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>>(trees:·I)·->·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><I:·<a·class="trait"·href="../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><Item·=·<a·class="enum"·href="enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>>>(trees:·I)·->·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·delimiters | 33 | 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·to | 36 | <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:·&<a·class="primitive"·href=" | 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:·&<a·class="primitive"·href="../std/primitive.str.html">str</a>)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>></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)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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> <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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
44 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 45 | <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><T>·for·U</code>·chooses·to·do.</p> | 46 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
50 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 50 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
51 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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> |
Offset 1, 15 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>(&self)·->·<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>(&mut·self,·source:·&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>(&mut·self)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="enum"·href="../enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>></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>(&self)·->·(<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&mut·self)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="enum"·href="../enum.TokenTree.html"·title="enum·proc_macro::TokenTree">TokenTree</a>></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>(&self)·->·(<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><<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>>)</h4></section></summary><div·clas[·...·truncated·by·diffoscope;·len:·1272,·SHA:·d70cabb5c3d884abca4d169f546706fb06e2c7cd34f7ea833697b78dd1972986·...·]/std/primitive.usize.html">usize</a>>( |
5 | ····&mut·self, | 5 | ····&mut·self, |
6 | )·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</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>;·<a·class="primitive"·href=" | 6 | )·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</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>;·<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><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>><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> <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)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·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> <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)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·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>(&mut·self,·n:·<a·class="primitive"·href=" | 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>(&mut·self,·n:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>)·->·<a·class="struct"·href="../../core/iter/adapters/step_by/struct.StepBy.html"·title="struct·core::iter::adapters::step_by::StepBy">StepBy</a><Self><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·by | 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·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><U>(self,·other:·U)·->·<a·class="struct"·href="../../core/iter/adapters/chain/struct.Chain.html"·title="struct·core::iter::adapters::chain::Chain">Chain</a><Self,·<U·as·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<a·class="associatedtype"·href="../../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·title="type·core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>><div·class="where">where | 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><U>(self,·other:·U)·->·<a·class="struct"·href="../../core/iter/adapters/chain/struct.Chain.html"·title="struct·core::iter::adapters::chain::Chain">Chain</a><Self,·<U·as·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<a·class="associatedtype"·href="../../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·title="type·core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>><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><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>>,</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><U>(self,·other:·U)·->·<a·class="struct"·href="../../core/iter/adapters/zip/struct.Zip.html"·title="struct·core::iter::adapters::zip::Zip">Zip</a><Self,·<U·as·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<a·class="associatedtype"·href="../../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·title="type·core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>><div·class="where">where | 12 | ····U:·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a><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>>,</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><U>(self,·other:·U)·->·<a·class="struct"·href="../../core/iter/adapters/zip/struct.Zip.html"·title="struct·core::iter::adapters::zip::Zip">Zip</a><Self,·<U·as·<a·class="trait"·href="../../core/iter/traits/collect/trait.IntoIterator.html"·title="trait·core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<a·class="associatedtype"·href="../../core/iter/traits/collect/trait.IntoIterator.html#associatedtype.IntoIter"·title="type·core::iter::traits::collect::IntoIterator::IntoIter">IntoIter</a>><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>)·->·<a·class="struct"·href="../../core/iter/adapters/intersperse/struct.Intersperse.html"·title="struct·core::iter::adapters::intersperse::Intersperse">Intersperse</a><Self><div·class="where">where | 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>)·->·<a·class="struct"·href="../../core/iter/adapters/intersperse/struct.Intersperse.html"·title="struct·core::iter::adapters::intersperse::Intersperse">Intersperse</a><Self><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 modified | Offset 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><B,·F>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/map/struct.Map.html"·title="struct·core::iter::adapters::map::Map">Map</a><Self,·F><div·class="where">where | 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><B,·F>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/map/struct.Map.html"·title="struct·core::iter::adapters::map::Map">Map</a><Self,·F><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>)·->·B,</div></h4></section></summary><div·class='docblock'>Takes·a·closure·and·creates·an·iterator·which·calls·that·closure·on·each | 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>)·->·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><F>(self,·f:·F)<div·class="where">where | 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><F>(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><P>(self,·predicate:·P)·->·<a·class="struct"·href="../../core/iter/adapters/filter/struct.Filter.html"·title="struct·core::iter::adapters::filter::Filter">Filter</a><Self,·P><div·class="where">where | 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><P>(self,·predicate:·P)·->·<a·class="struct"·href="../../core/iter/adapters/filter/struct.Filter.html"·title="struct·core::iter::adapters::filter::Filter">Filter</a><Self,·P><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>(&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=" | 27 | ····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>)·->·<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><B,·F>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/filter_map/struct.FilterMap.html"·title="struct·core::iter::adapters::filter_map::FilterMap">FilterMap</a><Self,·F><div·class="where">where | 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><B,·F>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/filter_map/struct.FilterMap.html"·title="struct·core::iter::adapters::filter_map::FilterMap">FilterMap</a><Self,·F><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>)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><B>,</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)·->·<a·class="struct"·href="../../core/iter/adapters/enumerate/struct.Enumerate.html"·title="struct·core::iter::adapters::enumerate::Enumerate">Enumerate</a><Self><div·class="where">where | 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>)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><B>,</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)·->·<a·class="struct"·href="../../core/iter/adapters/enumerate/struct.Enumerate.html"·title="struct·core::iter::adapters::enumerate::Enumerate">Enumerate</a><Self><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·as | 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·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)·->·<a·class="struct"·href="../../core/iter/adapters/peekable/struct.Peekable.html"·title="struct·core::iter::adapters::peekable::Peekable">Peekable</a><Self><div·class="where">where | 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)·->·<a·class="struct"·href="../../core/iter/adapters/peekable/struct.Peekable.html"·title="struct·core::iter::adapters::peekable::Peekable">Peekable</a><Self><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>·methods | 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>·methods |
34 | to·look·at·the·next·element·of·the·iterator·without·consuming·it.·See | 34 | 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><P>(self,·predicate:·P)·->·<a·class="struct"·href="../../core/iter/adapters/skip_while/struct.SkipWhile.html"·title="struct·core::iter::adapters::skip_while::SkipWhile">SkipWhile</a><Self,·P><div·class="where">where | 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><P>(self,·predicate:·P)·->·<a·class="struct"·href="../../core/iter/adapters/skip_while/struct.SkipWhile.html"·title="struct·core::iter::adapters::skip_while::SkipWhile">SkipWhile</a><Self,·P><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>(&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=" | 37 | ····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>)·->·<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><P>(self,·predicate:·P)·->·<a·class="struct"·href="../../core/iter/adapters/take_while/struct.TakeWhile.html"·title="struct·core::iter::adapters::take_while::TakeWhile">TakeWhile</a><Self,·P><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>(&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=" | 39 | ····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>)·->·<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><B,·P>(self,·predicate:·P)·->·<a·class="struct"·href="../../core/iter/adapters/map_while/struct.MapWhile.html"·title="struct·core::iter::adapters::map_while::MapWhile">MapWhile</a><Self,·P><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>)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><B>,</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=" | 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>)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><B>,</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>)·->·<a·class="struct"·href="../../core/iter/adapters/skip/struct.Skip.html"·title="struct·core::iter::adapters::skip::Skip">Skip</a><Self><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=" | 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="../../std/primitive.usize.html">usize</a>)·->·<a·class="struct"·href="../../core/iter/adapters/take/struct.Take.html"·title="struct·core::iter::adapters::take::Take">Take</a><Self><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·fewer | 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·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><St,·B,·F>(self,·initial_state:·St,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/scan/struct.Scan.html"·title="struct·core::iter::adapters::scan::Scan">Scan</a><Self,·St,·F><div·class="where">where | 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><St,·B,·F>(self,·initial_state:·St,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/scan/struct.Scan.html"·title="struct·core::iter::adapters::scan::Scan">Scan</a><Self,·St,·F><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=" | 46 | ····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">&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>)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><B>,</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><U,·F>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/flatten/struct.FlatMap.html"·title="struct·core::iter::adapters::flatten::FlatMap">FlatMap</a><Self,·U,·F><div·class="where">where | 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><U,·F>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/flatten/struct.FlatMap.html"·title="struct·core::iter::adapters::flatten::FlatMap">FlatMap</a><Self,·U,·F><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>)·->·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><F,·R,·const·N:·<a·class="primitive"·href=" | 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>)·->·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><F,·R,·const·N:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/map_windows/struct.MapWindows.html"·title="struct·core::iter::adapters::map_windows::MapWindows">MapWindows</a><Self,·F,·N><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>(&[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=" | 52 | ····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>;·<a·class="primitive"·href="../../std/primitive.array.html">N</a>])·->·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> <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=" | 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)·->·<a·class="struct"·href="../../core/iter/adapters/fuse/struct.Fuse.html"·title="struct·core::iter::adapters::fuse::Fuse">Fuse</a><Self><div·class="where">where | 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)·->·<a·class="struct"·href="../../core/iter/adapters/fuse/struct.Fuse.html"·title="struct·core::iter::adapters::fuse::Fuse">Fuse</a><Self><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><F>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/inspect/struct.Inspect.html"·title="struct·core::iter::adapters::inspect::Inspect">Inspect</a><Self,·F><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><F>(self,·f:·F)·->·<a·class="struct"·href="../../core/iter/adapters/inspect/struct.Inspect.html"·title="struct·core::iter::adapters::inspect::Inspect">Inspect</a><Self,·F><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>(&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>(&mut·self)·->·&mut·Self<div·class="where">where | 57 | ····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'>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>(&mut·self)·->·&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><B>(self)·->·B<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><B>(self)·->·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><Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>>, | 59 | ····B:·<a·class="trait"·href="../../core/iter/traits/collect/trait.FromIterator.html"·title="trait·core::iter::traits::collect::FromIterator">FromIterator</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>>, |
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><E>(self,·collection:·<a·class="primitive"·href=" | 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><E>(self,·collection:·<a·class="primitive"·href="../../std/primitive.reference.html">&mut·E</a>)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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><Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>>, | 61 | ····E:·<a·class="trait"·href="../../core/iter/traits/collect/trait.Extend.html"·title="trait·core::iter::traits::collect::Extend">Extend</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>>, |
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> <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><B,·F>(self,·f:·F)·->·<a·class="primitive"·href=" | 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> <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><B,·F>(self,·f:·F)·->·<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><Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</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><Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>>, |
65 | ····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>)·->·<a·class="primitive"·href=" | 65 | ····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>)·->·<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>)·->·<a·class="primitive"·href=" | 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>)·->·<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> <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><B,·F,·R>(&mut·self,·init:·B,·f:·F)·->·R<div·class="where">where | 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><B,·F,·R>(&mut·self,·init:·B,·f:·F)·->·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>)·->·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>)·->·R, |
71 | ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a><Output·=·B>,</div></h4></section></summary><div·class='docblock'>An·iterator·method·that·applies·a·function·as·long·as·it·returns | 71 | ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a><Output·=·B>,</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><F,·R>(&mut·self,·f:·F)·->·R<div·class="where">where | 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><F,·R>(&mut·self,·f:·F)·->·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>)·->·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>)·->·R, |
75 | ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a><Output·=·<a·class="primitive"·href=" | 75 | ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a><Output·=·<a·class="primitive"·href="../../std/primitive.unit.html">()</a>>,</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><B,·F>(self,·init:·B,·f:·F)·->·B<div·class="where">where | 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><B,·F>(self,·init:·B,·f:·F)·->·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>)·->·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>)·->·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><F>(self,·f:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·class="where">where | 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><F>(self,·f:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·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>)·->·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 | 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>)·->·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><R>( | 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><R>( |
83 | ····&mut·self, | 83 | ····&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>)·->·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>)·->·R, |
85 | )·->·<<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<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><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Output"·title="type·core::ops::try_trait::Try::Output">Output</a>>>>::<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 | 85 | )·->·<<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<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><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<a·class="associatedtype"·href="../../core/ops/try_trait/trait.Try.html#associatedtype.Output"·title="type·core::ops::try_trait::Try::Output">Output</a>>>>::<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><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>>, | 87 | ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a><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>>, |
88 | ····<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<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><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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><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> <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 | 88 | ····<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<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><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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><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> <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><F>(&mut·self,·f:·F)·->·<a·class="primitive"·href=" | 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><F>(&mut·self,·f:·F)·->·<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>)·->·<a·class="primitive"·href=" | 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>)·->·<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>)·->·<a·class="primitive"·href=" | 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>)·->·<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><P>(&mut·self,·predicate:·P)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·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>(&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=" | 95 | ····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>)·->·<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><B,·F>(&mut·self,·f:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><B><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>)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><B>,</div></h4></section></summary><div·class='docblock'>Applies·function·to·the·elements·of·iterator·and·returns | 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>)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><B>,</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><R>( | 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><R>( |
99 | ····&mut·self, | 99 | ····&mut·self, |
100 | ····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>)·->·R, | 100 | ····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>)·->·R, |
101 | )·->·<<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<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><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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>>>>::<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 | 101 | )·->·<<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<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><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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>>>>::<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><Output·=·<a·class="primitive"·href=" | 103 | ····R:·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a><Output·=·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>>, |
104 | ····<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<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><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>try_find</code> <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 | 104 | ····<R·as·<a·class="trait"·href="../../core/ops/try_trait/trait.Try.html"·title="trait·core::ops::try_trait::Try">Try</a>>::<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><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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><span·class="item-info"><div·class="stab·unstable"><span·class="emoji">🔬</span><span>This·is·a·nightly-only·experimental·API.·(<code>try_find</code> <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><P>(&mut·self,·predicate:·P)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="primitive"·href=" | 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><P>(&mut·self,·predicate:·P)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>><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>)·->·<a·class="primitive"·href=" | 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>)·->·<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><B,·F>(self,·f:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·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>(&Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·->·B,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·maximum·value·from·the | 110 | ····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>)·->·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><F>(self,·compare:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·class="where">where | 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><F>(self,·compare:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·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>(&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>)·->·<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 | 113 | ····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>)·->·<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><B,·F>(self,·f:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·class="where">where | 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><B,·F>(self,·f:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·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>(&Self::<a·class="associatedtype"·href="../../core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item"·title="type·core::iter::traits::iterator::Iterator::Item">Item</a>)·->·B,</div></h4></section></summary><div·class='docblock'>Returns·the·element·that·gives·the·minimum·value·from·the | 117 | ····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>)·->·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><F>(self,·compare:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·class="where">where | 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><F>(self,·compare:·F)·->·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</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·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>(&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>)·->·<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 | 120 | ····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>)·->·<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><A,·B,·FromA,·FromB>(self)·->·<a·class="primitive"·href=" | 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><A,·B,·FromA,·FromB>(self)·->·<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><A>, | 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><A>, |
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><B>, | 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><B>, |
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><Item·=·<a·class="primitive"·href=" | 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><Item·=·<a·class="primitive"·href="../../std/primitive.tuple.html">(A,·B)</a>>,</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><'a,·T>(self)·->·<a·class="struct"·href="../../core/iter/adapters/copied/struct.Copied.html"·title="struct·core::iter::adapters::copied::Copied">Copied</a><Self><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><Item·=·<a·class="primitive"·href=" | 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><Item·=·<a·class="primitive"·href="../../std/primitive.reference.html">&'a·T</a>>,</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><'a,·T>(self)·->·<a·class="struct"·href="../../core/iter/adapters/cloned/struct.Cloned.html"·title="struct·core::iter::adapters::cloned::Cloned">Cloned</a><Self><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><Item·=·<a·class="primitive"·href=" | 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><Item·=·<a·class="primitive"·href="../../std/primitive.reference.html">&'a·T</a>>,</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)·->·<a·class="struct"·href="../../core/iter/adapters/cycle/struct.Cycle.html"·title="struct·core::iter::adapters::cycle::Cycle">Cycle</a><Self><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><const·N:·<a·class="primitive"·href=" | 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><const·N:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>>(self)·->·<a·class="struct"·href="../../core/iter/adapters/array_chunks/struct.ArrayChunks.html"·title="struct·core::iter::adapters::array_chunks::ArrayChunks">ArrayChunks</a><Self,·N><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> <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><S>(self)·->·S<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> <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><S>(self)·->·S<div·class="where">where |
Max diff block lines reached; 58543/181110 bytes (32.32%) of diff not shown. |
Offset 1, 6 lines modified | Offset 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<K:·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a><<a·class="struct"·href=" | 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<K:·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a><<a·class="struct"·href="../../std/ffi/os_str/struct.OsStr.html"·title="struct·std::ffi::os_str::OsStr">OsStr</a>>·+·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a><<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>></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> <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·during | 2 | 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·the | 4 | 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> |
Offset 1, 3 lines modified | Offset 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<P:·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a><<a·class="primitive"·href=" | 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<P:·<a·class="trait"·href="../../core/convert/trait.AsRef.html"·title="trait·core::convert::AsRef">AsRef</a><<a·class="primitive"·href="../../std/primitive.str.html">str</a>>>(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> <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> |
Offset 1, 8 lines modified | Offset 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<F>( | 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<F>( |
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=" | 4 | ····monitor_ch:·<a·class="struct"·href="../../std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a><CompletedTest>, |
5 | ····nocapture:·<a·class="primitive"·href=" | 5 | ····nocapture:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>, |
6 | ····f:·F, | 6 | ····f:·F, |
7 | )<div·class="where">where | 7 | )<div·class="where">where |
8 | ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="primitive"·href=" | 8 | ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>,</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> |
Offset 1, 2 lines modified | Offset 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<T,·F>(inner:·<a·class="primitive"·href=" | 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<T,·F>(inner:·<a·class="primitive"·href="../../std/primitive.reference.html">&mut·F</a>)·->·<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>()·->·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>()·->·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> |
Offset 1, 2 lines modified | Offset 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<F>(f:·F)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="primitive"·href=" | 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<F>(f:·F)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>><div·class="where">where |
2 | ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="primitive"·href=" | 2 | ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>,</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> |
Offset 1, 17 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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=" | 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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
11 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 12 | <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><T>·for·U</code>·chooses·to·do.</p> | 13 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
16 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 16 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 23 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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·for | 5 | <p>This·is·fed·into·functions·marked·with·<code>#[bench]</code>·to·allow·for |
6 | set-up·&·tear-down·before·running·a·piece·of·code·repeatedly·via·a | 6 | set-up·&·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=" | 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="../../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><T,·F>(&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>()·->·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>()·->·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><F>(&mut·self,·f:·F)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>><div·class="where">where | 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><F>(&mut·self,·f:·F)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="../stats/struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>>,·<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>><div·class="where">where |
11 | ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="primitive"·href=" | 11 | ····F:·<a·class="trait"·href="../../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(&mut·<a·class="struct"·href="struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>,</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>(&self)·->·<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>(&mut·self,·source:·&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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 18 | <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><T>·for·U</code>·chooses·to·do.</p> | 19 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 22 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
23 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 18 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>()·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>()·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
12 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 13 | <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><T>·for·U</code>·chooses·to·do.</p> | 14 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 17 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
18 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 19 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><__H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>>(&self,·state:·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><__H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>>(&self,·state:·<a·class="primitive"·href="../std/primitive.reference.html">&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">&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>(&self,·other:·&<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="enum"·href="enum.NamePadding.html"·title="enum·test::NamePadding">NamePadding</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
13 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 14 | <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><T>·for·U</code>·chooses·to·do.</p> | 15 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
18 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 18 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
19 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 4, 21 lines modified | Offset 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>()·->·<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>(&self,·other:·&<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>()·->·<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>(&self,·other:·&<a·class="enum"·href="enum.OutputFormat.html"·title="enum·test::OutputFormat">OutputFormat</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
18 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 19 | <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><T>·for·U</code>·chooses·to·do.</p> | 20 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
23 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 23 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
24 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 20 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="test/enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
14 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 15 | <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><T>·for·U</code>·chooses·to·do.</p> | 16 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
19 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 19 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
20 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 21 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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(&'static·<a·class="primitive"·href=" | 4 | ····YesWithMessage(&'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(&'static·<a·class="primitive"·href=" | 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(&'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">&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>(&self,·other:·&<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="enum"·href="test/enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
15 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 16 | <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><T>·for·U</code>·chooses·to·do.</p> | 17 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
20 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 20 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 18 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 2 | ····StaticTestFn(<a·class="primitive"·href="../std/primitive.fn.html">fn</a>()·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>), |
3 | ····StaticBenchFn(<a·class="primitive"·href=" | 3 | ····StaticBenchFn(<a·class="primitive"·href="../std/primitive.fn.html">fn</a>(_:·&mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>), |
4 | ····StaticBenchAsTestFn(<a·class="primitive"·href=" | 4 | ····StaticBenchAsTestFn(<a·class="primitive"·href="../std/primitive.fn.html">fn</a>(_:·&mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>), |
5 | ····DynTestFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a><dyn·<a·class="trait"·href="../core/ops/function/trait.FnOnce.html"·title="trait·core::ops::function::FnOnce">FnOnce</a>()·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="primitive"·href=" | 5 | ····DynTestFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a><dyn·<a·class="trait"·href="../core/ops/function/trait.FnOnce.html"·title="trait·core::ops::function::FnOnce">FnOnce</a>()·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>>), |
6 | ····DynBenchFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a><dyn·<a·class="trait"·href="../core/ops/function/trait.Fn.html"·title="trait·core::ops::function::Fn">Fn</a>(&mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="primitive"·href=" | 6 | ····DynBenchFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a><dyn·<a·class="trait"·href="../core/ops/function/trait.Fn.html"·title="trait·core::ops::function::Fn">Fn</a>(&mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>>), |
7 | ····DynBenchAsTestFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a><dyn·<a·class="trait"·href="../core/ops/function/trait.Fn.html"·title="trait·core::ops::function::Fn">Fn</a>(&mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<a·class="primitive"·href=" | 7 | ····DynBenchAsTestFn(<a·class="struct"·href="../alloc/boxed/struct.Box.html"·title="struct·alloc::boxed::Box">Box</a><dyn·<a·class="trait"·href="../core/ops/function/trait.Fn.html"·title="trait·core::ops::function::Fn">Fn</a>(&mut·<a·class="struct"·href="bench/struct.Bencher.html"·title="struct·test::bench::Bencher">Bencher</a>)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</a>>), |
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=" | 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="../std/primitive.fn.html">fn</a>()·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>>·+·<a·class="trait"·href="../core/marker/trait.Send.html"·title="trait·core::marker::Send">Send</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="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>(&self)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
13 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 14 | <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><T>·for·U</code>·chooses·to·do.</p> | 15 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 17 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
18 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 21 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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(&'static·<a·class="primitive"·href=" | 2 | ····StaticTestName(&'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><'static,·<a·class="primitive"·href=" | 4 | ····AlignedTestName(<a·class="enum"·href="../alloc/borrow/enum.Cow.html"·title="enum·alloc::borrow::Cow">Cow</a><'static,·<a·class="primitive"·href="../std/primitive.str.html">str</a>>,·<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(&'static·<a·class="primitive"·href=" | 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(&'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">&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>(&self,·other:·&<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="enum"·href="test/enum.TestName.html"·title="enum·test::test::TestName">TestName</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
14 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 15 | <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><T>·for·U</code>·chooses·to·do.</p> | 16 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
20 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 20 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 6, 23 lines modified | Offset 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·convention | 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·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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><__H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>>(&self,·state:·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><__H:·<a·class="trait"·href="../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>>(&self,·state:·<a·class="primitive"·href="../std/primitive.reference.html">&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">&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>(&self,·other:·&<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="enum"·href="test/enum.TestType.html"·title="enum·test::test::TestType">TestType</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 23 | <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><T>·for·U</code>·chooses·to·do.</p> | 24 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
27 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 27 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
28 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 4 lines modified | Offset 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<T:·<a·class="trait"·href=" | 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<T:·<a·class="trait"·href="../std/process/trait.Termination.html"·title="trait·std::process::Termination">Termination</a>>(result:·T)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><<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>></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> |
Offset 1, 8 lines modified | Offset 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:·&<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>, | 2 | ····opts:·&<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>, |
3 | ····force_ignore:·<a·class="primitive"·href=" | 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=" | 7 | ····monitor_ch:·<a·class="struct"·href="../std/sync/mpsc/struct.Sender.html"·title="struct·std::sync::mpsc::Sender">Sender</a><CompletedTest>, |
8 | )·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href=" | 8 | )·->·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="../std/thread/struct.JoinHandle.html"·title="struct·std::thread::JoinHandle">JoinHandle</a><<a·class="primitive"·href="../std/primitive.unit.html">()</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></section></div></main></body></html> |
Offset 1, 6 lines modified | Offset 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<F>( | 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<F>( |
2 | ····opts:·&<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>, | 2 | ····opts:·&<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><<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>>, | 3 | ····tests:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>>, |
4 | ····notify_about_test_event:·F, | 4 | ····notify_about_test_event:·F, |
5 | )·->·<a·class="type"·href=" | 5 | )·->·<a·class="type"·href="../std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a><<a·class="primitive"·href="../std/primitive.unit.html">()</a>><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)·->·<a·class="type"·href=" | 6 | ····F:·<a·class="trait"·href="../core/ops/function/trait.FnMut.html"·title="trait·core::ops::function::FnMut">FnMut</a>(TestEvent)·->·<a·class="type"·href="../std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a><<a·class="primitive"·href="../std/primitive.unit.html">()</a>>,</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> |
Offset 1, 6 lines modified | Offset 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:·&<a·class="struct"·href="test/struct.TestOpts.html"·title="struct·test::test::TestOpts">TestOpts</a>, | 2 | ····opts:·&<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><<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>>, | 3 | ····tests:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="test/struct.TestDescAndFn.html"·title="struct·test::test::TestDescAndFn">TestDescAndFn</a>>, |
4 | )·->·<a·class="type"·href=" | 4 | )·->·<a·class="type"·href="../std/io/error/type.Result.html"·title="type·std::io::error::Result">Result</a><<a·class="primitive"·href="../std/primitive.bool.html">bool</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>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> |
Offset 1, 7 lines modified | Offset 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:·&mut·[<a·class="primitive"·href=" | 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:·&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·a | 2 | 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> |
Offset 1, 29 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 2 | ····pub·sum:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
3 | ····pub·min:·<a·class="primitive"·href=" | 3 | ····pub·min:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
4 | ····pub·max:·<a·class="primitive"·href=" | 4 | ····pub·max:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
5 | ····pub·mean:·<a·class="primitive"·href=" | 5 | ····pub·mean:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
6 | ····pub·median:·<a·class="primitive"·href=" | 6 | ····pub·median:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
7 | ····pub·var:·<a·class="primitive"·href=" | 7 | ····pub·var:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
8 | ····pub·std_dev:·<a·class="primitive"·href=" | 8 | ····pub·std_dev:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
9 | ····pub·std_dev_pct:·<a·class="primitive"·href=" | 9 | ····pub·std_dev_pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
10 | ····pub·median_abs_dev:·<a·class="primitive"·href=" | 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=" | 11 | ····pub·median_abs_dev_pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>, |
12 | ····pub·quartiles:·(<a·class="primitive"·href=" | 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=" | 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=" | 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>])·->·<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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="struct"·href="struct.Summary.html"·title="struct·test::stats::Summary">Summary</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
23 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 24 | <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><T>·for·U</code>·chooses·to·do.</p> | 25 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
28 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 28 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
29 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 62 lines modified | Offset 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·methods | 2 | <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>(&self)·->·<a·class="primitive"·href=" | 3 | ····fn·<a·href="#tymethod.sum"·class="fn">sum</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 4 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.min"·class="fn">min</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 5 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.max"·class="fn">max</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 6 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.mean"·class="fn">mean</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 7 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median"·class="fn">median</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 8 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.var"·class="fn">var</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 9 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.std_dev"·class="fn">std_dev</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 10 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.std_dev_pct"·class="fn">std_dev_pct</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 11 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median_abs_dev"·class="fn">median_abs_dev</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 12 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.median_abs_dev_pct"·class="fn">median_abs_dev_pct</a>(&self)·->·<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>(&self,·pct:·<a·class="primitive"·href=" | 13 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.percentile"·class="fn">percentile</a>(&self,·pct:·<a·class="primitive"·href="../../std/primitive.f64.html">f64</a>)·->·<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>(&self)·->·(<a·class="primitive"·href=" | 14 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.quartiles"·class="fn">quartiles</a>(&self)·->·(<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>(&self)·->·<a·class="primitive"·href=" | 15 | <span·class="item-spacer"></span>····fn·<a·href="#tymethod.iqr"·class="fn">iqr</a>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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·accuracy | 18 | <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·Geometric | 20 | <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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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·the | 30 | 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>·rather | 32 | 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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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·the | 36 | <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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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·the | 40 | <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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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·to | 43 | 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·scaled | 44 | <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·standard | 45 | 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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self,·pct:·<a·class="primitive"·href=" | 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>(&self,·pct:·<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>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·<=·v</code>.</p> | 51 | satisfy·<code>s·<=·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>(&self)·->·(<a·class="primitive"·href=" | 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>(&self)·->·(<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>.·This | 55 | 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>,·but | 56 | 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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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=" | 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> |
Offset 1, 18 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 2 | ····pub·display_output:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>, |
3 | ····pub·panic_abort:·<a·class="primitive"·href=" | 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=" | 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="../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>)·->·<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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
12 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 13 | <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><T>·for·U</code>·chooses·to·do.</p> | 14 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 17 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
18 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 28 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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><&'static·<a·class="primitive"·href=" | 4 | ····pub·ignore_message:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><&'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>>, |
5 | ····pub·source_file:·&'static·<a·class="primitive"·href=" | 5 | ····pub·source_file:·&'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>, |
6 | ····pub·start_line:·<a·class="primitive"·href=" | 6 | ····pub·start_line:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>, |
7 | ····pub·start_col:·<a·class="primitive"·href=" | 7 | ····pub·start_col:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>, |
8 | ····pub·end_line:·<a·class="primitive"·href=" | 8 | ····pub·end_line:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>, |
9 | ····pub·end_col:·<a·class="primitive"·href=" | 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=" | 11 | ····pub·compile_fail:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>, |
12 | ····pub·no_run:·<a·class="primitive"·href=" | 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=" | 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>></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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 23 | <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><T>·for·U</code>·chooses·to·do.</p> | 24 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
27 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 27 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
28 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 22 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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:·&'static·<a·class="primitive"·href=" | 5 | ····test_name:·&'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>, |
6 | ····ignore:·<a·class="primitive"·href=" | 6 | ····ignore:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>, |
7 | ····source_file:·&'static·<a·class="primitive"·href=" | 7 | ····source_file:·&'static·<a·class="primitive"·href="../std/primitive.str.html">str</a>, |
8 | ····start_line:·<a·class="primitive"·href=" | 8 | ····start_line:·<a·class="primitive"·href="../std/primitive.usize.html">usize</a>, |
9 | ····no_run:·<a·class="primitive"·href=" | 9 | ····no_run:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>, |
10 | ····should_panic:·<a·class="primitive"·href=" | 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 | )·->·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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 12 | )·->·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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 18 | <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><T>·for·U</code>·chooses·to·do.</p> | 19 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 21 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 16 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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">&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>(&self,·other:·&<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="struct"·href="test/struct.TestId.html"·title="struct·test::test::TestId">TestId</a>)·->·<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<T>·<a·class="trait"·href="../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
10 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 11 | <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><T>·for·U</code>·chooses·to·do.</p> | 12 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
15 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 15 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
16 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 34 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>, | 3 | ····pub·filters:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>, |
4 | ····pub·filter_exact:·<a·class="primitive"·href=" | 4 | ····pub·filter_exact:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>, |
5 | ····pub·force_run_in_process:·<a·class="primitive"·href=" | 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=" | 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=" | 8 | ····pub·run_tests:·<a·class="primitive"·href="../std/primitive.bool.html">bool</a>, |
9 | ····pub·bench_benchmarks:·<a·class="primitive"·href=" | 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><<a·class="struct"·href=" | 10 | ····pub·logfile:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="../std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a>>, |
11 | ····pub·nocapture:·<a·class="primitive"·href=" | 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=" | 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><<a·class="primitive"·href=" | 15 | ····pub·shuffle_seed:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="primitive"·href="../std/primitive.u64.html">u64</a>>, |
16 | ····pub·test_threads:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="primitive"·href=" | 16 | ····pub·test_threads:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="primitive"·href="../std/primitive.usize.html">usize</a>>, |
17 | ····pub·skip:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>, | 17 | ····pub·skip:·<a·class="struct"·href="../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>, |
18 | ····pub·time_options:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="test/struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a>>, | 18 | ····pub·time_options:·<a·class="enum"·href="../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="test/struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a>>, |
19 | ····pub·fail_fast:·<a·class="primitive"·href=" | 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=" | 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·will | 22 | 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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
29 | ····U:·<a·class="trait"·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 30 | <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><T>·for·U</code>·chooses·to·do.</p> | 31 | <code><a·href="../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
33 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 33 | ····U:·<a·class="trait"·href="../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
34 | ····U:·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 20 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="enum.RunIgnored.html"·title="enum·test::test::RunIgnored">RunIgnored</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
14 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 15 | <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><T>·for·U</code>·chooses·to·do.</p> | 16 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
19 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 19 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
20 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 4, 18 lines modified | Offset 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·the | 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·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·the | 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·the |
7 | supplied·channel.·Requires·<code>argv[0]</code>·to·exist·and·point·to·the·binary | 7 | 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>(&self)·->·<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>(&mut·self,·source:·&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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self)·->·<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>(&mut·self,·source:·&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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
15 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 16 | <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><T>·for·U</code>·chooses·to·do.</p> | 17 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
20 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 20 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 21 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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(&'static·<a·class="primitive"·href=" | 4 | ····YesWithMessage(&'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(&'static·<a·class="primitive"·href=" | 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(&'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">&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>(&self,·other:·&<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="enum"·href="enum.ShouldPanic.html"·title="enum·test::test::ShouldPanic">ShouldPanic</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
15 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 16 | <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><T>·for·U</code>·chooses·to·do.</p> | 17 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
20 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 20 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 21 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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(&'static·<a·class="primitive"·href=" | 2 | ····StaticTestName(&'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><'static,·<a·class="primitive"·href=" | 4 | ····AlignedTestName(<a·class="enum"·href="../../alloc/borrow/enum.Cow.html"·title="enum·alloc::borrow::Cow">Cow</a><'static,·<a·class="primitive"·href="../../std/primitive.str.html">str</a>>,·<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(&'static·<a·class="primitive"·href=" | 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(&'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">&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>(&self,·other:·&<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="enum"·href="enum.TestName.html"·title="enum·test::test::TestName">TestName</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
14 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 15 | <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><T>·for·U</code>·chooses·to·do.</p> | 16 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
20 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 20 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 21 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="enum"·href="enum.TestResult.html"·title="enum·test::test::TestResult">TestResult</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
15 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 16 | <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><T>·for·U</code>·chooses·to·do.</p> | 17 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
20 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 20 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 6, 23 lines modified | Offset 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·convention | 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·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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><__H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>>(&self,·state:·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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><__H:·<a·class="trait"·href="../../core/hash/trait.Hasher.html"·title="trait·core::hash::Hasher">Hasher</a>>(&self,·state:·<a·class="primitive"·href="../../std/primitive.reference.html">&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">&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>(&self,·other:·&<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="enum"·href="enum.TestType.html"·title="enum·test::test::TestType">TestType</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 23 | <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><T>·for·U</code>·chooses·to·do.</p> | 24 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
27 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 27 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
28 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 14 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
8 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 9 | <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><T>·for·U</code>·chooses·to·do.</p> | 10 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
13 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 13 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
14 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 25 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>()·->·<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>(&mut·self,·name:·&<a·class="primitive"·href=" | 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>()·->·<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>(&mut·self,·name:·&<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·the | 2 | must·be·non-negative.·The·<code>noise</code>·indicates·the·uncertainty·of·the |
3 | metric,·which·doubles·as·the·“noise·range”·of·acceptable | 3 | metric,·which·doubles·as·the·“noise·range”·of·acceptable |
4 | pairwise-regressions·on·this·named·value,·when·comparing·from·one | 4 | 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·value | 6 | <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·the | 7 | 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·value | 9 | <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·the | 10 | 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>(&self)·->·<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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·other:·&<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·other:·&<a·class="struct"·href="struct.MetricMap.html"·title="struct·test::test::MetricMap">MetricMap</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
19 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 20 | <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><T>·for·U</code>·chooses·to·do.</p> | 21 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
24 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 24 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
25 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 18 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 2 | ····pub·display_output:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>, |
3 | ····pub·panic_abort:·<a·class="primitive"·href=" | 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=" | 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="../../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>)·->·<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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
12 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 13 | <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><T>·for·U</code>·chooses·to·do.</p> | 14 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 17 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
18 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 28 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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><&'static·<a·class="primitive"·href=" | 4 | ····pub·ignore_message:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><&'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>>, |
5 | ····pub·source_file:·&'static·<a·class="primitive"·href=" | 5 | ····pub·source_file:·&'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>, |
6 | ····pub·start_line:·<a·class="primitive"·href=" | 6 | ····pub·start_line:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>, |
7 | ····pub·start_col:·<a·class="primitive"·href=" | 7 | ····pub·start_col:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>, |
8 | ····pub·end_line:·<a·class="primitive"·href=" | 8 | ····pub·end_line:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>, |
9 | ····pub·end_col:·<a·class="primitive"·href=" | 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=" | 11 | ····pub·compile_fail:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>, |
12 | ····pub·no_run:·<a·class="primitive"·href=" | 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=" | 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>></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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 23 | <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><T>·for·U</code>·chooses·to·do.</p> | 24 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
27 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 27 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
28 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 22 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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:·&'static·<a·class="primitive"·href=" | 5 | ····test_name:·&'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>, |
6 | ····ignore:·<a·class="primitive"·href=" | 6 | ····ignore:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>, |
7 | ····source_file:·&'static·<a·class="primitive"·href=" | 7 | ····source_file:·&'static·<a·class="primitive"·href="../../std/primitive.str.html">str</a>, |
8 | ····start_line:·<a·class="primitive"·href=" | 8 | ····start_line:·<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>, |
9 | ····no_run:·<a·class="primitive"·href=" | 9 | ····no_run:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>, |
10 | ····should_panic:·<a·class="primitive"·href=" | 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 | )·->·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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 12 | )·->·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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
17 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 18 | <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><T>·for·U</code>·chooses·to·do.</p> | 19 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 21 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 16 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a>)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&mut·self,·source:·&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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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>(&self,·other:·&<a·class="struct"·href="struct.TestExecTime.html"·title="struct·test::test::TestExecTime">TestExecTime</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
9 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 10 | <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><T>·for·U</code>·chooses·to·do.</p> | 11 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·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>(&self)·->·<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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
15 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 15 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
16 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 16 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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">&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>(&self,·other:·&<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a>)·->·<a·class="primitive"·href=" | 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>(&self,·other:·&<a·class="struct"·href="struct.TestId.html"·title="struct·test::test::TestId">TestId</a>)·->·<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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
10 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 11 | <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><T>·for·U</code>·chooses·to·do.</p> | 12 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
15 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 15 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
16 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 34 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></a></li><li><a·href="#impl-From%3CT%3E-for-T"·title="From<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></a></li><li><a·href="#impl-TryFrom%3CU%3E-for-T"·title="TryFrom<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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><<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>, | 3 | ····pub·filters:·<a·class="struct"·href="../../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>, |
4 | ····pub·filter_exact:·<a·class="primitive"·href=" | 4 | ····pub·filter_exact:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>, |
5 | ····pub·force_run_in_process:·<a·class="primitive"·href=" | 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=" | 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=" | 8 | ····pub·run_tests:·<a·class="primitive"·href="../../std/primitive.bool.html">bool</a>, |
9 | ····pub·bench_benchmarks:·<a·class="primitive"·href=" | 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><<a·class="struct"·href=" | 10 | ····pub·logfile:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="../../std/path/struct.PathBuf.html"·title="struct·std::path::PathBuf">PathBuf</a>>, |
11 | ····pub·nocapture:·<a·class="primitive"·href=" | 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=" | 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><<a·class="primitive"·href=" | 15 | ····pub·shuffle_seed:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="primitive"·href="../../std/primitive.u64.html">u64</a>>, |
16 | ····pub·test_threads:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="primitive"·href=" | 16 | ····pub·test_threads:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="primitive"·href="../../std/primitive.usize.html">usize</a>>, |
17 | ····pub·skip:·<a·class="struct"·href="../../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>, | 17 | ····pub·skip:·<a·class="struct"·href="../../alloc/vec/struct.Vec.html"·title="struct·alloc::vec::Vec">Vec</a><<a·class="struct"·href="../../alloc/string/struct.String.html"·title="struct·alloc::string::String">String</a>>, |
18 | ····pub·time_options:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a>>, | 18 | ····pub·time_options:·<a·class="enum"·href="../../core/option/enum.Option.html"·title="enum·core::option::Option">Option</a><<a·class="struct"·href="struct.TestTimeOptions.html"·title="struct·test::test::TestTimeOptions">TestTimeOptions</a>>, |
19 | ····pub·fail_fast:·<a·class="primitive"·href=" | 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=" | 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·will | 22 | 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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<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>(&self,·f:·&mut·<a·class="struct"·href="../../core/fmt/struct.Formatter.html"·title="struct·core::fmt::Formatter">Formatter</a><'_>)·->·<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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
29 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 30 | <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><T>·for·U</code>·chooses·to·do.</p> | 31 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
33 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 33 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
34 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 1, 22 lines modified | Offset 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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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<T>">Borrow<T></a></li><li><a·href="#impl-BorrowMut%3CT%3E-for-T"·title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></a></li><li><a·href="#impl-Into%3CU%3E-for-T"·title="Into<U>">Into<U></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<U>">TryFrom<U></a></li><li><a·href="#impl-TryInto%3CU%3E-for-T"·title="TryInto<U>">TryInto<U></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=" | 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=" | 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="../../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=" | 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>)·->·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<T>·<a·class="trait"·href="../../core/any/trait.Any.html"·title="trait·core::any::Any">Any</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<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<T>·<a·class="trait"·href="../../core/borrow/trait.Borrow.html"·title="trait·core::borrow::Borrow">Borrow</a><T>·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>(&self)·->·<a·class="primitive"·href=" | 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>(&self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<a·class="trait"·href="../../core/borrow/trait.BorrowMut.html"·title="trait·core::borrow::BorrowMut">BorrowMut</a><T>·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>(&mut·self)·->·<a·class="primitive"·href=" | 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>(&mut·self)·->·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T>·<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>(&self,·dst:·<a·class="primitive"·href=" | 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>(&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<T>·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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)·->·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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where | 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<T,·U>·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><U>·for·T<div·class="where">where |
16 | ····U:·<a·class="trait"·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>,</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)·->·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><T>,</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)·->·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·of | 17 | <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><T>·for·U</code>·chooses·to·do.</p> | 18 | <code><a·href="../../core/convert/trait.From.html"·title="trait·core::convert::From">From</a><T>·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<T>·<a·class="trait"·href="../../alloc/borrow/trait.ToOwned.html"·title="trait·alloc::borrow::ToOwned">ToOwned</a>·for·T<div·class="where">where | 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<T>·<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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href=" | 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>(&self)·->·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>(&self,·target:·<a·class="primitive"·href="../../std/primitive.reference.html">&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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>·for·T<div·class="where">where |
21 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where | 21 | ····U:·<a·class="trait"·href="../../core/convert/trait.Into.html"·title="trait·core::convert::Into">Into</a><T>,</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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><T,·<T·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T,·U>·<a·class="trait"·href="../../core/convert/trait.TryInto.html"·title="trait·core::convert::TryInto">TryInto</a><U>·for·T<div·class="where">where |
22 | ····U:·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>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><T>,</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>·=·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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)·->·<a·class="enum"·href="../../core/result/enum.Result.html"·title="enum·core::result::Result">Result</a><U,·<U·as·<a·class="trait"·href="../../core/convert/trait.TryFrom.html"·title="trait·core::convert::TryFrom">TryFrom</a><T>>::<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'>Performs·the·conversion.</div></details></div></details></div></section></div></main></body></html> |
Offset 48, 16 lines modified | Offset 48, 16 lines modified | ||
48 | ············["impl<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>>·<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><T,·A>"] | 48 | ············["impl<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>>·<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><T,·A>"] |
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><<a·class=\"primitive\"·href=\" | 55 | ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a><<a·class=\"primitive\"·href=\"std/primitive.char.html\">char</a>>·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><<a·class=\"struct\"·href=\"proc_macro/struct.Punct.html\"·title=\"struct·proc_macro::Punct\">Punct</a>>·for·<a·class=\"primitive\"·href=\" | 56 | ············["impl·<a·class=\"trait\"·href=\"core/cmp/trait.PartialEq.html\"·title=\"trait·core::cmp::PartialEq\">PartialEq</a><<a·class=\"struct\"·href=\"proc_macro/struct.Punct.html\"·title=\"struct·proc_macro::Punct\">Punct</a>>·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 modified | Offset 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,13 | 176 | //{"start":57,"fragment_lengths":[27043,12,1307,31461,3288]} |