pub struct TextTable { /* private fields */ }Expand description
A direct-text Table builder that normalizes every row into owned strings.
Implementations§
Source§impl TextTable
impl TextTable
Includes or excludes the complete table.
Sourcepub fn column_count(&self) -> usize
pub fn column_count(&self) -> usize
Returns the widest owned row, including headers.
Methods from Deref<Target = Table<TextTableRow>>§
Returns whether the table is excluded.
Sourcepub fn column_count(&self) -> usize
pub fn column_count(&self) -> usize
Returns the column count from the widest canonical header or body row.
This formats every owned row, including rows omitted by the offset. Composition formats only visible rows, so an omitted wide row does not add columns to the composed view.
Trait Implementations§
impl Eq for TextTable
impl StructuralPartialEq for TextTable
Auto Trait Implementations§
impl Freeze for TextTable
impl RefUnwindSafe for TextTable
impl Send for TextTable
impl Sync for TextTable
impl Unpin for TextTable
impl UnsafeUnpin for TextTable
impl UnwindSafe for TextTable
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