pub struct DocItem {
pub name: String,
pub kind: DocItemKind,
pub path: String,
pub description: String,
pub is_public: bool,
}Expand description
A single documented item stored in the search index.
Fields§
§name: StringSimple name (e.g. HashMap)
kind: DocItemKindItem kind
path: StringFully-qualified path (e.g. std::collections::HashMap)
description: StringOne-line description extracted from /// doc comment
is_public: boolWhether the item is pub
Implementations§
Trait Implementations§
impl Eq for DocItem
impl StructuralPartialEq for DocItem
Auto Trait Implementations§
impl Freeze for DocItem
impl RefUnwindSafe for DocItem
impl Send for DocItem
impl Sync for DocItem
impl Unpin for DocItem
impl UnwindSafe for DocItem
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)