[][src]Trait markdown_composer::traits::MarkdownElement

pub trait MarkdownElement: DynClone + Debug {
    fn render(&self) -> String;
}

An element that can be rendered as to markdown.

Required methods

fn render(&self) -> String

Renders the element to markdown.

Loading content...

Implementors

impl<T> MarkdownElement for T where
    T: Clone + Debug + Display
[src]

Implemented for all types that do implement Display.

The implementation calls the Display::fmt method.

Loading content...