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
---
source: ferritin/src/tests.rs
expression: "render_interactive_for_tests(Commands::get(\"crate\"))"
---
" Item: fixture_crate "
" Kind: Module "
" Visibility: Public "
" Defined at: fixture_crate "
" In crate: fixture-crate (0.1.0) "
" "
" A minimal test crate for rustdoc JSON testing "
" "
" Modules "
" "
" ◦ link_resolution_tests "
" Module for testing intra-doc link resolution "
" "
" ◦ markdown_test "
" Markdown: Syntax "
" ╰─[...] "
" "
" ◦ namespace_collisions "
" Module for testing namespace disambiguation with kind discriminators. "
" "
" Contains a sub-module and a function that share the same name, creating "
" a genuine module-function collision in rustdoc's paths map. "
" "
" ◦ reexport_mod "
" "
" ◦ submodule "
" A module with items "
" "
" Structs "
" "
" ◦ GenericStruct "
" │ A generic struct for testing multi-paragraph documentation. "
" │ "
" │ This struct demonstrates how generics work with complex type bounds and "
" │ provides a comprehensive example of the generic system in Rust. "
" ╰─[...] "
" "
" ◦ ReachableViaPrivateModule "
" A struct accessible only via re-export from a private module. "
" "
" ◦ SubStruct "
" A struct in a submodule "
" "
" ◦ TestStruct "
" │ A simple struct for testing basic functionality. "
" │ "
" │ This struct demonstrates basic usage patterns and should show completely "
" │ since it only has one paragraph of documentation. "
" ╰─[...] "
" "
" ◦ TupleStruct "
" A tuple struct for testing "
" "
" ◦ UnitStruct "
" A unit struct for testing "
" "
" ◦ Vec "
" │ A contiguous growable array type, written as Vec<T>, short for 'vector'. "
" ╰─[...] "
" "
" Enums "
" "
" ◦ GenericEnum "
" A generic enum for testing "
" "
" See also crate::TestEnum "
" "
" ◦ TestEnum "
" An enum for testing "
" "
" This is like crate::GenericEnum but without the generic "
" "
" Traits "
" "
" ◦ ComplexTrait "
" A more complex trait demonstrating various features "
" "
" ◦ TestTrait "
" │ A trait for testing extremely long documentation that exceeds line "
" │ limits. "
" │ "
" │ This trait provides a comprehensive interface for data processing "
" │ operations. It demonstrates various method signatures including mutable "
" │ references, error handling, and different return types. The trait is "
" │ designed to be flexible and extensible for different use cases in data "
" │ processing pipelines. Each method serves a specific purpose in the data "
" │ transformation workflow. The implementation should handle edge cases "
" │ gracefully and provide meaningful error messages when operations fail. "
" │ This documentation intentionally spans many lines to test the "
" │ line-based truncation when paragraph truncation doesn't apply. We want "
" │ to see how the system handles documentation that goes well beyond the "
" │ 16-line limit and should trigger line-based truncation. This continues "
" │ for several more lines to ensure we exceed the limit. Line 14 of this "
" │ very long paragraph that should be truncated. Line 15 of this extremely "
" │ verbose documentation example. Line 16 which should be the last line "
" │ shown in brief mode. Line 17 that should be hidden and show a "
" │ truncation indicator. Line 18 that definitely won't be visible in brief "
" │ mode. "
" ╰─[...] "
" "
" Functions "
" "
" ◦ async_function "
" An async function "
" "
" ◦ generic_function "
" A generic function "
" "
" ◦ sub_function "
" A function in a submodule "
" "
" ◦ test_function "
" A public function "
" "
" Constants "
" "
" ◦ TEST_CONSTANT "
" A const for testing "
" "
" Statics "
" "
" ◦ TEST_STATIC "
" A static for testing "
" "
" Variants "
" "
" ◦ VariantA "
" Variant A (see also crate::GenericEnum) "
" "
" ◦ VariantB "
" Variant B with data "
" "
" ◦ VariantC "
" Variant C with struct data (name and value) "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
"▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂"
" ferritin - q:quit ?:help ←/→:history g:go s:search l:list c:code "