forked from rust-lang-ru/rust-by-example-ru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
structure.json
197 lines (197 loc) · 12.1 KB
/
structure.json
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
[
{ "id": "hello", "title": "Привет, мир!", "children": [
{ "id": "comment", "title": "Комментарии", "children": null },
{ "id": "print", "title": "Форматированный вывод", "children": [
{ "id": "print_debug", "title": "Debug", "children": null },
{ "id": "print_display", "title": "Display", "children": [
{ "id": "testcase_list", "title": "Тест: Список", "children": null }
] },
{ "id": "fmt", "title": "Форматирование", "children": null }
] }
] },
{ "id": "primitives", "title": "Примитивы", "children": [
{ "id": "literals", "title": "Литералы и операторы", "children": null },
{ "id": "tuples", "title": "Кортежи", "children": null },
{ "id": "array", "title": "Массив и Срезы", "children": null }
] },
{ "id": "custom_types", "title": "Пользовательские типы", "children": [
{ "id": "structs", "title": "Структуры", "children": null },
{ "id": "enum", "title": "Перечисления", "children": [
{ "id": "enum_use", "title": "use", "children": null },
{ "id": "c_like", "title": "C-подобные", "children": null },
{ "id": "testcase_linked_list", "title": "Testcase: linked-list", "children": null }
] },
{ "id": "constants", "title": "константы", "children": null }
] },
{ "id": "variable_bindings", "title": "Связывание переменных", "children": [
{ "id": "mut", "title": "Изменяемость", "children": null },
{ "id": "scope", "title": "Область видимость", "children": null },
{ "id": "declare", "title": "Предварительное объявление", "children": null }
] },
{ "id": "cast", "title": "Преобразование типов", "children": [
{ "id": "literals", "title": "Литералы", "children": null },
{ "id": "inference", "title": "Вывод типов", "children": null },
{ "id": "alias", "title": "Псевдонимы", "children": null }
] },
{ "id": "expression", "title": "Выражения", "children": null },
{ "id": "flow_control", "title": "Управление потоком", "children": [
{ "id": "if_else", "title": "if/else", "children": null },
{ "id": "loop", "title": "loop", "children": [
{ "id": "nested", "title": "Вложенность и метки", "children": null }
] },
{ "id": "while", "title": "while", "children": null },
{ "id": "for", "title": "for and range", "children": null },
{ "id": "match", "title": "match", "children": [
{ "id": "destructuring", "title": "Деструктуризация", "children": [
{ "id": "destructure_tuple", "title": "Кортежи", "children": null },
{ "id": "destructure_enum", "title": "Перечисления", "children": null },
{ "id": "destructure_pointers", "title": "pointers/ref", "children": null },
{ "id": "destructure_structures", "title": "Структуры", "children": null }
] },
{ "id": "guard", "title": "Ограничитель шаблонов", "children": null },
{ "id": "binding", "title": "Связывание", "children": null }
] },
{ "id": "if_let", "title": "if let", "children": null },
{ "id": "while_let", "title": "while let", "children": null }
] },
{ "id": "fn", "title": "Функции", "children": [
{ "id": "methods", "title": "Методы", "children": null },
{ "id": "closures", "title": "Замыкания", "children": [
{ "id": "capture", "title": "Захват", "children": null },
{ "id": "input_parameters", "title": "Как входные параметры", "children": null },
{ "id": "anonymity", "title": "Анонимность типов", "children": null },
{ "id": "input_functions", "title": "Входные функции", "children": null },
{ "id": "output_parameters", "title": "Как выходные параметры", "children": null },
{ "id": "closure_examples", "title": "Примеры из `std`", "children": [
{ "id": "iter_any", "title": "Iterator::any", "children": null },
{ "id": "iter_find", "title": "Iterator::find", "children": null }
] }
] },
{ "id": "hof", "title": "Функции Высшего Порядка", "children": null }
] },
{ "id": "mod", "title": "Модули", "children": [
{ "id": "visibility", "title": "Видимость", "children": null },
{ "id": "struct_visibility", "title": "Видимость структуры", "children": null },
{ "id": "use", "title": "Декларация `use`", "children": null },
{ "id": "super", "title": "`super` и `self`", "children": null },
{ "id": "split", "title": "Иерархия файлов", "children": null }
] },
{ "id": "crates", "title": "Контейнеры", "children": [
{ "id": "lib", "title": "Библиотеки", "children": null },
{ "id": "link", "title": "`extern crate`", "children": null }
] },
{ "id": "attribute", "title": "Атрибуты", "children": [
{ "id": "unused", "title": "`Мёртвый код`", "children": null },
{ "id": "crate", "title": "Контейнеры", "children": null },
{ "id": "cfg", "title": "Условные атрибуты", "children": [
{ "id": "custom", "title": "Собственные условия", "children": null }
] }
] },
{ "id": "generics", "title": "Generics", "children": [
{ "id": "gen_fn", "title": "Functions", "children": null },
{ "id": "impl", "title": "Реализация", "children": null },
{ "id": "gen_trait", "title": "Traits", "children": null },
{ "id": "bounds", "title": "Bounds", "children": [
{ "id": "testcase_empty", "title": "Testcase: empty bounds", "children": null }
] },
{ "id": "multi_bounds", "title": "Multiple bounds", "children": null },
{ "id": "where", "title": "Where clauses", "children": null },
{ "id": "assoc_items", "title": "Associated items", "children": [
{ "id": "the_problem", "title": "The Problem", "children": null },
{ "id": "types", "title": "Associated types", "children": null }
] },
{ "id": "phantom", "title": "Phantom type parameters", "children": [
{ "id": "testcase_units", "title": "Testcase: unit clarification", "children": null }
] }
] },
{ "id": "scope", "title": "Scoping rules", "children": [
{ "id": "raii", "title": "RAII", "children": null },
{ "id": "move", "title": "Владение и перемещение", "children": [
{ "id": "mut", "title": "Изменяемость", "children": null }
] },
{ "id": "borrow", "title": "Заимствование", "children": [
{ "id": "mut", "title": "Mutability", "children": null },
{ "id": "freeze", "title": "Замораживание", "children": null },
{ "id": "alias", "title": "Aliasing", "children": null },
{ "id": "ref", "title": "The ref pattern", "children": null }
] },
{ "id": "lifetime", "title": "Lifetimes", "children": [
{ "id": "explicit", "title": "Explicit annotation", "children": null },
{ "id": "fn", "title": "Functions", "children": null },
{ "id": "methods", "title": "Methods", "children": null },
{ "id": "struct", "title": "Structs", "children": null },
{ "id": "lifetime_bounds", "title": "Bounds", "children": null },
{ "id": "lifetime_coercion", "title": "Coercion", "children": null },
{ "id": "static_lifetime", "title": "static", "children": null },
{ "id": "elision", "title": "elision", "children": null }
] }
] },
{ "id": "trait", "title": "Traits", "children": [
{ "id": "derive", "title": "Derive", "children": null },
{ "id": "ops", "title": "Operator Overloading", "children": null },
{ "id": "drop", "title": "Drop", "children": null },
{ "id": "iter", "title": "Iterators", "children": null },
{ "id": "clone", "title": "Clone", "children": null }
] },
{ "id": "macros", "title": "macro_rules!", "children": [
{ "id": "designators", "title": "Designators", "children": null },
{ "id": "overload", "title": "Overload", "children": null },
{ "id": "repeat", "title": "Repeat", "children": null },
{ "id": "dry", "title": "DRY (Don't Repeat Yourself)", "children": null }
] },
{ "id": "error", "title": "Обработка ошибок", "children": [
{ "id": "panic", "title": "`panic`", "children": null },
{ "id": "option_unwrap", "title": "`Option` & `unwrap`", "children": [
{ "id": "map", "title": "Combinators: `map`", "children": null },
{ "id": "and_then", "title": "Combinators: `and_then`", "children": null }
] },
{ "id": "result", "title": "`Result`", "children": [
{ "id": "result_map", "title": "`map` for `Result`", "children": null },
{ "id": "result_alias", "title": "aliases for `Result`", "children": null }
] },
{ "id": "multiple_error_types", "title": "Multiple error types", "children": [
{ "id": "early_returns", "title": "Early returns", "children": null },
{ "id": "enter_try", "title": "Introducing `try!`", "children": null }
] },
{ "id": "define_error_type", "title": "Defining an error type", "children": null },
{ "id": "reenter_try", "title": "Other uses of `try!`", "children": null },
{ "id": "boxing_errors", "title": "`Box`ing errors", "children": null }
] },
{ "id": "std", "title": "Std library types", "children": [
{ "id": "box", "title": "Упаковка, стек и куча", "children": null },
{ "id": "vec", "title": "Вектора", "children": null },
{ "id": "str", "title": "Strings", "children": null },
{ "id": "option", "title": "`Option`", "children": null },
{ "id": "result", "title": "`Result`", "children": [
{ "id": "try", "title": "`try!`", "children": null }
] },
{ "id": "panic", "title": "`panic!`", "children": null },
{ "id": "hash", "title": "HashMap", "children": [
{ "id": "alt_key_types", "title": "Alternate/custom key types", "children": null},
{ "id": "hashset", "title": "HashSet", "children": null }
] }
] },
{ "id": "std_misc", "title": "Разное в стандартной библиотеке", "children": [
{ "id": "threads", "title": "Потоки", "children": null },
{ "id": "channels", "title": "Channels", "children": null },
{ "id": "path", "title": "Path", "children": null },
{ "id": "file", "title": "File I/O", "children": [
{ "id": "open", "title": "`open`", "children": null },
{ "id": "create", "title": "`create`", "children": null }
] },
{ "id": "process", "title": "Child processes", "children": [
{ "id": "pipe", "title": "Pipes", "children": null },
{ "id": "wait", "title": "Wait", "children": null }
] },
{ "id": "fs", "title": "Filesystem Operations", "children": null },
{ "id": "arg", "title": "Program arguments", "children": [
{ "id": "matching", "title": "Argument parsing", "children": null }
] },
{ "id": "ffi", "title": "Foreign Function Interface", "children": null }
] },
{ "id": "meta", "title": "Meta", "children": [
{ "id": "doc", "title": "Documentation", "children": null },
{ "id": "test", "title": "Testing", "children": null }
] },
{ "id": "unsafe", "title": "Unsafe operations", "children": null }
]