Trait IntoRecords

Source
pub trait IntoRecords {
    type Cell;
    type IterColumns: IntoIterator<Item = Self::Cell>;
    type IterRows: IntoIterator<Item = Self::IterColumns>;

    // Required method
    fn iter_rows(self) -> Self::IterRows;
}
Expand description

The representation of data, rows and columns of a grid.

Required Associated Types§

Source

type Cell

A string representation of a grid cell.

Source

type IterColumns: IntoIterator<Item = Self::Cell>

Cell iterator inside a row.

Source

type IterRows: IntoIterator<Item = Self::IterColumns>

Rows iterator.

Required Methods§

Source

fn iter_rows(self) -> Self::IterRows

Returns an iterator over rows.

Implementors§