Struct prettytable::format::LineSeparator [] [src]

pub struct LineSeparator {
    // some fields omitted
}

Contains the character used for printing a line separator

Methods

impl LineSeparator

fn new(line: char, junc: char, ljunc: char, rjunc: char) -> LineSeparator

Create a new line separator instance where line is the character used to separate 2 lines and junc is the one used for junctions between columns and lines

fn print<T: Write + ?Sized>(&self, out: &mut T, col_width: &[usize], colsep: bool, lborder: bool, rborder: bool) -> Result<(), Error>

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

Trait Implementations

impl Default for LineSeparator

fn default() -> Self

Derived Implementations

impl Copy for LineSeparator

impl Debug for LineSeparator

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for LineSeparator

fn clone(&self) -> LineSeparator

1.0.0fn clone_from(&mut self, source: &Self)