ferritin 0.1.0

Human-friendly CLI for browsing Rust documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
---
source: ferritin/src/tests.rs
expression: "render_for_tests(Commands::get(\"crate\").recursive(), OutputMode::TestMode)"
---
  Item: test_crate
Kind: Module
Visibility: Public
Defined at: <type-name>test_crate</type-name>
In crate: test-crate (0.1.0)

<truncated level="full">A minimal test crate for rustdoc JSON testing

</truncated>

<section><section-title>Modules</section-title><list>
  <item><label><type-name>link_resolution_tests</type-name></label>
<truncated level="single-line">Module for testing intra-doc link resolution

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested</type-name></label>
<truncated level="single-line">Nested module for testing scoped resolution

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::deeply_nested</type-name></label>
<truncated level="single-line">Another nested module

</truncated>
</item>
  <item><label><type-name>reexport_mod</type-name></label></item>
  <item><label><type-name>submodule</type-name></label>
<truncated level="single-line">A module with items

</truncated>
</item>
</list>
</section><section><section-title>Structs</section-title><list>
  <item><label><type-name>GenericStruct</type-name></label>
<truncated level="single-line">A generic struct for testing multi-paragraph documentation.

This struct <elided chars="409"/></truncated>
</item>
  <item><label><type-name>SubStruct</type-name></label>
<truncated level="single-line">A struct in a submodule

</truncated>
</item>
  <item><label><type-name>TestStruct</type-name></label>
<truncated level="single-line">A simple struct for testing basic functionality.

This struct demonstrates <elided chars="220"/></truncated>
</item>
  <item><label><type-name>TupleStruct</type-name></label>
<truncated level="single-line">A tuple struct for testing

</truncated>
</item>
  <item><label><type-name>UnitStruct</type-name></label>
<truncated level="single-line">A unit struct for testing

</truncated>
</item>
  <item><label><type-name>Vec</type-name></label>
<truncated level="single-line">A contiguous growable array type, written as <inline-code>Vec<T></inline-code>, short for 'vector'.

 <elided chars="8635"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet</type-name></label>
<truncated level="single-line">A <link href="https://doc.rust-lang.org/nightly/std/index.html?search=std%3A%3Acollections">hash set</link> implemented as a <inline-code>HashMap</inline-code> where the value is <inline-code>()</inline-code>.

As with the <link href="http://docs.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html"><inline-code>HashMap</inline-code></link> <elided chars="3232"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::LinkTestStruct</type-name></label>
<truncated level="single-line">Struct in link test module

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::RenamedTestStruct</type-name></label>
<truncated level="single-line">A simple struct for testing basic functionality.

This struct demonstrates <elided chars="220"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::SubStruct</type-name></label>
<truncated level="single-line">A struct in a submodule

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree</type-name></label>
<truncated level="single-line">An ordered map based on a <link href="https://en.wikipedia.org/wiki/B-tree">B-Tree</link>.

Given a key type with a <link href="https://en.wikipedia.org/wiki/Total_order">total order</link>, an <elided chars="5741"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::NestedStruct</type-name></label>
<truncated level="single-line">Struct in nested module

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str</type-name></label>
<truncated level="single-line">A UTF-8–encoded, growable string.

<inline-code>String</inline-code> is the most common string type. It <elided chars="6908"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::deeply_nested::DeepStruct</type-name></label>
<truncated level="single-line">Struct in deeply nested module

</truncated>
</item>
  <item><label><type-name>reexport_mod::SubStruct</type-name></label>
<truncated level="single-line">A struct in a submodule

</truncated>
</item>
  <item><label><type-name>submodule::SubStruct</type-name></label>
<truncated level="single-line">A struct in a submodule

</truncated>
</item>
</list>
</section><section><section-title>Enums</section-title><list>
  <item><label><type-name>GenericEnum</type-name></label>
<truncated level="single-line">A generic enum for testing

See also <link href="https://docs.rs/test-crate/0.1.0/test-crate/submodule/enum.TestEnum.html"><inline-code>crate::TestEnum</inline-code></link>

</truncated>
</item>
  <item><label><type-name>TestEnum</type-name></label>
<truncated level="single-line">An enum for testing

This is like <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link> but without the generic

</truncated>
</item>
  <item><label><type-name>reexport_mod::TestEnum</type-name></label>
<truncated level="single-line">An enum for testing

This is like <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link> but without the generic

</truncated>
</item>
  <item><label><type-name>submodule::TestEnum</type-name></label>
<truncated level="single-line">An enum for testing

This is like <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link> but without the generic

</truncated>
</item>
</list>
</section><section><section-title>Traits</section-title><list>
  <item><label><type-name>ComplexTrait</type-name></label>
<truncated level="single-line">A more complex trait demonstrating various features

</truncated>
</item>
  <item><label><type-name>TestTrait</type-name></label>
<truncated level="single-line">A trait for testing extremely long documentation that exceeds line limits.

This <elided chars="1265"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::TestTrait</type-name></label>
<truncated level="single-line">A trait for testing extremely long documentation that exceeds line limits.

This <elided chars="1265"/></truncated>
</item>
</list>
</section><section><section-title>Functions</section-title><list>
  <item><label><type-name>SubStruct::double</type-name></label>
<truncated level="single-line">Double the value

</truncated>
</item>
  <item><label><type-name>SubStruct::get_value</type-name></label>
<truncated level="single-line">Get the value

</truncated>
</item>
  <item><label><type-name>SubStruct::new</type-name></label>
<truncated level="single-line">Create a new SubStruct

</truncated>
</item>
  <item><label><type-name>TestStruct::get_field</type-name></label>
<truncated level="single-line">Get the field value

</truncated>
</item>
  <item><label><type-name>TestStruct::increment_count</type-name></label>
<truncated level="single-line">Update the count

</truncated>
</item>
  <item><label><type-name>TestStruct::new</type-name></label>
<truncated level="single-line">Create a new TestStruct

</truncated>
</item>
  <item><label><type-name>Vec::allocator</type-name></label>
<truncated level="single-line">Returns a reference to the underlying allocator.

</truncated>
</item>
  <item><label><type-name>Vec::append</type-name></label>
<truncated level="single-line">Moves all the elements of <inline-code>other</inline-code> into <inline-code>self</inline-code>, leaving <inline-code>other</inline-code> empty.

