Struct rustdoc::html::render::IndexItem [−][src]
pub(crate) struct IndexItem {
pub(crate) ty: ItemType,
pub(crate) name: String,
pub(crate) path: String,
pub(crate) desc: String,
pub(crate) parent: Option<FakeDefId>,
pub(crate) parent_idx: Option<usize>,
pub(crate) search_type: Option<IndexItemFunctionType>,
pub(crate) aliases: Box<[String]>,
}Expand description
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<FakeDefId>parent_idx: Option<usize>search_type: Option<IndexItemFunctionType>aliases: Box<[String]>Trait Implementations
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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,