pub struct Column {
pub header: String,
pub width: u16,
pub alignment: Alignment,
}Expand description
A column definition for a DataTable.
Fields§
§header: StringColumn header text.
width: u16Column width in characters.
alignment: AlignmentText alignment within the column.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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