[][src]Struct cli_table::format::CellFormatBuilder

pub struct CellFormatBuilder(_);

Builder for CellFormat

Methods

impl CellFormatBuilder[src]

pub fn justify(self, justify: Justify) -> Self[src]

Justify contents of a Cell

pub fn align(self, align: Align) -> Self[src]

Align contents of a Cell

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

Set foreground color of a Cell

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

Set background color of a Cell

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

Set contents of Cell to be bold

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

Set contents of Cell to be underlined

pub fn build(self) -> CellFormat[src]

Build CellFormat

Trait Implementations

impl Default for CellFormatBuilder[src]

impl Debug for CellFormatBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]