Struct cli_table::TableStruct[][src]

pub struct TableStruct { /* fields omitted */ }

Struct for building a table on command line

Implementations

impl TableStruct[src]

pub fn title<T: Row>(self, title: T) -> Self[src]

Used to add a title row of a table

pub fn border(self, border: Border) -> Self[src]

Used to set border of a table

pub fn separator(self, separator: Separator) -> Self[src]

Used to set column/row separators of a table

pub fn color_choice(self, color_choice: ColorChoice) -> Self[src]

Used to set the color preferences for printing the table

Trait Implementations

impl Style for TableStruct[src]

impl Table for TableStruct[src]

impl<R: Read> TryFrom<&'_ mut Reader<R>> for TableStruct[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

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.