pub struct ManSource { /* private fields */ }Expand description
Represents a manual page to be installed.
Implementations§
Source§impl ManSource
impl ManSource
Sourcepub fn target_file_name(&self) -> &str
pub fn target_file_name(&self) -> &str
Returns the target file name of the man page.
The returned path includes the suffix such as “.1” or “.3pm”, and indicates the file name the man page should be installed as.
Sourcepub fn format(&self) -> ManSourceFormat
pub fn format(&self) -> ManSourceFormat
Returns the file format of the source file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ManSource
impl RefUnwindSafe for ManSource
impl Send for ManSource
impl Sync for ManSource
impl Unpin for ManSource
impl UnwindSafe for ManSource
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