Struct cli_table::CellStruct
source · [−]pub struct CellStruct { /* private fields */ }
Expand description
Concrete cell of a table
Implementations
sourceimpl CellStruct
impl CellStruct
sourcepub fn justify(self, justify: Justify) -> CellStruct
pub fn justify(self, justify: Justify) -> CellStruct
Used to horizontally justify contents of a cell
sourcepub fn align(self, align: Align) -> CellStruct
pub fn align(self, align: Align) -> CellStruct
Used to vertically align the contents of a cell
sourcepub fn padding(self, padding: Padding) -> CellStruct
pub fn padding(self, padding: Padding) -> CellStruct
Used to add padding to the contents of a cell
Trait Implementations
sourceimpl Cell for CellStruct
impl Cell for CellStruct
sourcefn cell(self) -> CellStruct
fn cell(self) -> CellStruct
Converts raw type to cell of a table
sourceimpl Style for CellStruct
impl Style for CellStruct
sourcefn foreground_color(self, foreground_color: Option<Color>) -> Self
fn foreground_color(self, foreground_color: Option<Color>) -> Self
Used to set foreground color
sourcefn background_color(self, background_color: Option<Color>) -> Self
fn background_color(self, background_color: Option<Color>) -> Self
Used to set background color
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more