Enum rustdoc::clean::ItemEnum
[−]
[src]
pub enum ItemEnum {
ExternCrateItem(String, Option<String>),
ImportItem(Import),
StructItem(Struct),
EnumItem(Enum),
FunctionItem(Function),
ModuleItem(Module),
TypedefItem(Typedef, bool),
StaticItem(Static),
ConstantItem(Constant),
TraitItem(Trait),
ImplItem(Impl),
TyMethodItem(TyMethod),
MethodItem(Method),
StructFieldItem(Type),
VariantItem(Variant),
ForeignFunctionItem(Function),
ForeignStaticItem(Static),
MacroItem(Macro),
PrimitiveItem(PrimitiveType),
AssociatedConstItem(Type, Option<String>),
AssociatedTypeItem(Vec<TyParamBound>, Option<Type>),
DefaultImplItem(DefaultImpl),
StrippedItem(Box<ItemEnum>),
}Unstable (
rustdoc)Variants
ExternCrateItem(String, Option<String>)Unstable (
rustdoc)ImportItem(Import)Unstable (
rustdoc)StructItem(Struct)Unstable (
rustdoc)EnumItem(Enum)Unstable (
rustdoc)FunctionItem(Function)Unstable (
rustdoc)ModuleItem(Module)Unstable (
rustdoc)TypedefItem(Typedef, bool)Unstable (
rustdoc)StaticItem(Static)Unstable (
rustdoc)ConstantItem(Constant)Unstable (
rustdoc)TraitItem(Trait)Unstable (
rustdoc)ImplItem(Impl)Unstable (
rustdoc)TyMethodItem(TyMethod)Unstable (
rustdoc)A method signature only. Used for required methods in traits (ie, non-default-methods).
MethodItem(Method)Unstable (
rustdoc)A method with a body.
StructFieldItem(Type)Unstable (
rustdoc)VariantItem(Variant)Unstable (
rustdoc)ForeignFunctionItem(Function)Unstable (
rustdoc)fns from an extern block
ForeignStaticItem(Static)Unstable (
rustdoc)statics from an extern block
MacroItem(Macro)Unstable (
rustdoc)PrimitiveItem(PrimitiveType)Unstable (
rustdoc)AssociatedConstItem(Type, Option<String>)Unstable (
rustdoc)AssociatedTypeItem(Vec<TyParamBound>, Option<Type>)Unstable (
rustdoc)DefaultImplItem(DefaultImpl)Unstable (
rustdoc)StrippedItem(Box<ItemEnum>)Unstable (
rustdoc)An item that has been stripped by a rustdoc pass
Trait Implementations
Derived Implementations
impl Debug for ItemEnum[src]
impl Decodable for ItemEnum[src]
impl Encodable for ItemEnum[src]
impl Clone for ItemEnum[src]
fn clone(&self) -> ItemEnum
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more