Trait IntoRow

Source
pub trait IntoRow {
    // Required methods
    fn headers(&self) -> Row<'_>;
    fn into_row(&self) -> Row<'_>;
}
Expand description

A trait for types that know how to turn themselves into a table row.

Note that the tuple implementations of these methods always copy strings.

Required Methods§

Source

fn headers(&self) -> Row<'_>

Returns a set of cells that can be used as headers for the cells of data of this type.

Source

fn into_row(&self) -> Row<'_>

Returns the row.

Implementations on Foreign Types§

Source§

impl<D0, D1, D2, D3, D4, D5, D6, D7, D8, D9> IntoRow for (D0, D1, D2, D3, D4, D5, D6, D7, D8, D9)
where D0: Display, D1: Display, D2: Display, D3: Display, D4: Display, D5: Display, D6: Display, D7: Display, D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D1, D2, D3, D4, D5, D6, D7, D8, D9> IntoRow for (D1, D2, D3, D4, D5, D6, D7, D8, D9)
where D1: Display, D2: Display, D3: Display, D4: Display, D5: Display, D6: Display, D7: Display, D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D2, D3, D4, D5, D6, D7, D8, D9> IntoRow for (D2, D3, D4, D5, D6, D7, D8, D9)
where D2: Display, D3: Display, D4: Display, D5: Display, D6: Display, D7: Display, D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D3, D4, D5, D6, D7, D8, D9> IntoRow for (D3, D4, D5, D6, D7, D8, D9)
where D3: Display, D4: Display, D5: Display, D6: Display, D7: Display, D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D4, D5, D6, D7, D8, D9> IntoRow for (D4, D5, D6, D7, D8, D9)
where D4: Display, D5: Display, D6: Display, D7: Display, D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D5, D6, D7, D8, D9> IntoRow for (D5, D6, D7, D8, D9)
where D5: Display, D6: Display, D7: Display, D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D6, D7, D8, D9> IntoRow for (D6, D7, D8, D9)
where D6: Display, D7: Display, D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D7, D8, D9> IntoRow for (D7, D8, D9)
where D7: Display, D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D8, D9> IntoRow for (D8, D9)
where D8: Display, D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Source§

impl<D9> IntoRow for (D9,)
where D9: Display,

Source§

fn headers(&self) -> Row<'_>

Source§

fn into_row(&self) -> Row<'_>

Implementors§