pub enum TablePartial<const N: usize> {
Table(Table<N>),
TableError(TableError),
}Variants§
Table(Table<N>)
TableError(TableError)
Implementations§
Source§impl<const N: usize> TablePartial<N>
impl<const N: usize> TablePartial<N>
Sourcepub fn title(self, title: ColoredString) -> Self
pub fn title(self, title: ColoredString) -> Self
Example: let Table::<3>::new().title(“My table”.red())
pub fn headers(self, headers: [ColoredString; N]) -> TableResult<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for TablePartial<N>
impl<const N: usize> !RefUnwindSafe for TablePartial<N>
impl<const N: usize> Send for TablePartial<N>
impl<const N: usize> Sync for TablePartial<N>
impl<const N: usize> Unpin for TablePartial<N>
impl<const N: usize> !UnwindSafe for TablePartial<N>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more