Enum rustdoc_json_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
Tuple Fields of Module
0: ModuleTuple Fields of Import
0: ImportTuple Fields of Union
0: UnionTuple Fields of Struct
0: StructTuple Fields of StructField
0: TypeTuple Fields of Enum
0: EnumTuple Fields of Variant
0: VariantTuple Fields of Function
0: FunctionTuple Fields of Trait
0: TraitTuple Fields of TraitAlias
0: TraitAliasTuple Fields of Method
0: MethodTuple Fields of Impl
0: ImplTuple Fields of Typedef
0: TypedefTuple Fields of OpaqueTy
0: OpaqueTyTuple Fields of Constant
0: ConstantTuple Fields of Static
0: Statictypes from an extern block
Declarative macro_rules! macro
Tuple Fields of Macro
0: StringTuple Fields of ProcMacro
0: ProcMacroFields 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
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 376 bytes