[][src]Function text_tables::render

pub fn render<W, T, R, C>(writer: &mut W, data: T) -> Result<()> where
    W: Write,
    T: AsRef<[R]>,
    R: AsRef<[C]>,
    C: Display

Render the table to a writer

Note that there are a lot of write calls, use a BufferedWriter if your writer is I/O for better performance.

Panics

Will panic if all rows are not the same length