pub struct TableColumn {
pub key: String,
pub label: String,
pub width: Option<f32>,
pub editable: bool,
}Expand description
A table column.
Fields§
§key: StringNames the column in edit events.
label: StringThe header (the key if empty).
width: Option<f32>Points; columns without one share the width left.
editable: boolDouble-clicking a cell edits it and sends an edit event.
Implementations§
Trait Implementations§
Source§impl Clone for TableColumn
impl Clone for TableColumn
Source§impl Debug for TableColumn
impl Debug for TableColumn
Source§impl<'de> Deserialize<'de> for TableColumn
impl<'de> Deserialize<'de> for TableColumn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableColumn
impl PartialEq for TableColumn
Source§impl Serialize for TableColumn
impl Serialize for TableColumn
impl StructuralPartialEq for TableColumn
Auto Trait Implementations§
impl Forget for TableColumn
impl Freeze for TableColumn
impl Move 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