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;
}
Expand description

Trait for modifying style of table and cells

Required Methods

Used to set foreground color

Used to set background color

Used to set contents to be bold

Used to set contents to be underlined

Used to set contents to be italic

Used to set high intensity version of a color specified

Used to set contents to be dimmed

Implementors