We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6b099 commit e88387aCopy full SHA for e88387a
src/librustdoc/clean.rs
@@ -174,12 +174,18 @@ pub enum ItemEnum {
174
StaticItem(Static),
175
TraitItem(Trait),
176
ImplItem(Impl),
177
+ /// `use` and `extern crate`
178
ViewItemItem(ViewItem),
179
+ /// A method signature only. Used for required methods in traits (ie,
180
+ /// non-default-methods).
181
TyMethodItem(TyMethod),
182
+ /// A method with a body.
183
MethodItem(Method),
184
StructFieldItem(StructField),
185
VariantItem(Variant),
186
+ /// `fn`s from an extern block
187
ForeignFunctionItem(Function),
188
+ /// `static`s from an extern block
189
ForeignStaticItem(Static),
190
MacroItem(Macro),
191
}
0 commit comments