pub trait Render {
    // Provided methods
    fn to_md_str(&self, _with_env: bool) -> String { ... }
    fn render_to_terminal(&self) { ... }
    fn to_rendered_str(&self, with_env: bool, col: u16, row: u16) -> String { ... }
}

Provided Methods§

source

fn to_md_str(&self, _with_env: bool) -> String

uniform treatment Question detail to markdown String

  • _with_env: for Question whether display Question Compile Environment
source

fn render_to_terminal(&self)

render to terminal

source

fn to_rendered_str(&self, with_env: bool, col: u16, row: u16) -> String

Get a rendered markdown String

  • with_env: whether display Compile Environment
  • col: width
  • row: height

Implementors§