Struct prettytable::format::LineSeparator
[−]
[src]
pub struct LineSeparator {
// some fields omitted
}Contains the character used for printing a line separator
Methods
impl LineSeparator[src]
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 Copy for LineSeparator[src]
impl Debug for LineSeparator[src]
impl Clone for LineSeparator[src]
fn clone(&self) -> LineSeparator
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more