Enum rustdoc_types::ItemEnum [−][src]
pub enum ItemEnum {
Show 22 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)
Tuple Fields of Module
0: Module
Import(Import)
Tuple Fields of Import
0: Import
Union(Union)
Tuple Fields of Union
0: Union
Struct(Struct)
Tuple Fields of Struct
0: Struct
StructField(Type)
Tuple Fields of StructField
0: Type
Enum(Enum)
Tuple Fields of Enum
0: Enum
Variant(Variant)
Tuple Fields of Variant
0: Variant
Function(Function)
Tuple Fields of Function
0: Function
Trait(Trait)
Tuple Fields of Trait
0: Trait
TraitAlias(TraitAlias)
Tuple Fields of TraitAlias
0: TraitAlias
Method(Method)
Tuple Fields of Method
0: Method
Impl(Impl)
Tuple Fields of Impl
0: Impl
Typedef(Typedef)
Tuple Fields of Typedef
0: Typedef
OpaqueTy(OpaqueTy)
Tuple Fields of OpaqueTy
0: OpaqueTy
Constant(Constant)
Tuple Fields of Constant
0: Constant
Static(Static)
Tuple Fields of Static
0: Static
type
s from an extern block
Macro(String)
Declarative macro_rules! macro
Tuple Fields of Macro
0: String
ProcMacro(ProcMacro)
Tuple Fields of ProcMacro
0: ProcMacro
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