Enum rustdoc_json_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)types 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 ItemEnumimpl UnwindSafe for ItemEnumBlanket 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