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
ty: ItemType
name: String
path: String
desc: String
parent: Option<DefId>
parent_idx: Option<usize>
search_type: Option<IndexItemFunctionType>
Trait Implementations
impl Debug for IndexItem[src]
impl Debug for IndexItemfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl ToJson for IndexItem[src]
impl ToJson for IndexItem