Struct rustdoc::html::render::IndexItem[][src]

struct IndexItem {
    ty: ItemType,
    name: String,
    path: String,
    desc: String,
    parent: Option<DefId>,
    parent_idx: Option<usize>,
    search_type: Option<IndexItemFunctionType>,
}

Struct representing one entry in the JS search index. These are all emitted by hand to a large JS file at the end of cache-creation.

Fields

Trait Implementations

impl Debug for IndexItem
[src]

Formats the value using the given formatter. Read more

impl ToJson for IndexItem
[src]

🔬 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?

Converts the value of self to an instance of JSON

Auto Trait Implementations

impl Send for IndexItem

impl Sync for IndexItem