pub struct Table {
pub rows: Vec<TableRow>,
pub alignments: Vec<Alignment>,
}
Expand description
A table is a collection of rows and columns with optional alignment. The first row is the header row.
Fields§
§rows: Vec<TableRow>
Each row is a vector of cells; header row is row 0.
alignments: Vec<Alignment>
Column alignment; alignments.len() == column_count
.
Trait Implementations§
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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