Trait hoedown::renderer::wrapper::Wrapper [] [src]

pub trait Wrapper {
    type Base: Render;
    fn base(&mut self) -> &mut Self::Base;

    fn code_block(&mut self, output: &mut Buffer, code: &Buffer, lang: &Buffer) { ... }
    fn quote_block(&mut self, ob: &mut Buffer, content: &Buffer) { ... }
    fn header(&mut self, ob: &mut Buffer, content: &Buffer, level: i32) { ... }
    fn horizontal_rule(&mut self, ob: &mut Buffer) { ... }
    fn list(&mut self, ob: &mut Buffer, content: &Buffer, flags: List) { ... }
    fn list_item(&mut self, ob: &mut Buffer, content: &Buffer, flags: List) { ... }
    fn paragraph(&mut self, ob: &mut Buffer, content: &Buffer) { ... }
    fn table(&mut self, ob: &mut Buffer, content: &Buffer) { ... }
    fn table_header(&mut self, ob: &mut Buffer, content: &Buffer) { ... }
    fn table_body(&mut self, ob: &mut Buffer, content: &Buffer) { ... }
    fn table_row(&mut self, ob: &mut Buffer, content: &Buffer) { ... }
    fn table_cell(&mut self, ob: &mut Buffer, content: &Buffer, flags: Table) { ... }
    fn footnotes(&mut self, ob: &mut Buffer, content: &Buffer) { ... }
    fn footnote_definition(&mut self, ob: &mut Buffer, content: &Buffer, num: u32) { ... }
    fn html_block(&mut self, ob: &mut Buffer, text: &Buffer) { ... }
    fn autolink(&mut self, ob: &mut Buffer, link: &Buffer, ty: AutoLink) -> bool { ... }
    fn code_span(&mut self, ob: &mut Buffer, text: &Buffer) -> bool { ... }
    fn double_emphasis(&mut self, ob: &mut Buffer, content: &Buffer) -> bool { ... }
    fn emphasis(&mut self, ob: &mut Buffer, content: &Buffer) -> bool { ... }
    fn underline(&mut self, ob: &mut Buffer, content: &Buffer) -> bool { ... }
    fn highlight(&mut self, ob: &mut Buffer, content: &Buffer) -> bool { ... }
    fn quote_span(&mut self, ob: &mut Buffer, content: &Buffer) -> bool { ... }
    fn image(&mut self, ob: &mut Buffer, link: &Buffer, title: &Buffer, alt: &Buffer) -> bool { ... }
    fn line_break(&mut self, ob: &mut Buffer) -> bool { ... }
    fn link(&mut self, ob: &mut Buffer, content: &Buffer, link: &Buffer, title: &Buffer) -> bool { ... }
    fn triple_emphasis(&mut self, ob: &mut Buffer, content: &Buffer) -> bool { ... }
    fn strikethrough(&mut self, ob: &mut Buffer, content: &Buffer) -> bool { ... }
    fn superscript(&mut self, ob: &mut Buffer, content: &Buffer) -> bool { ... }
    fn footnote_reference(&mut self, ob: &mut Buffer, num: u32) -> bool { ... }
    fn math(&mut self, ob: &mut Buffer, text: &Buffer, displaymode: i32) -> bool { ... }
    fn html_span(&mut self, ob: &mut Buffer, text: &Buffer) -> bool { ... }
    fn entity(&mut self, ob: &mut Buffer, text: &Buffer) { ... }
    fn normal_text(&mut self, ob: &mut Buffer, text: &Buffer) { ... }
    fn before_render(&mut self, output: &mut Buffer, inline_render: bool) { ... }
    fn after_render(&mut self, output: &mut Buffer, inline_render: bool) { ... }
}

Associated Types

type Base: Render

Required Methods

fn base(&mut self) -> &mut Self::Base

Provided Methods

fn code_block(&mut self, output: &mut Buffer, code: &Buffer, lang: &Buffer)

fn quote_block(&mut self, ob: &mut Buffer, content: &Buffer)

fn header(&mut self, ob: &mut Buffer, content: &Buffer, level: i32)

fn horizontal_rule(&mut self, ob: &mut Buffer)

fn list(&mut self, ob: &mut Buffer, content: &Buffer, flags: List)

fn list_item(&mut self, ob: &mut Buffer, content: &Buffer, flags: List)

fn paragraph(&mut self, ob: &mut Buffer, content: &Buffer)

fn table(&mut self, ob: &mut Buffer, content: &Buffer)

fn table_header(&mut self, ob: &mut Buffer, content: &Buffer)

fn table_body(&mut self, ob: &mut Buffer, content: &Buffer)

fn table_row(&mut self, ob: &mut Buffer, content: &Buffer)

fn table_cell(&mut self, ob: &mut Buffer, content: &Buffer, flags: Table)

fn footnotes(&mut self, ob: &mut Buffer, content: &Buffer)

fn footnote_definition(&mut self, ob: &mut Buffer, content: &Buffer, num: u32)

fn html_block(&mut self, ob: &mut Buffer, text: &Buffer)

fn code_span(&mut self, ob: &mut Buffer, text: &Buffer) -> bool

fn double_emphasis(&mut self, ob: &mut Buffer, content: &Buffer) -> bool

fn emphasis(&mut self, ob: &mut Buffer, content: &Buffer) -> bool

fn underline(&mut self, ob: &mut Buffer, content: &Buffer) -> bool

fn highlight(&mut self, ob: &mut Buffer, content: &Buffer) -> bool

fn quote_span(&mut self, ob: &mut Buffer, content: &Buffer) -> bool

fn image(&mut self, ob: &mut Buffer, link: &Buffer, title: &Buffer, alt: &Buffer) -> bool

fn line_break(&mut self, ob: &mut Buffer) -> bool

fn triple_emphasis(&mut self, ob: &mut Buffer, content: &Buffer) -> bool

fn strikethrough(&mut self, ob: &mut Buffer, content: &Buffer) -> bool

fn superscript(&mut self, ob: &mut Buffer, content: &Buffer) -> bool

fn footnote_reference(&mut self, ob: &mut Buffer, num: u32) -> bool

fn math(&mut self, ob: &mut Buffer, text: &Buffer, displaymode: i32) -> bool

fn html_span(&mut self, ob: &mut Buffer, text: &Buffer) -> bool

fn entity(&mut self, ob: &mut Buffer, text: &Buffer)

fn normal_text(&mut self, ob: &mut Buffer, text: &Buffer)

fn before_render(&mut self, output: &mut Buffer, inline_render: bool)

fn after_render(&mut self, output: &mut Buffer, inline_render: bool)

Implementors