pub type RowSlice<'a, 'b> = &'b [TableCell<'a>];Expand description
A row slice reference passed sequentially to callbacks during iteration.
Trait Implementations§
Source§impl RowSliceExt for RowSlice<'_, '_>
impl RowSliceExt for RowSlice<'_, '_>
Source§fn get_primary(&self, col_index: usize) -> Result<&str, TableError>
fn get_primary(&self, col_index: usize) -> Result<&str, TableError>
Extracts the primary text at the specified column index.
Source§fn get_hover(&self, col_index: usize) -> Result<&str, TableError>
fn get_hover(&self, col_index: usize) -> Result<&str, TableError>
Extracts the hover/alternate text at the specified column index.
Source§fn parse_primary<T>(&self, col_index: usize) -> Result<T, TableError>
fn parse_primary<T>(&self, col_index: usize) -> Result<T, TableError>
Parses the primary text at the specified column index into type
T.Source§fn parse_hover<T>(&self, col_index: usize) -> Result<T, TableError>
fn parse_hover<T>(&self, col_index: usize) -> Result<T, TableError>
Parses the hover text at the specified column index into type
T.