pub struct TableColumn {
pub title: Text,
pub width: ColumnWidth,
pub align: TextAlign,
}Expand description
Column definition for a Table.
Fields§
§title: TextHeader text displayed in the column header row.
width: ColumnWidthWidth constraint for this column.
align: TextAlignText alignment within the column. Default: TextAlign::Left.
Auto Trait Implementations§
impl Freeze for TableColumn
impl RefUnwindSafe for TableColumn
impl Send for TableColumn
impl Sync for TableColumn
impl Unpin for TableColumn
impl UnsafeUnpin for TableColumn
impl UnwindSafe for TableColumn
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