Struct cli_table::TableStruct [−][src]
pub struct TableStruct { /* fields omitted */ }
Struct for building a table on command line
Implementations
impl TableStruct
[src]
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 Style for TableStruct
[src]fn foreground_color(self, foreground_color: Option<Color>) -> Self
[src]
fn background_color(self, background_color: Option<Color>) -> Self
[src]
fn bold(self, bold: bool) -> Self
[src]
fn underline(self, underline: bool) -> Self
[src]
fn italic(self, italic: bool) -> Self
[src]
fn intense(self, intense: bool) -> Self
[src]
fn dimmed(self, dimmed: bool) -> Self
[src]
impl Table for TableStruct
[src]
impl Table for TableStruct
[src]fn table(self) -> TableStruct
[src]
Auto Trait Implementations
impl RefUnwindSafe for TableStruct
impl RefUnwindSafe for TableStruct
impl Send for TableStruct
impl Send for TableStruct
impl Sync for TableStruct
impl Sync for TableStruct
impl Unpin for TableStruct
impl Unpin for TableStruct
impl UnwindSafe for TableStruct
impl UnwindSafe for TableStruct