pub struct ManualPage {
pub name: String,
pub section: String,
pub path: PathBuf,
pub manual_root: PathBuf,
}Expand description
One effective local manual page after path and locale precedence.
Fields§
§name: String§section: String§path: PathBuf§manual_root: PathBufApproved hierarchy root used to resolve this page’s .so redirects.
The indexed leaf itself may be a file symlink whose target is outside this root. Redirect targets must still remain inside it.
Trait Implementations§
Source§impl Clone for ManualPage
impl Clone for ManualPage
Source§fn clone(&self) -> ManualPage
fn clone(&self) -> ManualPage
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 ManualPage
impl Debug for ManualPage
impl Eq for ManualPage
Source§impl PartialEq for ManualPage
impl PartialEq for ManualPage
impl StructuralPartialEq for ManualPage
Auto Trait Implementations§
impl Freeze for ManualPage
impl RefUnwindSafe for ManualPage
impl Send for ManualPage
impl Sync for ManualPage
impl Unpin for ManualPage
impl UnsafeUnpin for ManualPage
impl UnwindSafe for ManualPage
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