pub struct ManualIndex { /* private fields */ }Expand description
Immutable index shared by discovery and exact manual lookup.
Implementations§
Source§impl ManualIndex
impl ManualIndex
Sourcepub fn from_roots(roots: Vec<PathBuf>) -> Self
pub fn from_roots(roots: Vec<PathBuf>) -> Self
Scan explicit roots in precedence order.
Sourcepub fn pages(&self) -> &[ManualPage]
pub fn pages(&self) -> &[ManualPage]
Effective pages sorted by name and section.
Trait Implementations§
Source§impl Clone for ManualIndex
impl Clone for ManualIndex
Source§fn clone(&self) -> ManualIndex
fn clone(&self) -> ManualIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ManualIndex
impl Debug for ManualIndex
Source§impl Default for ManualIndex
impl Default for ManualIndex
Source§fn default() -> ManualIndex
fn default() -> ManualIndex
Returns the “default value” for a type. Read more
impl Eq for ManualIndex
Source§impl PartialEq for ManualIndex
impl PartialEq for ManualIndex
impl StructuralPartialEq for ManualIndex
Auto Trait Implementations§
impl Freeze for ManualIndex
impl RefUnwindSafe for ManualIndex
impl Send for ManualIndex
impl Sync for ManualIndex
impl Unpin for ManualIndex
impl UnsafeUnpin for ManualIndex
impl UnwindSafe for ManualIndex
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