Struct prettytable::format::consts::FORMAT_NO_LINESEP_WITH_TITLE
[−]
pub struct FORMAT_NO_LINESEP_WITH_TITLE { /* fields omitted */ }
With no line separator, but with title separator
Example
+----+----+
| T1 | T2 |
+----+----+
| a | b |
| c | d |
+----+----+
Methods from __Deref<Target = TableFormat>
pub fn get_padding(&self) -> (usize, usize)
[src]
Return a tuple with left and right padding
pub fn get_indent(&self) -> usize
[src]
Get global indentation in spaces used when rendering a table
pub fn print_line_separator<T: Write + ?Sized>(
&self,
out: &mut T,
col_width: &[usize],
pos: LinePosition
) -> Result<(), Error>
[src]
&self,
out: &mut T,
col_width: &[usize],
pos: LinePosition
) -> Result<(), Error>
Print a full line separator to out
. col_width
is a slice containing the width of each column
pub fn get_column_separator(&self, pos: ColumnPosition) -> Option<char>
[src]
Returns the character used to separate columns.
pos
specify if the separator is left/right final or internal to the table
pub fn print_column_separator<T: Write + ?Sized>(
&self,
out: &mut T,
pos: ColumnPosition
) -> Result<(), Error>
[src]
&self,
out: &mut T,
pos: ColumnPosition
) -> Result<(), Error>
Print a column separator or a table border
Trait Implementations
impl __Deref for FORMAT_NO_LINESEP_WITH_TITLE
type Target = TableFormat
The resulting type after dereferencing.
fn deref(&self) -> &TableFormat
Dereferences the value.