[−][src]Struct cli_table::format::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]
fn default() -> CellFormatBuilder
[src]
impl Debug for CellFormatBuilder
[src]
Auto Trait Implementations
impl Send for CellFormatBuilder
impl Sync for CellFormatBuilder
impl Unpin for CellFormatBuilder
impl UnwindSafe for CellFormatBuilder
impl RefUnwindSafe for CellFormatBuilder
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,