pub struct ColumnData {
pub title: String,
pub width: Option<f32>,
pub expand: bool,
pub sortable: bool,
}Expand description
A column of a Table, as backends get it.
Fields§
§title: StringIts header’s title.
width: Option<f32>How wide it starts, in points; None: the platform’s default. The
user can resize it, as the platform lets them.
expand: boolIt takes the room the table has past its columns’ widths, shared with the other columns that do, as the platform shares it.
sortable: boolIts header sorts the table by it when pressed.
Trait Implementations§
Source§impl Clone for ColumnData
impl Clone for ColumnData
Source§impl Debug for ColumnData
impl Debug for ColumnData
Source§impl PartialEq for ColumnData
impl PartialEq for ColumnData
impl StructuralPartialEq for ColumnData
Auto Trait Implementations§
impl Freeze for ColumnData
impl RefUnwindSafe for ColumnData
impl Send for ColumnData
impl Sync for ColumnData
impl Unpin for ColumnData
impl UnsafeUnpin for ColumnData
impl UnwindSafe for ColumnData
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