Struct prettytable::format::consts::FORMAT_NO_TITLE
source · pub struct FORMAT_NO_TITLE { /* private fields */ }
Expand description
Similar to FORMAT_DEFAULT
but without special separator after title line
Example
+----+----+
| T1 | T2 |
+----+----+
| a | b |
+----+----+
| c | d |
+----+----+
Methods from Deref<Target = TableFormat>§
sourcepub fn get_padding(&self) -> (usize, usize)
pub fn get_padding(&self) -> (usize, usize)
Return a tuple with left and right padding
sourcepub fn get_indent(&self) -> usize
pub fn get_indent(&self) -> usize
Get global indentation in spaces used when rendering a table
sourcepub fn get_column_separator(&self, pos: ColumnPosition) -> Option<char>
pub fn get_column_separator(&self, pos: ColumnPosition) -> Option<char>
Returns the character used to separate columns.
pos
specify if the separator is left/right final or internal to the table
Trait Implementations§
source§impl Deref for FORMAT_NO_TITLE
impl Deref for FORMAT_NO_TITLE
§type Target = TableFormat
type Target = TableFormat
The resulting type after dereferencing.
source§fn deref(&self) -> &TableFormat
fn deref(&self) -> &TableFormat
Dereferences the value.