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§

Source§

impl<I> IntoRecords for BufRecords<I, <I::Item as IntoIterator>::Item>
where I: Iterator, I::Item: IntoIterator,

Source§

impl<I> IntoRecords for LimitColumns<I>
where I: IntoRecords,

Source§

impl<I> IntoRecords for LimitRows<I>
where I: IntoRecords,

Source§

impl<I> IntoRecords for IterRecords<I>
where I: IntoRecords,

Source§

impl<I, D> IntoRecords for TruncateContent<I, D>
where I: IntoRecords, I::Cell: AsRef<str>, D: Clone + Dimension,

Source§

impl<T> IntoRecords for T