<title>Panics</title>
Panics <elided chars="193"/></truncated>
</item>
  <item><label><type-name>Vec::as_mut_ptr</type-name></label>
<truncated level="single-line">Returns a raw mutable pointer to the vector's buffer, or a dangling raw pointer <elided chars="2176"/></truncated>
</item>
  <item><label><type-name>Vec::as_mut_slice</type-name></label>
<truncated level="single-line">Extracts a mutable slice of the entire vector.

Equivalent to <inline-code>&mut s[..]</inline-code>.

 <elided chars="120"/></truncated>
</item>
  <item><label><type-name>Vec::as_non_null</type-name></label>
<truncated level="single-line">Returns a <inline-code>NonNull</inline-code> pointer to the vector's buffer, or a dangling <inline-code>NonNull</inline-code> pointer <elided chars="1486"/></truncated>
</item>
  <item><label><type-name>Vec::as_ptr</type-name></label>
<truncated level="single-line">Returns a raw pointer to the vector's buffer, or a dangling raw pointer valid <elided chars="1591"/></truncated>
</item>
  <item><label><type-name>Vec::as_slice</type-name></label>
<truncated level="single-line">Extracts a slice containing the entire vector.

Equivalent to <inline-code>&s[..]</inline-code>.

<title>Examples</title>
 <elided chars="106"/></truncated>
</item>
  <item><label><type-name>Vec::capacity</type-name></label>
<truncated level="single-line">Returns the total number of elements the vector can hold without reallocating.

 <elided chars="354"/></truncated>
</item>
  <item><label><type-name>Vec::clear</type-name></label>
<truncated level="single-line">Clears the vector, removing all values.

Note that this method has no effect on <elided chars="109"/></truncated>
</item>
  <item><label><type-name>Vec::const_make_global</type-name></label>
<truncated level="single-line">Interns the <inline-code>Vec<T></inline-code>, making the underlying memory read-only. This method should <elided chars="178"/></truncated>
</item>
  <item><label><type-name>Vec::dedup</type-name></label>
<truncated level="single-line">Removes consecutive repeated elements in the vector according to the <link href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"><inline-code>PartialEq</inline-code></link> <elided chars="165"/></truncated>
</item>
  <item><label><type-name>Vec::dedup_by</type-name></label>
<truncated level="single-line">Removes all but the first of consecutive elements in the vector satisfying a <elided chars="491"/></truncated>
</item>
  <item><label><type-name>Vec::dedup_by_key</type-name></label>
<truncated level="single-line">Removes all but the first of consecutive elements in the vector that resolve to <elided chars="185"/></truncated>
</item>
  <item><label><type-name>Vec::drain</type-name></label>
<truncated level="single-line">Removes the subslice indicated by the given range from the vector, returning a <elided chars="784"/></truncated>
</item>
  <item><label><type-name>Vec::extend_from_slice</type-name></label>
<truncated level="single-line">Clones and appends all elements in a slice to the <inline-code>Vec</inline-code>.

Iterates over the slice  <elided chars="441"/></truncated>
</item>
  <item><label><type-name>Vec::extend_from_within</type-name></label>
<truncated level="single-line">Given a range <inline-code>src</inline-code>, clones a slice of elements in that range and appends it to <elided chars="702"/></truncated>
</item>
  <item><label><type-name>Vec::extract_if</type-name></label>
<truncated level="single-line">Creates an iterator which uses a closure to determine if an element in the <elided chars="1892"/></truncated>
</item>
  <item><label><type-name>Vec::from_fn</type-name></label>
<truncated level="single-line">Creates a <inline-code>Vec<T></inline-code> where each element is produced by calling <inline-code>f</inline-code> with that <elided chars="997"/></truncated>
</item>
  <item><label><type-name>Vec::from_parts</type-name></label>
<truncated level="single-line">Creates a <inline-code>Vec<T></inline-code> directly from a <inline-code>NonNull</inline-code> pointer, a length, and a capacity.

 <elided chars="2897"/></truncated>
</item>
  <item><label><type-name>Vec::from_parts_in</type-name></label>
<truncated level="single-line">Creates a <inline-code>Vec<T, A></inline-code> directly from a <inline-code>NonNull</inline-code> pointer, a length, a capacity, and <elided chars="2880"/></truncated>
</item>
  <item><label><type-name>Vec::from_raw_parts</type-name></label>
<truncated level="single-line">Creates a <inline-code>Vec<T></inline-code> directly from a pointer, a length, and a capacity.

<title>Safety</title>
This <elided chars="3079"/></truncated>
</item>
  <item><label><type-name>Vec::from_raw_parts_in</type-name></label>
<truncated level="single-line">Creates a <inline-code>Vec<T, A></inline-code> directly from a pointer, a length, a capacity, and an <elided chars="2878"/></truncated>
</item>
  <item><label><type-name>Vec::insert</type-name></label>
<truncated level="single-line">Inserts an element at position <inline-code>index</inline-code> within the vector, shifting all elements <elided chars="398"/></truncated>
</item>
  <item><label><type-name>Vec::insert_mut</type-name></label>
<truncated level="single-line">Inserts an element at position <inline-code>index</inline-code> within the vector, shifting all elements <elided chars="413"/></truncated>
</item>
  <item><label><type-name>Vec::into_boxed_slice</type-name></label>
<truncated level="single-line">Converts the vector into <link href="http://docs.rust-lang.org/nightly/alloc/boxed/struct.Box.html"><inline-code>Box<[T]></inline-code></link>.

Before doing the conversion, this method <elided chars="313"/></truncated>
</item>
  <item><label><type-name>Vec::into_chunks</type-name></label>
<truncated level="single-line">Groups every <inline-code>N</inline-code> elements in the <inline-code>Vec<T></inline-code> into chunks to produce a <inline-code>Vec<[T; N]></inline-code>, <elided chars="655"/></truncated>
</item>
  <item><label><type-name>Vec::into_flattened</type-name></label>
<truncated level="single-line">Takes a <inline-code>Vec<[T; N]></inline-code> and flattens it into a <inline-code>Vec<T></inline-code>.

<title>Panics</title>
Panics if the length <elided chars="399"/></truncated>
</item>
  <item><label><type-name>Vec::into_parts</type-name></label>
<truncated level="single-line">Decomposes a <inline-code>Vec<T></inline-code> into its raw components: <inline-code>(NonNull pointer, length, capacity)</inline-code> <elided chars="868"/></truncated>
</item>
  <item><label><type-name>Vec::into_parts_with_alloc</type-name></label>
