Enum rustdoc::clean::ItemEnum [] [src]

pub enum ItemEnum {
    ExternCrateItem(StringOption<String>),
    ImportItem(Import),
    StructItem(Struct),
    EnumItem(Enum),
    FunctionItem(Function),
    ModuleItem(Module),
    TypedefItem(Typedefbool),
    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(TypeOption<String>),
    AssociatedTypeItem(Vec<TyParamBound>, Option<Type>),
    DefaultImplItem(DefaultImpl),
    StrippedItem(Box<ItemEnum>),
}
Unstable (rustdoc)

Variants

ExternCrateItem(StringOption<String>)
Unstable (rustdoc)
ImportItem(Import)
Unstable (rustdoc)
StructItem(Struct)
Unstable (rustdoc)
EnumItem(Enum)
Unstable (rustdoc)
FunctionItem(Function)
Unstable (rustdoc)
ModuleItem(Module)
Unstable (rustdoc)
TypedefItem(Typedefbool)
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(TypeOption<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]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Decodable for ItemEnum
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ItemEnum, __D::Error>

impl Encodable for ItemEnum
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

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