Skip to main content

Exporter

Trait Exporter 

Source
pub trait Exporter<R: GridRow>:
    Send
    + Sync
    + 'static {
    // Required method
    fn export(
        &self,
        table: &ExportTable<'_, R>,
        cells: &CellExport<R>,
        out: &mut String,
    );
}
Expand description

Turns an export table into text for the clipboard, or for a file with TextFile.

Called once per export, in the background.

Required Methods§

Source

fn export( &self, table: &ExportTable<'_, R>, cells: &CellExport<R>, out: &mut String, )

Appends the text of table to out, writing each cell with cells.

Implementors§