pub struct DocSite { /* private fields */ }Expand description
Collection of parsed documentation pages forming a complete site.
Implementations§
Source§impl DocSite
Search and lookup utilities for DocSite.
impl DocSite
Search and lookup utilities for DocSite.
Sourcepub fn find_by_route(&self, route: &str) -> Option<&DocPage>
pub fn find_by_route(&self, route: &str) -> Option<&DocPage>
Sourcepub fn search_entries(&self) -> Vec<SearchIndexEntry>
pub fn search_entries(&self) -> Vec<SearchIndexEntry>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocSite
impl<'de> Deserialize<'de> for DocSite
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DocSite
Auto Trait Implementations§
impl Forget for DocSite
impl Freeze for DocSite
impl Move for DocSite
impl RefUnwindSafe for DocSite
impl Send for DocSitewhere
RawVecInner: Send,
impl Sync for DocSitewhere
RawVecInner: Sync,
impl Unpin for DocSite
impl UnsafeUnpin for DocSitewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DocPage>: UnsafeUnpin,
impl UnwindSafe for DocSitewhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more