Struct prettytable::format::LineSeparator
[−]
[src]
pub struct LineSeparator { /* fields omitted */ }
Contains the character used for printing a line separator
Methods
impl LineSeparator
[src]
pub fn new(line: char, junc: char, ljunc: char, rjunc: char) -> LineSeparator
[src]
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
pub fn print<T: Write + ?Sized>(
&self,
out: &mut T,
col_width: &[usize],
colsep: bool,
lborder: bool,
rborder: bool
) -> Result<(), Error>
[src]
&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
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for LineSeparator
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for LineSeparator
[src]
impl Hash for LineSeparator
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for LineSeparator
[src]
fn eq(&self, __arg_0: &LineSeparator) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LineSeparator) -> bool
[src]
This method tests for !=
.