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