Enum rustdoc::html::item_type::ItemType
[−]
[src]
pub enum ItemType { Module, ExternCrate, Import, Struct, Enum, Function, Typedef, Static, Trait, Impl, TyMethod, Method, StructField, Variant, Macro, Primitive, AssociatedType, Constant, AssociatedConst, Union, }
🔬 This is a nightly-only experimental API. (
rustdoc
)Item type. Corresponds to clean::ItemEnum
variants.
The search index uses item types encoded as smaller numbers which equal to
discriminants. JavaScript then is used to decode them into the original value.
Consequently, every change to this type should be synchronized to
the itemTypes
mapping table in static/main.js
.
Variants
Module
🔬 This is a nightly-only experimental API. (
rustdoc
)ExternCrate
🔬 This is a nightly-only experimental API. (
rustdoc
)Import
🔬 This is a nightly-only experimental API. (
rustdoc
)Struct
🔬 This is a nightly-only experimental API. (
rustdoc
)Enum
🔬 This is a nightly-only experimental API. (
rustdoc
)Function
🔬 This is a nightly-only experimental API. (
rustdoc
)Typedef
🔬 This is a nightly-only experimental API. (
rustdoc
)Static
🔬 This is a nightly-only experimental API. (
rustdoc
)Trait
🔬 This is a nightly-only experimental API. (
rustdoc
)Impl
🔬 This is a nightly-only experimental API. (
rustdoc
)TyMethod
🔬 This is a nightly-only experimental API. (
rustdoc
)Method
🔬 This is a nightly-only experimental API. (
rustdoc
)StructField
🔬 This is a nightly-only experimental API. (
rustdoc
)Variant
🔬 This is a nightly-only experimental API. (
rustdoc
)Macro
🔬 This is a nightly-only experimental API. (
rustdoc
)Primitive
🔬 This is a nightly-only experimental API. (
rustdoc
)AssociatedType
🔬 This is a nightly-only experimental API. (
rustdoc
)Constant
🔬 This is a nightly-only experimental API. (
rustdoc
)AssociatedConst
🔬 This is a nightly-only experimental API. (
rustdoc
)Union
🔬 This is a nightly-only experimental API. (
rustdoc
)Methods
impl ItemType
[src]
fn css_class(&self) -> &'static str
🔬 This is a nightly-only experimental API. (
rustdoc
)fn name_space(&self) -> NameSpace
🔬 This is a nightly-only experimental API. (
rustdoc
)Trait Implementations
impl Copy for ItemType
[src]
impl PartialEq for ItemType
[src]
fn eq(&self, __arg_0: &ItemType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for ItemType
[src]
fn clone(&self) -> ItemType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more