Struct prettytable::format::consts::FORMAT_NO_BORDER_LINE_SEPARATOR [−][src]
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<usize, Error>
[src]
&self,
out: &mut T,
col_width: &[usize],
pos: LinePosition
) -> Result<usize, Error>
👎 Deprecated since 0.8.0:
Will become private in future release. See issue #87
Print a full line separator to out
. col_width
is a slice containing the width of each column.
Returns the number of printed lines
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>
👎 Deprecated since 0.8.0:
Will become private in future release. See issue #87
Print a column separator or a table border
Trait Implementations
impl Deref for FORMAT_NO_BORDER_LINE_SEPARATOR
[src]
type Target = TableFormat
The resulting type after dereferencing.
fn deref(&self) -> &TableFormat
[src]
impl LazyStatic for FORMAT_NO_BORDER_LINE_SEPARATOR
[src]
fn initialize(lazy: &Self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for FORMAT_NO_BORDER_LINE_SEPARATOR
impl Send for FORMAT_NO_BORDER_LINE_SEPARATOR
impl Sync for FORMAT_NO_BORDER_LINE_SEPARATOR
impl Unpin for FORMAT_NO_BORDER_LINE_SEPARATOR
impl UnwindSafe for FORMAT_NO_BORDER_LINE_SEPARATOR
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,