Struct mdman::format::md::MdFormatter
source · pub struct MdFormatter {
man_map: ManMap,
}
Fields§
§man_map: ManMap
Implementations§
source§impl MdFormatter
impl MdFormatter
pub fn new(man_map: ManMap) -> MdFormatter
source§impl MdFormatter
impl MdFormatter
Trait Implementations§
source§impl Formatter for MdFormatter
impl Formatter for MdFormatter
source§fn render(&self, input: &str) -> Result<String, Error>
fn render(&self, input: &str) -> Result<String, Error>
Renders the given markdown to the formatter’s output.
source§fn render_options_start(&self) -> &'static str
fn render_options_start(&self) -> &'static str
Renders the start of a block of options (triggered by
{{#options}}
).source§fn render_options_end(&self) -> &'static str
fn render_options_end(&self) -> &'static str
Renders the end of a block of options (triggered by
{{/options}}
).Auto Trait Implementations§
impl RefUnwindSafe for MdFormatter
impl Send for MdFormatter
impl Sync for MdFormatter
impl Unpin for MdFormatter
impl UnwindSafe for MdFormatter
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes