Struct cli_table::CellStruct [−][src]
Concrete cell of a table
Implementations
impl CellStruct
[src]
pub fn justify(self, justify: Justify) -> CellStruct
[src]
Used to horizontally justify contents of a cell
pub fn align(self, align: Align) -> CellStruct
[src]
Used to vertically align the contents of a cell
pub fn padding(self, padding: Padding) -> CellStruct
[src]
Used to add padding to the contents of a cell
Trait Implementations
impl Cell for CellStruct
[src]
fn cell(self) -> 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]
Auto Trait Implementations
impl RefUnwindSafe for CellStruct
impl Send for CellStruct
impl Sync for CellStruct
impl Unpin for CellStruct
impl UnwindSafe for CellStruct
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,