Enum rustdoc::clean::TypeKind [−][src]
pub enum TypeKind { Enum, Function, Module, Const, Static, Struct, Union, Trait, Variant, Typedef, Foreign, Macro, }
Variants
Enum
Function
Module
Const
Static
Struct
Union
Trait
Variant
Typedef
Foreign
Macro
Trait Implementations
impl Clone for TypeKind
[src]
impl Clone for TypeKind
fn clone(&self) -> TypeKind
[src]
fn clone(&self) -> TypeKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for TypeKind
[src]
impl Encodable for TypeKind
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for TypeKind
[src]
impl Decodable for TypeKind
fn decode<__D: Decoder>(d: &mut __D) -> Result<TypeKind, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<TypeKind, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Copy for TypeKind
[src]
impl Copy for TypeKind
impl Debug for TypeKind
[src]
impl Debug for TypeKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<TypeKind> for ItemType
[src]
impl From<TypeKind> for ItemType