pub struct Page {
pub name: &'static str,
pub section: u8,
pub text: &'static str,
/* private fields */
}Expand description
One manpage.
Fields§
§name: &'static strdatui-config.
section: u8§text: &'static strThe committed page, as datui man prints it.
Implementations§
Source§impl Page
impl Page
Sourcepub fn file_name(&self) -> String
pub fn file_name(&self) -> String
datui-config.5: the file name, and how examples name the page.
Sourcepub fn roff(&self) -> String
pub fn roff(&self) -> String
The committed page’s text with a Windows checkout’s line endings undone.
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
impl UnwindSafe for Page
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