Struct prettytable::format::LineSeparator
[−]
[src]
pub struct LineSeparator { /* 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>
&self,
out: &mut T,
col_width: &[usize],
colsep: bool,
lborder: bool,
rborder: bool
) -> Result<(), Error>
Deprecated since 0.6.7
: function will be removed. See issue #57.
Print a full line separator to out
. col_width
is a slice containing the width of each column
Trait Implementations
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