Struct prettytable::format::consts::FORMAT_NO_LINESEP []

pub struct FORMAT_NO_LINESEP {
    // some fields omitted
}

With no line or title separator

Example

+----+----+
| T1 | T2 |
| a  | b  |
| c  | d  |
+----+----+

Methods from __Deref<Target=TableFormat>

fn get_padding(&self) -> (usize, usize)

Return a tuple with left and right padding

fn padding(&mut self, left: usize, right: usize)

Set left and right padding

fn column_separator(&mut self, separator: char)

Set the character used for internal column separation

fn borders(&mut self, border: char)

Set the character used for table borders

fn separator(&mut self, what: LinePosition, separator: LineSeparator)

Set a line separator

fn separators(&mut self, what: &[LinePosition], separator: LineSeparator)

Set format for multiple kind of line separator

fn print_line_separator<T: Write + ?Sized>(&self, out: &mut T, col_width: &[usize], pos: LinePosition) -> Result<()Error>

Print a full line separator to out. col_width is a slice containing the width of each column

fn get_column_separator(&self, pos: ColumnPosition) -> Option<char>

fn print_column_separator<T: Write + ?Sized>(&self, out: &mut T, pos: ColumnPosition) -> Result<()Error>

Print a column separator or a table border

Trait Implementations

impl __Deref for FORMAT_NO_LINESEP

type Target = TableFormat

The resulting type after dereferencing

fn deref<'a>(&'a self) -> &'a TableFormat

The method called to dereference a value