Trait Markdown

Source
pub trait Markdown {
    // Required method
    fn markdown<W>(&self, f: &mut W) -> Result
       where W: Write;
}
Expand description

A trait for markdown formatting.

Required Methods§

Source

fn markdown<W>(&self, f: &mut W) -> Result
where W: Write,

Write to formatter a markdown block.

§Errors

When a call to write fails.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Markdown for Vec<GCodeBlock<'_>>

Source§

fn markdown<W>(&self, f: &mut W) -> Result
where W: Write,

Source§

impl Markdown for Vec<ThumbnailBlock<'_>>

Source§

fn markdown<W>(&self, f: &mut W) -> Result
where W: Write,

Write to formatter a markdown block.

Implementors§