Enum rustdoc_json_types::ItemKind
source · pub enum ItemKind {
Show 25 variants
Module,
ExternCrate,
Import,
Struct,
StructField,
Union,
Enum,
Variant,
Function,
Typedef,
OpaqueTy,
Constant,
Trait,
TraitAlias,
Method,
Impl,
Static,
ForeignType,
Macro,
ProcAttribute,
ProcDerive,
AssocConst,
AssocType,
Primitive,
Keyword,
}
Variants
Module
ExternCrate
Import
Struct
StructField
Union
Enum
Variant
Function
Typedef
OpaqueTy
Constant
Trait
TraitAlias
Method
Impl
Static
ForeignType
Macro
ProcAttribute
ProcDerive
AssocConst
AssocType
Primitive
Keyword
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ItemKind
impl<'de> Deserialize<'de> for ItemKind
sourcefn 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
impl Eq for ItemKind
impl StructuralEq for ItemKind
impl StructuralPartialEq for ItemKind
Auto Trait Implementations
impl RefUnwindSafe for ItemKind
impl Send for ItemKind
impl Sync for ItemKind
impl Unpin for ItemKind
impl UnwindSafe for ItemKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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: 1 byte
Size for each variant:
Module
: 0 bytesExternCrate
: 0 bytesImport
: 0 bytesStruct
: 0 bytesStructField
: 0 bytesUnion
: 0 bytesEnum
: 0 bytesVariant
: 0 bytesFunction
: 0 bytesTypedef
: 0 bytesOpaqueTy
: 0 bytesConstant
: 0 bytesTrait
: 0 bytesTraitAlias
: 0 bytesMethod
: 0 bytesImpl
: 0 bytesStatic
: 0 bytesForeignType
: 0 bytesMacro
: 0 bytesProcAttribute
: 0 bytesProcDerive
: 0 bytesAssocConst
: 0 bytesAssocType
: 0 bytesPrimitive
: 0 bytesKeyword
: 0 bytes