<truncated level="single-line">Decomposes a <inline-code>Vec<T></inline-code> into its raw components: <inline-code>(NonNull pointer, length,</inline-code> <elided chars="1019"/></truncated>
</item>
  <item><label><type-name>Vec::into_raw_parts</type-name></label>
<truncated level="single-line">Decomposes a <inline-code>Vec<T></inline-code> into its raw components: <inline-code>(pointer, length, capacity)</inline-code>.

Retur <elided chars="1016"/></truncated>
</item>
  <item><label><type-name>Vec::into_raw_parts_with_alloc</type-name></label>
<truncated level="single-line">Decomposes a <inline-code>Vec<T></inline-code> into its raw components: <inline-code>(pointer, length, capacity,</inline-code> <elided chars="999"/></truncated>
</item>
  <item><label><type-name>Vec::is_empty</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if the vector contains no elements.

<title>Examples</title>
 <elided chars="60"/></truncated>
</item>
  <item><label><type-name>Vec::leak</type-name></label>
<truncated level="single-line">Consumes and leaks the <inline-code>Vec</inline-code>, returning a mutable reference to the contents, <inline-code>&'a</inline-code> <elided chars="626"/></truncated>
</item>
  <item><label><type-name>Vec::len</type-name></label>
<truncated level="single-line">Returns the number of elements in the vector, also referred to as its 'length'. <elided chars="55"/></truncated>
</item>
  <item><label><type-name>Vec::new</type-name></label>
<truncated level="single-line">Constructs a new, empty <inline-code>Vec<T></inline-code>.

The vector will not allocate until elements <elided chars="61"/></truncated>
</item>
  <item><label><type-name>Vec::new_in</type-name></label>
<truncated level="single-line">Constructs a new, empty <inline-code>Vec<T, A></inline-code>.

The vector will not allocate until elements <elided chars="129"/></truncated>
</item>
  <item><label><type-name>Vec::peek_mut</type-name></label>
<truncated level="single-line">Returns a mutable reference to the last item in the vector, or <inline-code>None</inline-code> if it is <elided chars="277"/></truncated>
</item>
  <item><label><type-name>Vec::pop</type-name></label>
<truncated level="single-line">Removes the last element from a vector and returns it, or <link href="https://doc.rust-lang.org/nightly/alloc/index.html?search=alloc%3A%3ANone"><inline-code>None</inline-code></link> if it is empty.

 <elided chars="211"/></truncated>
</item>
  <item><label><type-name>Vec::pop_if</type-name></label>
<truncated level="single-line">Removes and returns the last element from a vector if the predicate returns <inline-code>true</inline-code> <elided chars="295"/></truncated>
</item>
  <item><label><type-name>Vec::push</type-name></label>
<truncated level="single-line">Appends an element to the back of a collection.

<title>Panics</title>
Panics if the new <elided chars="369"/></truncated>
</item>
  <item><label><type-name>Vec::push_mut</type-name></label>
<truncated level="single-line">Appends an element to the back of a collection, returning a reference to it.

 <elided chars="531"/></truncated>
</item>
  <item><label><type-name>Vec::push_within_capacity</type-name></label>
<truncated level="single-line">Appends an element and returns a reference to it if there is sufficient spare <elided chars="882"/></truncated>
</item>
  <item><label><type-name>Vec::recycle</type-name></label>
<truncated level="single-line">This clears out this <inline-code>Vec</inline-code> and recycles the allocation into a new <inline-code>Vec</inline-code>. The item <elided chars="1152"/></truncated>
</item>
  <item><label><type-name>Vec::remove</type-name></label>
<truncated level="single-line">Removes and returns the element at position <inline-code>index</inline-code> within the vector, shifting <elided chars="459"/></truncated>
</item>
  <item><label><type-name>Vec::reserve</type-name></label>
<truncated level="single-line">Reserves capacity for at least <inline-code>additional</inline-code> more elements to be inserted in the <elided chars="374"/></truncated>
</item>
  <item><label><type-name>Vec::reserve_exact</type-name></label>
<truncated level="single-line">Reserves the minimum capacity for at least <inline-code>additional</inline-code> more elements to be <elided chars="615"/></truncated>
</item>
  <item><label><type-name>Vec::resize</type-name></label>
<truncated level="single-line">Resizes the <inline-code>Vec</inline-code> in-place so that <inline-code>len</inline-code> is equal to <inline-code>new_len</inline-code>.

If <inline-code>new_len</inline-code> is <elided chars="664"/></truncated>
</item>
  <item><label><type-name>Vec::resize_with</type-name></label>
<truncated level="single-line">Resizes the <inline-code>Vec</inline-code> in-place so that <inline-code>len</inline-code> is equal to <inline-code>new_len</inline-code>.

If <inline-code>new_len</inline-code> is <elided chars="777"/></truncated>
</item>
  <item><label><type-name>Vec::retain</type-name></label>
<truncated level="single-line">Retains only the elements specified by the predicate.

In other words, remove <elided chars="582"/></truncated>
</item>
  <item><label><type-name>Vec::retain_mut</type-name></label>
<truncated level="single-line">Retains only the elements specified by the predicate, passing a mutable <elided chars="367"/></truncated>
</item>
  <item><label><type-name>Vec::set_len</type-name></label>
<truncated level="single-line">Forces the length of the vector to <inline-code>new_len</inline-code>.

This is a low-level operation that <elided chars="1779"/></truncated>
</item>
  <item><label><type-name>Vec::shrink_to</type-name></label>
<truncated level="single-line">Shrinks the capacity of the vector with a lower bound.

The capacity will <elided chars="330"/></truncated>
</item>
  <item><label><type-name>Vec::shrink_to_fit</type-name></label>
<truncated level="single-line">Shrinks the capacity of the vector as much as possible.

The behavior of this <elided chars="380"/></truncated>
</item>
  <item><label><type-name>Vec::spare_capacity_mut</type-name></label>
<truncated level="single-line">Returns the remaining spare capacity of the vector as a slice of <inline-code>MaybeUninit<T></inline-code>. <elided chars="503"/></truncated>
</item>
  <item><label><type-name>Vec::splice</type-name></label>
<truncated level="single-line">Creates a splicing iterator that replaces the specified range in the vector with <elided chars="1151"/></truncated>
</item>
  <item><label><type-name>Vec::split_at_spare_mut</type-name></label>
<truncated level="single-line">Returns vector content as a slice of <inline-code>T</inline-code>, along with the remaining spare capacity <elided chars="1005"/></truncated>
</item>
  <item><label><type-name>Vec::split_off</type-name></label>
<truncated level="single-line">Splits the collection into two at the given index.

Returns a newly allocated <elided chars="641"/></truncated>
</item>
  <item><label><type-name>Vec::swap_remove</type-name></label>
<truncated level="single-line">Removes an element from the vector and returns it.

The removed element is <elided chars="415"/></truncated>
</item>
  <item><label><type-name>Vec::truncate</type-name></label>
<truncated level="single-line">Shortens the vector, keeping the first <inline-code>len</inline-code> elements and dropping the rest.

If <inline-code>l</inline-code> <elided chars="679"/></truncated>
</item>
  <item><label><type-name>Vec::try_remove</type-name></label>
<truncated level="single-line">Remove and return the element at position <inline-code>index</inline-code> within the vector, shifting all <elided chars="402"/></truncated>
</item>
  <item><label><type-name>Vec::try_reserve</type-name></label>
<truncated level="single-line">Tries to reserve capacity for at least <inline-code>additional</inline-code> more elements to be inserted i <elided chars="843"/></truncated>
</item>
  <item><label><type-name>Vec::try_reserve_exact</type-name></label>
<truncated level="single-line">Tries to reserve the minimum capacity for at least <inline-code>additional</inline-code> elements to be <elided chars="1027"/></truncated>
</item>
  <item><label><type-name>Vec::try_with_capacity</type-name></label>
<truncated level="single-line">Constructs a new, empty <inline-code>Vec<T></inline-code> with at least the specified capacity.

The <elided chars="305"/></truncated>
</item>
  <item><label><type-name>Vec::try_with_capacity_in</type-name></label>
<truncated level="single-line">Constructs a new, empty <inline-code>Vec<T, A></inline-code> with at least the specified capacity with the <elided chars="336"/></truncated>
</item>
  <item><label><type-name>Vec::with_capacity</type-name></label>
<truncated level="single-line">Constructs a new, empty <inline-code>Vec<T></inline-code> with at least the specified capacity.

The <elided chars="1333"/></truncated>
</item>
  <item><label><type-name>Vec::with_capacity_in</type-name></label>
<truncated level="single-line">Constructs a new, empty <inline-code>Vec<T, A></inline-code> with at least the specified capacity with the <elided chars="1450"/></truncated>
</item>
  <item><label><type-name>async_function</type-name></label>
<truncated level="single-line">An async function

</truncated>
</item>
  <item><label><type-name>generic_function</type-name></label>
<truncated level="single-line">A generic function

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::capacity</type-name></label>
<truncated level="single-line">Returns the number of elements the set can hold without reallocating.

<title>Examples</title>
 <elided chars="114"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::clear</type-name></label>
<truncated level="single-line">Clears the set, removing all values.

<title>Examples</title>
 <elided chars="72"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::contains</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if the set contains a value.

The value may be any borrowed form <elided chars="246"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::difference</type-name></label>
<truncated level="single-line">Visits the values representing the difference, i.e., the values that are in <inline-code>self</inline-code> <elided chars="482"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::drain</type-name></label>
<truncated level="single-line">Clears the set, returning all elements as an iterator. Keeps the allocated <elided chars="418"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::entry</type-name></label>
<truncated level="single-line">Gets the given value's corresponding entry in the set for in-place manipulation. <elided chars="958"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::extract_if</type-name></label>
<truncated level="single-line">Creates an iterator which uses a closure to determine if an element should be <elided chars="870"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::get</type-name></label>
<truncated level="single-line">Returns a reference to the value in the set, if any, that is equal to the given <elided chars="284"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::get_or_insert</type-name></label>
<truncated level="single-line">Inserts the given <inline-code>value</inline-code> into the set if it is not present, then returns a <elided chars="290"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::get_or_insert_with</type-name></label>
<truncated level="single-line">Inserts a value computed from <inline-code>f</inline-code> into the set if the given <inline-code>value</inline-code> is not present, <elided chars="434"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::hasher</type-name></label>
<truncated level="single-line">Returns a reference to the set's <link href="https://doc.rust-lang.org/nightly/core/hash/trait.BuildHasher.html"><inline-code>BuildHasher</inline-code></link>.

<title>Examples</title>
 <elided chars="162"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::insert</type-name></label>
<truncated level="single-line">Adds a value to the set.

Returns whether the value was newly inserted. That is: <elided chars="397"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::intersection</type-name></label>
<truncated level="single-line">Visits the values representing the intersection, i.e., the values that are both <elided chars="627"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::is_disjoint</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if <inline-code>self</inline-code> has no elements in common with <inline-code>other</inline-code>. This is equivalent <elided chars="278"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::is_empty</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if the set contains no elements.

<title>Examples</title>
 <elided chars="94"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::is_subset</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if the set is a subset of another, i.e., <inline-code>other</inline-code> contains at least <elided chars="277"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::is_superset</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if the set is a superset of another, i.e., <inline-code>self</inline-code> contains at least <elided chars="300"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::iter</type-name></label>
<truncated level="single-line">An iterator visiting all elements in arbitrary order. The iterator element type <elided chars="347"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::len</type-name></label>
<truncated level="single-line">Returns the number of elements in the set.

<title>Examples</title>
 <elided chars="92"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::new</type-name></label>
<truncated level="single-line">Creates an empty <inline-code>HashSet</inline-code>.

The hash set is initially created with a capacity of <elided chars="139"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::new_in</type-name></label>
<truncated level="single-line">Creates an empty <inline-code>HashSet</inline-code> in the provided allocator.

The hash set is initially <elided chars="87"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::remove</type-name></label>
<truncated level="single-line">Removes a value from the set. Returns whether the value was present in the set. <elided chars="290"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::replace</type-name></label>
<truncated level="single-line">Adds a value to the set, replacing the existing value, if any, that is equal to <elided chars="289"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::reserve</type-name></label>
<truncated level="single-line">Reserves capacity for at least <inline-code>additional</inline-code> more elements to be inserted in the <inline-code>Ha</inline-code> <elided chars="419"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::retain</type-name></label>
<truncated level="single-line">Retains only the elements specified by the predicate.

In other words, remove <elided chars="414"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::shrink_to</type-name></label>
<truncated level="single-line">Shrinks the capacity of the set with a lower limit. It will drop down no lower <elided chars="445"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::shrink_to_fit</type-name></label>
<truncated level="single-line">Shrinks the capacity of the set as much as possible. It will drop down as much <elided chars="314"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::symmetric_difference</type-name></label>
<truncated level="single-line">Visits the values representing the symmetric difference, i.e., the values that <elided chars="442"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::take</type-name></label>
<truncated level="single-line">Removes and returns the value in the set, if any, that is equal to the given <elided chars="284"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::try_reserve</type-name></label>
<truncated level="single-line">Tries to reserve capacity for at least <inline-code>additional</inline-code> more elements to be inserted i <elided chars="528"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::union</type-name></label>
<truncated level="single-line">Visits the values representing the union, i.e., all the values in <inline-code>self</inline-code> or <inline-code>other</inline-code>, <elided chars="316"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::with_capacity</type-name></label>
<truncated level="single-line">Creates an empty <inline-code>HashSet</inline-code> with at least the specified capacity.

The hash set <elided chars="310"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::with_capacity_and_hasher</type-name></label>
<truncated level="single-line">Creates an empty <inline-code>HashSet</inline-code> with at least the specified capacity, using <inline-code>hasher</inline-code> to <elided chars="751"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::with_capacity_and_hasher_in</type-name></label>
<truncated level="single-line">Creates an empty <inline-code>HashSet</inline-code> with at least the specified capacity, using <inline-code>hasher</inline-code> to <elided chars="614"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::with_capacity_in</type-name></label>
<truncated level="single-line">Creates an empty <inline-code>HashSet</inline-code> with at least the specified capacity.

The hash set <elided chars="310"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::with_hasher</type-name></label>
<truncated level="single-line">Creates a new empty hash set which will use the given hasher to hash keys.

The <elided chars="575"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::HashSet::with_hasher_in</type-name></label>
<truncated level="single-line">Creates a new empty hash set which will use the given hasher to hash keys and <elided chars="480"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::LinkTestStruct::get_data</type-name></label>
<truncated level="single-line">Another method

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::LinkTestStruct::new</type-name></label>
<truncated level="single-line">Method for testing Self resolution

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::RenamedTestStruct::get_field</type-name></label>
<truncated level="single-line">Get the field value

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::RenamedTestStruct::increment_count</type-name></label>
<truncated level="single-line">Update the count

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::RenamedTestStruct::new</type-name></label>
<truncated level="single-line">Create a new TestStruct

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::SubStruct::double</type-name></label>
<truncated level="single-line">Double the value

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::SubStruct::get_value</type-name></label>
<truncated level="single-line">Get the value

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::SubStruct::new</type-name></label>
<truncated level="single-line">Create a new SubStruct

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::append</type-name></label>
<truncated level="single-line">Moves all elements from <inline-code>other</inline-code> into <inline-code>self</inline-code>, leaving <inline-code>other</inline-code> empty.

If a key from <inline-code>oth</inline-code> <elided chars="743"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::clear</type-name></label>
<truncated level="single-line">Clears the map, removing all elements.

<title>Examples</title>
 <elided chars="81"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::contains_key</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if the map contains a value for the specified key.

The key may be <elided chars="293"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::entry</type-name></label>
<truncated level="single-line">Gets the given key's corresponding entry in the map for in-place manipulation.

 <elided chars="343"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::extract_if</type-name></label>
<truncated level="single-line">Creates an iterator that visits elements (key-value pairs) in the specified <elided chars="1496"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::first_entry</type-name></label>
<truncated level="single-line">Returns the first entry in the map for in-place manipulation. The key of this <elided chars="341"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::first_key_value</type-name></label>
<truncated level="single-line">Returns the first key-value pair in the map. The key in this pair is the <elided chars="223"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::get</type-name></label>
<truncated level="single-line">Returns a reference to the value corresponding to the key.

The key may be any <elided chars="275"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::get_key_value</type-name></label>
<truncated level="single-line">Returns the key-value pair corresponding to the supplied key. This is potentiall <elided chars="1276"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::get_mut</type-name></label>
<truncated level="single-line">Returns a mutable reference to the value corresponding to the key.

The key may <elided chars="292"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::insert</type-name></label>
<truncated level="single-line">Inserts a key-value pair into the map.

If the map did not have this key <elided chars="491"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::into_keys</type-name></label>
<truncated level="single-line">Creates a consuming iterator visiting all the keys, in sorted order. The map <elided chars="243"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::into_values</type-name></label>
<truncated level="single-line">Creates a consuming iterator visiting all the values, in order by key. The map <elided chars="276"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::is_empty</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if the map contains no elements.

<title>Examples</title>
 <elided chars="101"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::iter</type-name></label>
<truncated level="single-line">Gets an iterator over the entries of the map, sorted by key.

<title>Examples</title>
 <elided chars="291"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::iter_mut</type-name></label>
<truncated level="single-line">Gets a mutable iterator over the entries of the map, sorted by key.

<title>Examples</title>
 <elided chars="236"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::keys</type-name></label>
<truncated level="single-line">Gets an iterator over the keys of the map, in sorted order.

<title>Examples</title>
 <elided chars="161"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::last_entry</type-name></label>
<truncated level="single-line">Returns the last entry in the map for in-place manipulation. The key of this <elided chars="337"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::last_key_value</type-name></label>
<truncated level="single-line">Returns the last key-value pair in the map. The key in this pair is the maximum <elided chars="180"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::len</type-name></label>
<truncated level="single-line">Returns the number of elements in the map.

<title>Examples</title>
 <elided chars="99"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::lower_bound</type-name></label>
<truncated level="single-line">Returns a <link href="http://docs.rust-lang.org/nightly/alloc/collections/btree/map/struct.Cursor.html"><inline-code>Cursor</inline-code></link> pointing at the gap before the smallest key greater than the <elided chars="962"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::lower_bound_mut</type-name></label>
<truncated level="single-line">Returns a <link href="http://docs.rust-lang.org/nightly/alloc/collections/btree/map/struct.CursorMut.html"><inline-code>CursorMut</inline-code></link> pointing at the gap before the smallest key greater than <elided chars="1013"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::new</type-name></label>
<truncated level="single-line">Makes a new, empty <inline-code>BTreeMap</inline-code>.

Does not allocate anything on its own.

<title>Examples</title>
 <elided chars="132"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::new_in</type-name></label>
<truncated level="single-line">Makes a new empty BTreeMap with a reasonable choice for B.

<title>Examples</title>
 <elided chars="155"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::pop_first</type-name></label>
<truncated level="single-line">Removes and returns the first element in the map. The key of this element is <elided chars="352"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::pop_last</type-name></label>
<truncated level="single-line">Removes and returns the last element in the map. The key of this element is the <elided chars="351"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::range</type-name></label>
<truncated level="single-line">Constructs a double-ended iterator over a sub-range of elements in the map. The <elided chars="711"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::range_mut</type-name></label>
<truncated level="single-line">Constructs a mutable double-ended iterator over a sub-range of elements in the <elided chars="692"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::remove</type-name></label>
<truncated level="single-line">Removes a key from the map, returning the value at the key if the key was <elided chars="318"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::remove_entry</type-name></label>
<truncated level="single-line">Removes a key from the map, returning the stored key and value if the key was <elided chars="339"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::retain</type-name></label>
<truncated level="single-line">Retains only the elements specified by the predicate.

In other words, remove <elided chars="368"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::split_off</type-name></label>
<truncated level="single-line">Splits the collection into two at the given key. Returns everything after the <elided chars="511"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::try_insert</type-name></label>
<truncated level="single-line">Tries to insert a key-value pair into the map, and returns a mutable reference <elided chars="457"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::upper_bound</type-name></label>
<truncated level="single-line">Returns a <link href="http://docs.rust-lang.org/nightly/alloc/collections/btree/map/struct.Cursor.html"><inline-code>Cursor</inline-code></link> pointing at the gap after the greatest key smaller than the <elided chars="958"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::upper_bound_mut</type-name></label>
<truncated level="single-line">Returns a <link href="http://docs.rust-lang.org/nightly/alloc/collections/btree/map/struct.CursorMut.html"><inline-code>CursorMut</inline-code></link> pointing at the gap after the greatest key smaller than the <elided chars="1009"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::values</type-name></label>
<truncated level="single-line">Gets an iterator over the values of the map, in order by key.

<title>Examples</title>
 <elided chars="196"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::Tree::values_mut</type-name></label>
<truncated level="single-line">Gets a mutable iterator over the values of the map, in order by key.

<title>Examples</title>
 <elided chars="341"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::NestedStruct::new</type-name></label>
<truncated level="single-line">Create new NestedStruct

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::as_bytes</type-name></label>
<truncated level="single-line">Returns a byte slice of this <inline-code>String</inline-code>'s contents.

The inverse of this method is  <elided chars="104"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::as_mut_str</type-name></label>
<truncated level="single-line">Converts a <inline-code>String</inline-code> into a mutable string slice.

<title>Examples</title>
 <elided chars="112"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::as_mut_vec</type-name></label>
<truncated level="single-line">Returns a mutable reference to the contents of this <inline-code>String</inline-code>.

<title>Safety</title>
This <elided chars="463"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::as_str</type-name></label>
<truncated level="single-line">Extracts a string slice containing the entire <inline-code>String</inline-code>.

<title>Examples</title>
 <elided chars="43"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::capacity</type-name></label>
<truncated level="single-line">Returns this <inline-code>String</inline-code>'s capacity, in bytes.

<title>Examples</title>
 <elided chars="35"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::clear</type-name></label>
<truncated level="single-line">Truncates this <inline-code>String</inline-code>, removing all contents.

While this means the <inline-code>String</inline-code> will <elided chars="185"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::drain</type-name></label>
<truncated level="single-line">Removes the specified range from the string in bulk, returning all removed <elided chars="871"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::extend_from_within</type-name></label>
<truncated level="single-line">Copies elements from <inline-code>src</inline-code> range to the end of the string.

<title>Panics</title>
Panics if the <elided chars="409"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_raw_parts</type-name></label>
<truncated level="single-line">Creates a new <inline-code>String</inline-code> from a pointer, a length and a capacity.

<title>Safety</title>
This is <elided chars="963"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf16</type-name></label>
<truncated level="single-line">Decode a native endian UTF-16–encoded vector <inline-code>v</inline-code> into a <inline-code>String</inline-code>, returning <link href="https://doc.rust-lang.org/nightly/alloc/index.html?search=alloc%3A%3AErr"><inline-code>Err</inline-code></link> <elided chars="350"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf16_lossy</type-name></label>
<truncated level="single-line">Decode a native endian UTF-16–encoded slice <inline-code>v</inline-code> into a <inline-code>String</inline-code>, replacing <elided chars="440"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf16be</type-name></label>
<truncated level="single-line">Decode a UTF-16BE–encoded vector <inline-code>v</inline-code> into a <inline-code>String</inline-code>, returning <link href="https://doc.rust-lang.org/nightly/alloc/index.html?search=alloc%3A%3AErr"><inline-code>Err</inline-code></link> if <inline-code>v</inline-code> contains <elided chars="447"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf16be_lossy</type-name></label>
<truncated level="single-line">Decode a UTF-16BE–encoded slice <inline-code>v</inline-code> into a <inline-code>String</inline-code>, replacing invalid data with  <elided chars="517"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf16le</type-name></label>
<truncated level="single-line">Decode a UTF-16LE–encoded vector <inline-code>v</inline-code> into a <inline-code>String</inline-code>, returning <link href="https://doc.rust-lang.org/nightly/alloc/index.html?search=alloc%3A%3AErr"><inline-code>Err</inline-code></link> if <inline-code>v</inline-code> contains <elided chars="447"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf16le_lossy</type-name></label>
<truncated level="single-line">Decode a UTF-16LE–encoded slice <inline-code>v</inline-code> into a <inline-code>String</inline-code>, replacing invalid data with  <elided chars="517"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf8</type-name></label>
<truncated level="single-line">Converts a vector of bytes to a <inline-code>String</inline-code>.

A string (<link href="http://docs.rust-lang.org/nightly/alloc/string/struct.String.html"><inline-code>String</inline-code></link>) is made of bytes (<link href="https://doc.rust-lang.org/nightly/core/primitive.u8.html"><inline-code>u8</inline-code></link>) <elided chars="1328"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf8_lossy</type-name></label>
<truncated level="single-line">Converts a slice of bytes to a string, including invalid characters.

Strings <elided chars="1241"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf8_lossy_owned</type-name></label>
<truncated level="single-line">Converts a <link href="http://docs.rust-lang.org/nightly/alloc/vec/struct.Vec.html"><inline-code>Vec<u8></inline-code></link> to a <inline-code>String</inline-code>, substituting invalid UTF-8 sequences with <elided chars="634"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::from_utf8_unchecked</type-name></label>
<truncated level="single-line">Converts a vector of bytes to a <inline-code>String</inline-code> without checking that the string <elided chars="540"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::insert</type-name></label>
<truncated level="single-line">Inserts a character into this <inline-code>String</inline-code> at byte position <inline-code>idx</inline-code>.

Reallocates if <inline-code>self.</inline-code> <elided chars="457"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::insert_str</type-name></label>
<truncated level="single-line">Inserts a string slice into this <inline-code>String</inline-code> at byte position <inline-code>idx</inline-code>.

Reallocates if <inline-code>se</inline-code> <elided chars="428"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::into_boxed_str</type-name></label>
<truncated level="single-line">Converts this <inline-code>String</inline-code> into a <link href="http://docs.rust-lang.org/nightly/alloc/boxed/struct.Box.html">Box</link><<link href="https://doc.rust-lang.org/nightly/core/primitive.str.html">str</link>>.

Before doing the conversion, this method <elided chars="182"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::into_bytes</type-name></label>
<truncated level="single-line">Converts a <inline-code>String</inline-code> into a byte vector.

This consumes the <inline-code>String</inline-code>, so we do not <elided chars="149"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::into_chars</type-name></label>
<truncated level="single-line">Converts a <inline-code>String</inline-code> into an iterator over the <link href="https://doc.rust-lang.org/nightly/core/primitive.char.html"><inline-code>char</inline-code></link>s of the string.

As a string <elided chars="1089"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::into_raw_parts</type-name></label>
<truncated level="single-line">Decomposes a <inline-code>String</inline-code> into its raw components: <inline-code>(pointer, length, capacity)</inline-code>.

Retur <elided chars="673"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::is_empty</type-name></label>
<truncated level="single-line">Returns <inline-code>true</inline-code> if this <inline-code>String</inline-code> has a length of zero, and <inline-code>false</inline-code> otherwise.

<title>Examples</title>
 <elided chars="87"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::leak</type-name></label>
<truncated level="single-line">Consumes and leaks the <inline-code>String</inline-code>, returning a mutable reference to the contents, <inline-code>&'</inline-code> <elided chars="681"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::len</type-name></label>
<truncated level="single-line">Returns the length of this <inline-code>String</inline-code>, in bytes, not <link href="https://doc.rust-lang.org/nightly/core/primitive.char.html"><inline-code>char</inline-code></link>s or graphemes. In other <elided chars="238"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::new</type-name></label>
<truncated level="single-line">Creates a new empty <inline-code>String</inline-code>.

Given that the <inline-code>String</inline-code> is empty, this will not <elided chars="309"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::pop</type-name></label>
<truncated level="single-line">Removes the last character from the string buffer and returns it.

Returns <link href="https://doc.rust-lang.org/nightly/alloc/index.html?search=alloc%3A%3ANone"><inline-code>None</inline-code></link> <elided chars="193"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::push</type-name></label>
<truncated level="single-line">Appends the given <link href="https://doc.rust-lang.org/nightly/core/primitive.char.html"><inline-code>char</inline-code></link> to the end of this <inline-code>String</inline-code>.

<title>Panics</title>
Panics if the new <elided chars="137"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::push_str</type-name></label>
<truncated level="single-line">Appends a given string slice onto the end of this <inline-code>String</inline-code>.

<title>Panics</title>
Panics if the <elided chars="125"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::remove</type-name></label>
<truncated level="single-line">Removes a <link href="https://doc.rust-lang.org/nightly/core/primitive.char.html"><inline-code>char</inline-code></link> from this <inline-code>String</inline-code> at byte position <inline-code>idx</inline-code> and returns it.

Copies <elided chars="361"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::remove_matches</type-name></label>
<truncated level="single-line">Remove all matches of pattern <inline-code>pat</inline-code> in the <inline-code>String</inline-code>.

<title>Examples</title>
 <elided chars="405"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::replace_first</type-name></label>
<truncated level="single-line">Replaces the leftmost occurrence of a pattern with another string, in-place.

Th <elided chars="398"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::replace_last</type-name></label>
<truncated level="single-line">Replaces the rightmost occurrence of a pattern with another string, in-place.

 <elided chars="224"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::replace_range</type-name></label>
<truncated level="single-line">Removes the specified range in the string, and replaces it with the given <elided chars="476"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::reserve</type-name></label>
<truncated level="single-line">Reserves capacity for at least <inline-code>additional</inline-code> bytes more than the current length. <elided chars="778"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::reserve_exact</type-name></label>
<truncated level="single-line">Reserves the minimum capacity for at least <inline-code>additional</inline-code> bytes more than the <elided chars="832"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::retain</type-name></label>
<truncated level="single-line">Retains only the characters specified by the predicate.

In other words, remove <elided chars="585"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::shrink_to</type-name></label>
<truncated level="single-line">Shrinks the capacity of this <inline-code>String</inline-code> with a lower bound.

The capacity will <elided chars="314"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::shrink_to_fit</type-name></label>
<truncated level="single-line">Shrinks the capacity of this <inline-code>String</inline-code> to match its length.

<title>Examples</title>
 <elided chars="114"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::split_off</type-name></label>
<truncated level="single-line">Splits the string into two at the given byte index.

Returns a newly allocated <inline-code>S</inline-code> <elided chars="444"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::truncate</type-name></label>
<truncated level="single-line">Shortens this <inline-code>String</inline-code> to the specified length.

If <inline-code>new_len</inline-code> is greater than or <elided chars="271"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::try_reserve</type-name></label>
<truncated level="single-line">Tries to reserve capacity for at least <inline-code>additional</inline-code> bytes more than the current <elided chars="760"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::try_reserve_exact</type-name></label>
<truncated level="single-line">Tries to reserve the minimum capacity for at least <inline-code>additional</inline-code> bytes more than <elided chars="952"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::try_with_capacity</type-name></label>
<truncated level="single-line">Creates a new empty <inline-code>String</inline-code> with at least the specified capacity.

<title>Errors</title>
Returns  <elided chars="91"/></truncated>
</item>
  <item><label><type-name>link_resolution_tests::nested::Str::with_capacity</type-name></label>
<truncated level="single-line">Creates a new empty <inline-code>String</inline-code> with at least the specified capacity.

<inline-code>String</inline-code>s have <elided chars="858"/></truncated>
</item>
  <item><label><type-name>reexport_mod::SubStruct::double</type-name></label>
<truncated level="single-line">Double the value

</truncated>
</item>
  <item><label><type-name>reexport_mod::SubStruct::get_value</type-name></label>
<truncated level="single-line">Get the value

</truncated>
</item>
  <item><label><type-name>reexport_mod::SubStruct::new</type-name></label>
<truncated level="single-line">Create a new SubStruct

</truncated>
</item>
  <item><label><type-name>reexport_mod::sub_function</type-name></label>
<truncated level="single-line">A function in a submodule

</truncated>
</item>
  <item><label><type-name>sub_function</type-name></label>
<truncated level="single-line">A function in a submodule

</truncated>
</item>
  <item><label><type-name>submodule::SubStruct::double</type-name></label>
<truncated level="single-line">Double the value

</truncated>
</item>
  <item><label><type-name>submodule::SubStruct::get_value</type-name></label>
<truncated level="single-line">Get the value

</truncated>
</item>
  <item><label><type-name>submodule::SubStruct::new</type-name></label>
<truncated level="single-line">Create a new SubStruct

</truncated>
</item>
  <item><label><type-name>submodule::sub_function</type-name></label>
<truncated level="single-line">A function in a submodule

</truncated>
</item>
  <item><label><type-name>test_function</type-name></label>
<truncated level="single-line">A public function

</truncated>
</item>
</list>
</section><section><section-title>Constants</section-title><list>
  <item><label><type-name>TEST_CONSTANT</type-name></label>
<truncated level="single-line">A const for testing

</truncated>
</item>
</list>
</section><section><section-title>Statics</section-title><list>
  <item><label><type-name>TEST_STATIC</type-name></label>
<truncated level="single-line">A static for testing

</truncated>
</item>
</list>
</section><section><section-title>Variants</section-title><list>
  <item><label><type-name>GenericEnum::Mixed</type-name></label>
<truncated level="single-line">Variant with mixed generics

</truncated>
</item>
  <item><label><type-name>GenericEnum::Simple</type-name></label>
<truncated level="single-line">Simple variant

</truncated>
</item>
  <item><label><type-name>GenericEnum::WithData</type-name></label>
<truncated level="single-line">Variant with generic data

</truncated>
</item>
  <item><label><type-name>TestEnum::VariantA</type-name></label>
<truncated level="single-line">Variant A (see also <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link>)

</truncated>
</item>
  <item><label><type-name>TestEnum::VariantB</type-name></label>
<truncated level="single-line">Variant B with data

</truncated>
</item>
  <item><label><type-name>TestEnum::VariantC</type-name></label>
<truncated level="single-line">Variant C with struct data (<inline-code>name</inline-code> and <inline-code>value</inline-code>)

</truncated>
</item>
  <item><label><type-name>VariantA</type-name></label>
<truncated level="single-line">Variant A (see also <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link>)

</truncated>
</item>
  <item><label><type-name>VariantB</type-name></label>
<truncated level="single-line">Variant B with data

</truncated>
</item>
  <item><label><type-name>VariantC</type-name></label>
<truncated level="single-line">Variant C with struct data (<inline-code>name</inline-code> and <inline-code>value</inline-code>)

</truncated>
</item>
  <item><label><type-name>reexport_mod::TestEnum::VariantA</type-name></label>
<truncated level="single-line">Variant A (see also <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link>)

</truncated>
</item>
  <item><label><type-name>reexport_mod::TestEnum::VariantB</type-name></label>
<truncated level="single-line">Variant B with data

</truncated>
</item>
  <item><label><type-name>reexport_mod::TestEnum::VariantC</type-name></label>
<truncated level="single-line">Variant C with struct data (<inline-code>name</inline-code> and <inline-code>value</inline-code>)

</truncated>
</item>
  <item><label><type-name>reexport_mod::VariantA</type-name></label>
<truncated level="single-line">Variant A (see also <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link>)

</truncated>
</item>
  <item><label><type-name>reexport_mod::VariantB</type-name></label>
<truncated level="single-line">Variant B with data

</truncated>
</item>
  <item><label><type-name>reexport_mod::VariantC</type-name></label>
<truncated level="single-line">Variant C with struct data (<inline-code>name</inline-code> and <inline-code>value</inline-code>)

</truncated>
</item>
  <item><label><type-name>submodule::TestEnum::VariantA</type-name></label>
<truncated level="single-line">Variant A (see also <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link>)

</truncated>
</item>
  <item><label><type-name>submodule::TestEnum::VariantB</type-name></label>
<truncated level="single-line">Variant B with data

</truncated>
</item>
  <item><label><type-name>submodule::TestEnum::VariantC</type-name></label>
<truncated level="single-line">Variant C with struct data (<inline-code>name</inline-code> and <inline-code>value</inline-code>)

</truncated>
</item>
  <item><label><type-name>submodule::VariantA</type-name></label>
<truncated level="single-line">Variant A (see also <link href="https://docs.rs/test-crate/0.1.0/test-crate/enum.GenericEnum.html"><inline-code>crate::GenericEnum</inline-code></link>)

</truncated>
</item>
  <item><label><type-name>submodule::VariantB</type-name></label>
<truncated level="single-line">Variant B with data

</truncated>
</item>
  <item><label><type-name>submodule::VariantC</type-name></label>
<truncated level="single-line">Variant C with struct data (<inline-code>name</inline-code> and <inline-code>value</inline-code>)

</truncated>
</item>
</list>
</section><section><section-title>AssocConst</section-title><list>
  <item><label><type-name>TestStruct::ASSOCIATED_CONST</type-name></label>
<truncated level="single-line">This is an associated constant for a struct

</truncated>
</item>
  <item><label><type-name>link_resolution_tests::RenamedTestStruct::ASSOCIATED_CONST</type-name></label>
<truncated level="single-line">This is an associated constant for a struct

</truncated>
</item>
</list>
</section>