Skip to main content

CellExporter

Trait CellExporter 

Source
pub trait CellExporter<R: GridRow>:
    Send
    + Sync
    + 'static {
    // Required method
    fn write_cell(&self, cell: &ExportCell<'_, R>, out: &mut String);
}
Expand description

Writes the text of one exported cell.

Called for every exported cell, in the background: it must not lock, and it should not allocate. Implementations append to out and never change what is already there; quoting is the Exporter’s job.

Required Methods§

Source

fn write_cell(&self, cell: &ExportCell<'_, R>, out: &mut String)

Appends the text of cell to out.

Implementors§