Skip to main content

CellDataProvider

Trait CellDataProvider 

Source
pub trait CellDataProvider {
    // Required methods
    fn get_cell(&self, sheet: &str, col: u32, row: u32) -> CellValue;
    fn current_sheet(&self) -> &str;
}
Expand description

Provides cell data for formula evaluation.

Required Methods§

Source

fn get_cell(&self, sheet: &str, col: u32, row: u32) -> CellValue

Return the cell value at the given (1-based) column and row on sheet.

Source

fn current_sheet(&self) -> &str

Return the name of the sheet that owns the formula being evaluated.

Implementors§