Trait MarkdownElement
Source pub trait MarkdownElement: DynClone + Debug {
// Required method
fn render(&self) -> String;
}
Expand description
An element that can be rendered as to markdown.
Renders the element to markdown.
Performs copy-assignment from
source
.
Read more
Converts to this type from the input type.
Source§Implemented for all types that do implement Display
.
The implementation calls the Display::fmt
method.