Trait somedoc::model::visitor::TableVisitor [−][src]
The visitor trait for all Table
instances.
Provided methods
fn start_table(
&self,
caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
[src]
&self,
caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
Called at the start of each Table
instance, before any values.
fn start_table_header_row(&self) -> Result<()>
[src]
Called at the start of each Table
's header row, before any cells.
fn table_header_cell(
&self,
column_cell: &Column,
column_idx: usize
) -> Result<()>
[src]
&self,
column_cell: &Column,
column_idx: usize
) -> Result<()>
Visit each Column
instance, with it's position.
fn end_table_header_row(&self) -> Result<()>
[src]
Called at the end of each Table
's header row, after any cells.
fn start_table_row(&self, row: usize) -> Result<()>
[src]
Called at the start of each Table
's body row, before any cells.
fn start_table_cell(
&self,
column_idx: usize,
label: &Option<Label>
) -> Result<()>
[src]
&self,
column_idx: usize,
label: &Option<Label>
) -> Result<()>
Called at the start of each Cell
instance, before any inner content.
fn end_table_cell(&self, column_idx: usize, label: &Option<Label>) -> Result<()>
[src]
Called at the end of each Cell
instance, after any inner content.
fn end_table_row(&self, row: usize) -> Result<()>
[src]
Called at the end of each Table
's body row, after any cells.
fn end_table(
&self,
caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
[src]
&self,
caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
Called at the end of each Table
instance, after any values.
fn inline_visitor(&self) -> Option<&dyn InlineVisitor>
[src]
Return an implementation of the InlineVisitor
trait, if one exists.
Implementors
impl<'a, W: Write> TableVisitor for HtmlWriter<'a, W>
[src]
fn start_table(
&self,
caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
[src]
&self,
caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
fn start_table_header_row(&self) -> Result<()>
[src]
fn table_header_cell(&self, column_cell: &Column, _: usize) -> Result<()>
[src]
fn end_table_header_row(&self) -> Result<()>
[src]
fn start_table_row(&self, _: usize) -> Result<()>
[src]
fn start_table_cell(&self, _: usize, label: &Option<Label>) -> Result<()>
[src]
fn end_table_cell(&self, _: usize, _label: &Option<Label>) -> Result<()>
[src]
fn end_table_row(&self, _: usize) -> Result<()>
[src]
fn end_table(&self, _: &Option<Caption>, _label: &Option<Label>) -> Result<()>
[src]
fn inline_visitor(&self) -> Option<&dyn InlineVisitor>
[src]
impl<'a, W: Write> TableVisitor for LatexWriter<'a, W>
[src]
fn start_table(&self, _: &Option<Caption>, _: &Option<Label>) -> Result<()>
[src]
fn start_table_header_row(&self) -> Result<()>
[src]
fn table_header_cell(&self, column_cell: &Column, _: usize) -> Result<()>
[src]
fn end_table_header_row(&self) -> Result<()>
[src]
fn start_table_row(&self, _: usize) -> Result<()>
[src]
fn start_table_cell(
&self,
column_idx: usize,
label: &Option<Label>
) -> Result<()>
[src]
&self,
column_idx: usize,
label: &Option<Label>
) -> Result<()>
fn end_table_row(&self, _: usize) -> Result<()>
[src]
fn end_table(
&self,
caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
[src]
&self,
caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
fn inline_visitor(&self) -> Option<&dyn InlineVisitor>
[src]
impl<'a, W: Write> TableVisitor for MarkdownWriter<'a, W>
[src]
fn start_table(
&self,
_caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
[src]
&self,
_caption: &Option<Caption>,
label: &Option<Label>
) -> Result<()>
fn start_table_header_row(&self) -> Result<()>
[src]
fn table_header_cell(
&self,
column_cell: &Column,
_column_idx: usize
) -> Result<()>
[src]
&self,
column_cell: &Column,
_column_idx: usize
) -> Result<()>