pub struct Column { /* private fields */ }Expand description
A single column definition. Mirrors the used subset of rich.table.Column.
A column of a Table, as upstream’s rich.table.Column. Read it with
Table::columns; columns are added with the table’s add_column*
methods.
Implementations§
Source§impl Column
Read access to what a column holds: upstream’s public Column fields.
Not upstream as methods; they change nothing.
impl Column
Read access to what a column holds: upstream’s public Column fields.
Not upstream as methods; they change nothing.
The footer cell (upstream Column.footer), shown with
Table::show_footer.
Sourcepub fn justify(&self) -> Justify
pub fn justify(&self) -> Justify
The justification of the column’s cells (upstream Column.justify).
Sourcepub fn header_style(&self) -> Option<&Style>
pub fn header_style(&self) -> Option<&Style>
The column’s header cell style, over the table’s header_style
(upstream Column.header_style).
The column’s footer cell style, over the table’s footer_style
(upstream Column.footer_style).
Auto Trait Implementations§
impl !RefUnwindSafe for Column
impl !UnwindSafe for Column
impl Freeze for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin 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