Trait cli_table::Style [−][src]
pub trait Style { fn foreground_color(self, foreground_color: Option<Color>) -> Self; fn background_color(self, background_color: Option<Color>) -> Self; fn bold(self, bold: bool) -> Self; fn underline(self, underline: bool) -> Self; fn italic(self, italic: bool) -> Self; fn intense(self, intense: bool) -> Self; fn dimmed(self, dimmed: bool) -> Self; }
Trait for modifying style of table and cells
Required methods
fn foreground_color(self, foreground_color: Option<Color>) -> Self
[src]
Used to set foreground color
fn background_color(self, background_color: Option<Color>) -> Self
[src]
Used to set background color
fn bold(self, bold: bool) -> Self
[src]
Used to set contents to be bold
fn underline(self, underline: bool) -> Self
[src]
Used to set contents to be underlined
fn italic(self, italic: bool) -> Self
[src]
Used to set contents to be italic
fn intense(self, intense: bool) -> Self
[src]
Used to set high intensity version of a color specified
fn dimmed(self, dimmed: bool) -> Self
[src]
Used to set contents to be dimmed
Implementors
impl Style for CellStruct
[src]
impl Style for CellStruct
[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 Style for TableStruct
[src]
impl Style for TableStruct
[src]