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, cross: char) -> LineSeparator
Create a new line separator instance where line is the character used to separate 2 lines
and cross is the one used when column separaors and line separators cross
fn print<T: Write>(&self, out: &mut T, col_width: &[usize]) -> Result<(), Error>
Print a full line separator to out. col_width is a slice containing the width of each column
Trait Implementations
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