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