Struct prettytable::format::consts::FORMAT_BORDERS_ONLY[][src]

pub struct FORMAT_BORDERS_ONLY { /* fields omitted */ }

Format for a table with only external borders and 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 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

Trait Implementations

impl Deref for FORMAT_BORDERS_ONLY[src]

type Target = TableFormat

The resulting type after dereferencing.

impl LazyStatic for FORMAT_BORDERS_ONLY[src]

Auto Trait Implementations

impl RefUnwindSafe for FORMAT_BORDERS_ONLY

impl Send for FORMAT_BORDERS_ONLY

impl Sync for FORMAT_BORDERS_ONLY

impl Unpin for FORMAT_BORDERS_ONLY

impl UnwindSafe for FORMAT_BORDERS_ONLY

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.