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

pub enum ItemEnum {
    ExternCrateItem(StringOption<String>),
    ImportItem(Import),
    StructItem(Struct),
    UnionItem(Union),
    EnumItem(Enum),
    FunctionItem(Function),
    ModuleItem(Module),
    TypedefItem(Typedefbool),
    ExistentialItem(Existentialbool),
    StaticItem(Static),
    ConstantItem(Constant),
    TraitItem(Trait),
    ImplItem(Impl),
    TyMethodItem(TyMethod),
    MethodItem(Method),
    StructFieldItem(Type),
    VariantItem(Variant),
    ForeignFunctionItem(Function),
    ForeignStaticItem(Static),
    ForeignTypeItem,
    MacroItem(Macro),
    PrimitiveItem(PrimitiveType),
    AssociatedConstItem(TypeOption<String>),
    AssociatedTypeItem(Vec<GenericBound>, Option<Type>),
    StrippedItem(Box<ItemEnum>),
    KeywordItem(String),
}

Variants

A method signature only. Used for required methods in traits (ie, non-default-methods).

A method with a body.

fns from an extern block

statics from an extern block

types from an extern block

An item that has been stripped by a rustdoc pass

Methods

impl ItemEnum
[src]

Trait Implementations

impl Clone for ItemEnum
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for ItemEnum
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Decodable for ItemEnum
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Debug for ItemEnum
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for ItemEnum

impl !Sync for ItemEnum