[−][src]Struct cli_table::TableStruct
Struct for building a table on command line
Implementations
impl TableStruct
[src]
pub fn title<T: Row>(mut self: Self, title: T) -> Self
[src]
Used to add a title row of a table
pub fn border(mut self: Self, border: Border) -> Self
[src]
Used to set border of a table
pub fn separator(mut self: Self, separator: Separator) -> Self
[src]
Used to set column/row separators of a table
pub fn color_choice(mut self: Self, color_choice: ColorChoice) -> Self
[src]
Used to set the color preferences for printing the table
Trait Implementations
impl Style for TableStruct
[src]
fn foreground_color(mut self: Self, foreground_color: Option<Color>) -> Self
[src]
fn background_color(mut self: Self, background_color: Option<Color>) -> Self
[src]
fn bold(mut self: Self, bold: bool) -> Self
[src]
fn underline(mut self: Self, underline: bool) -> Self
[src]
fn italic(mut self: Self, italic: bool) -> Self
[src]
fn intense(mut self: Self, intense: bool) -> Self
[src]
fn dimmed(mut self: Self, dimmed: bool) -> Self
[src]
impl Table for TableStruct
[src]
fn table(self) -> TableStruct
[src]
Auto Trait Implementations
impl RefUnwindSafe for TableStruct
[src]
impl Send for TableStruct
[src]
impl Sync for TableStruct
[src]
impl Unpin for TableStruct
[src]
impl UnwindSafe for TableStruct
[src]
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>,