[][src]Trait cli_table::Style

pub trait Style {
    pub fn foreground_color(self, foreground_color: Option<Color>) -> Self;
pub fn background_color(self, background_color: Option<Color>) -> Self;
pub fn bold(self, bold: bool) -> Self;
pub fn underline(self, underline: bool) -> Self;
pub fn italic(self, italic: bool) -> Self;
pub fn intense(self, intense: bool) -> Self;
pub fn dimmed(self, dimmed: bool) -> Self; }

Trait for modifying style of table and cells

Required methods

pub fn foreground_color(self, foreground_color: Option<Color>) -> Self[src]

Used to set foreground color

pub fn background_color(self, background_color: Option<Color>) -> Self[src]

Used to set background color

pub fn bold(self, bold: bool) -> Self[src]

Used to set contents to be bold

pub fn underline(self, underline: bool) -> Self[src]

Used to set contents to be underlined

pub fn italic(self, italic: bool) -> Self[src]

Used to set contents to be italic

pub fn intense(self, intense: bool) -> Self[src]

Used to set high intensity version of a color specified

pub fn dimmed(self, dimmed: bool) -> Self[src]

Used to set contents to be dimmed

Loading content...

Implementors

impl Style for CellStruct[src]

impl Style for TableStruct[src]

Loading content...