rustdoc: add some docs for item types
This commit is contained in:
parent
6f6b099f5d
commit
e88387a947
@ -174,12 +174,18 @@ pub enum ItemEnum {
|
||||
StaticItem(Static),
|
||||
TraitItem(Trait),
|
||||
ImplItem(Impl),
|
||||
/// `use` and `extern crate`
|
||||
ViewItemItem(ViewItem),
|
||||
/// A method signature only. Used for required methods in traits (ie,
|
||||
/// non-default-methods).
|
||||
TyMethodItem(TyMethod),
|
||||
/// A method with a body.
|
||||
MethodItem(Method),
|
||||
StructFieldItem(StructField),
|
||||
VariantItem(Variant),
|
||||
/// `fn`s from an extern block
|
||||
ForeignFunctionItem(Function),
|
||||
/// `static`s from an extern block
|
||||
ForeignStaticItem(Static),
|
||||
MacroItem(Macro),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user