[][src]Trait comfy_table::ToCells

pub trait ToCells {
    pub fn to_cells(self) -> Vec<Cell>;
}

Allow the conversion of a type to a vector of cells.

By default this is implemented for all types implementing IntoIterator where the iterated Item type implements ToString.
E.g. a Vec<i32> works.

Required methods

pub fn to_cells(self) -> Vec<Cell>[src]

Loading content...

Implementors

impl<T: IntoIterator> ToCells for T where
    T::Item: ToCell
[src]

Loading content...