pub struct TableColumn {
pub title: String,
pub width: u16,
pub align: TextAlign,
}Expand description
Column definition for a Table.
Fields§
§title: StringHeader text displayed in the column header row.
width: u16Fixed width in character cells.
align: TextAlignText alignment within the column. Default: TextAlign::Left.
Trait Implementations§
Source§impl Default for TableColumn
impl Default for TableColumn
Source§fn default() -> TableColumn
fn default() -> TableColumn
Returns the “default value” for a type. Read more
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