Enum rustdoc_types::ItemEnum [−][src]
pub enum ItemEnum {}Show variants
Module(Module), ExternCrate { name: String, rename: Option<String>, }, Import(Import), Union(Union), Struct(Struct), StructField(Type), Enum(Enum), Variant(Variant), Function(Function), Trait(Trait), TraitAlias(TraitAlias), Method(Method), Impl(Impl), Typedef(Typedef), OpaqueTy(OpaqueTy), Constant(Constant), Static(Static), ForeignType, Macro(String), ProcMacro(ProcMacro), AssocConst { type_: Type, default: Option<String>, }, AssocType { bounds: Vec<GenericBound>, default: Option<Type>, },
Variants
Module(Module)
Import(Import)
Union(Union)
Struct(Struct)
StructField(Type)
Enum(Enum)
Variant(Variant)
Function(Function)
Trait(Trait)
TraitAlias(TraitAlias)
Method(Method)
Impl(Impl)
Typedef(Typedef)
OpaqueTy(OpaqueTy)
Constant(Constant)
Static(Static)
type
s from an extern block
Macro(String)
Declarative macro_rules! macro
ProcMacro(ProcMacro)
Show fields
Fields of AssocType
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ItemEnum
impl UnwindSafe for ItemEnum
Blanket Implementations
Mutably borrows from an owned value. Read more