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

pub(crate) struct IndexItem {
    pub(crate) ty: ItemType,
    pub(crate) name: String,
    pub(crate) path: String,
    pub(crate) desc: String,
    pub(crate) parent: Option<DefId>,
    pub(crate) parent_idx: Option<usize>,
    pub(crate) 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: ItemTypename: Stringpath: Stringdesc: Stringparent: Option<DefId>parent_idx: Option<usize>search_type: Option<IndexItemFunctionType>

Trait Implementations

impl Debug for IndexItem[src]

impl Serialize for IndexItem[src]

Auto Trait Implementations

impl RefUnwindSafe for IndexItem

impl Send for IndexItem

impl Sync for IndexItem

impl Unpin for IndexItem

impl UnwindSafe for IndexItem

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithConstness for T[src]