pub enum TableResult<const N: usize> {
Table(Table<N>),
TableError(TableError),
}Variants§
Table(Table<N>)
TableError(TableError)
Implementations§
Source§impl<const N: usize> TableResult<N>
impl<const N: usize> TableResult<N>
Sourcepub fn title(self, title: ColoredString) -> Self
pub fn title(self, title: ColoredString) -> Self
Example: let Table::new().title(“My table”.red())