pub struct Column {
pub header: String,
pub width: f64,
pub default_style: Option<CellStyle>,
pub auto_resize: bool,
pub min_width: Option<f64>,
pub max_width: Option<f64>,
}Expand description
Column definition for advanced tables
Fields§
§header: StringColumn header text
width: f64Column width in points
default_style: Option<CellStyle>Default style for cells in this column
auto_resize: boolWhether this column can resize automatically
min_width: Option<f64>Minimum width for auto-resizing columns
max_width: Option<f64>Maximum width for auto-resizing columns
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 UnsafeUnpin 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