pub(crate) struct MDWriter<'a, 'b> {
pub(crate) w: Box<dyn Write>,
pub(crate) command: Command,
pub(crate) name: &'a str,
pub(crate) tldr_zip: &'b mut Option<ZipArchive<File>>,
pub(crate) utils_per_platform: &'b HashMap<&'b str, Vec<String>>,
pub(crate) markdown: Option<String>,
}Fields§
§w: Box<dyn Write>§command: Command§name: &'a str§tldr_zip: &'b mut Option<ZipArchive<File>>§utils_per_platform: &'b HashMap<&'b str, Vec<String>>§markdown: Option<String>Implementations§
source§impl<'a, 'b> MDWriter<'a, 'b>
impl<'a, 'b> MDWriter<'a, 'b>
pub(crate) fn markdown(&mut self) -> Result<()>
pub(crate) fn additional(&mut self) -> Result<()>
pub(crate) fn platforms(&mut self) -> Result<()>
pub(crate) fn version(&mut self) -> Result<()>
pub(crate) fn usage(&mut self) -> Result<()>
pub(crate) fn about(&mut self) -> Result<()>
pub(crate) fn after_help(&mut self) -> Result<()>
pub(crate) fn examples(&mut self) -> Result<()>
pub(crate) fn options(&mut self) -> Result<()>
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for MDWriter<'a, 'b>
impl<'a, 'b> !Send for MDWriter<'a, 'b>
impl<'a, 'b> !Sync for MDWriter<'a, 'b>
impl<'a, 'b> Unpin for MDWriter<'a, 'b>
impl<'a, 'b> !UnwindSafe for MDWriter<'a, 'b>
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