Struct cli_table::TableStruct [−][src]
Struct for building a table on command line
Implementations
impl TableStruct[src]
pub fn title<T: Row>(self, title: T) -> Self[src]
Used to add a title row of a table
pub fn border(self, border: Border) -> Self[src]
Used to set border of a table
pub fn separator(self, separator: Separator) -> Self[src]
Used to set column/row separators of a table
pub fn color_choice(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(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]
impl Table for TableStruct[src]
fn table(self) -> TableStruct[src]
impl<R: Read> TryFrom<&'_ mut Reader<R>> for TableStruct[src]
Auto Trait Implementations
impl RefUnwindSafe for TableStruct
impl Send for TableStruct
impl Sync for TableStruct
impl Unpin for TableStruct
impl UnwindSafe for TableStruct
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>,